Skip to content

Simple Sine from sclang #113

@simdax

Description

@simdax

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions