Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple Sine from sclang #113

Open
simdax opened this issue Jan 2, 2022 · 2 comments
Open

Simple Sine from sclang #113

simdax opened this issue Jan 2, 2022 · 2 comments

Comments

@simdax
Copy link

simdax commented Jan 2, 2022

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();
  });
});
@crucialfelix
Copy link
Owner

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.

@apiel
Copy link

apiel commented Apr 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants