supercolliderjs
supercolliderjs copied to clipboard
Simple Sine from sclang
Hello !
With this simple example, I was waiting hearing a beep, which is not the case. I need to wait before launching the lang ?
const sc = require("supercolliderjs");
sc.server.boot().then((server) => {
sc.lang.boot().then(async function (lang) {
await lang.interpret("play {SinOsc.ar}");
await lang.quit();
});
});
This should work. Check if the processes really did start (use htop or top)
I think you should see some console output. Check the documentation to pass debugging options on booting server and lang.
Check if the server connected to the main audio interface or one you can hear.
I have the same issue, did you solve the problem?