supercolliderjs icon indicating copy to clipboard operation
supercolliderjs copied to clipboard

Simple Sine from sclang

Open simdax opened this issue 3 years ago • 2 comments

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();
  });
});

simdax avatar Jan 02 '22 20:01 simdax

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.

crucialfelix avatar Jan 07 '22 15:01 crucialfelix

I have the same issue, did you solve the problem?

apiel avatar Apr 05 '23 14:04 apiel