NRT in lang.interpret
See original GitHub issueHello! Are there plans to implement NRT in lang.interpret? I try to do something like this:
const sc = require("supercolliderjs");
sc.lang.boot({debug: true, echo: true, stdin: true, stdout: true}).then(async function (lang) {
try {
const res = await lang.interpret(`
SynthDef(\\pad, {
arg freq = 440, dur = 1, amp = 1, feedback = 1, out = 0;
var sig, local, env;
sig = SinOsc.ar(freq);
env = EnvGen.kr(
Env.new([0, 1, 1, 0], [0, dur / 2, dur + 5], 'sin'),
doneAction: 2
);
sig = sig * env;
Out.ar(out, Pan2.ar(sig, SinOsc.kr([1, 2, 0.2, 0.5].choose, 0, [1, 0.5, 0.7].choose)));
}).store;
a = Scale.minorPentatonic;
p = Pbind(
\\instrument, \\bass,
\\ctranspose, 0,
\\dur, Prand([1,2,4,8], inf),
\\sustain, 1,
\\degree, Pxrand(a.degrees, inf),
\\out, 0
).asScore(duration: 8);
p.recordNRT(
outputFilePath: "~/Desktop/111/test.wav".asAbsolutePath,
headerFormat: "WAV",
duration: 8
);
`);
console.log(res)
} catch (e) {
console.log(e)
}
await lang.quit();
});
But i get test.wav with 44 bytes length. 😦
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
TYPES AND USES OF LANGUAGE TESTS: NORM ...
On an NRT, testers interpret each student's performance in relationship to the performances of the other students in the norm group in relative...
Read more >Uses and interpretations of non-word repetition tasks in ... - NCBI
The non-word repetition task (NRT) has gained wide acceptance in describing language acquisition in both children with normal language development (NL) and ...
Read more >Interpreter Skills Assessment Test - LanguageLine Solutions
Interpreter Readiness Assessment (IRA). Recommended for bilingual employees with documented proficiency in two languages. Also available online (eIRA).
Read more >Norm-Referenced Test Definition
... interpret raw scores, and determine performance levels. ... These tests may be designed to measure oral-language ability, visual-motor ...
Read more >HANDOUT FOR NORM-REFERENCED TEST SCORE ...
Perhaps the best way to learn about norm-referenced test interpretation is to ... Mrs. Smith is concerned because he reached his language milestones...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Catsvilles hey! I setting interval and every second looking at file size with
fs.statSync
if the file size is didn’t changed for 3 times I conclude which rendering is has been done. This tactic good works for me.@VictorKolb Hey, did you had any success with this? I’m looking for a way to fully compose SC’s score with JS