Csound Csound-dev Csound-tekno Search About

Re: Node.js to Csound

Date2015-09-10 12:19
Fromtarmo.johannes@otsakool.edu.ee
SubjectRe: Node.js to Csound
Hi,
If node.js and csound runs in a server, what happens then tl the sound? Does
node.js or something in javascript world offers way to sgream it with relatively
low latency?
Thanks!
Tarmo

09.09.2015 13:48 kirjutas kuupƤeval "Michael Gogins" :
      Csound works just fine in NW.js (used to be called Node-webkit),
      which is based on node.js. csound.node is distributed in binary form
      with the Windows installer for Csound, and is easy to set up in
      NW.js.

      NW.js serves Web pages to the user from a local directory. If you
      need Csound to run on a Web server with node.js or io.js, you can
      probably adapt the build procedure that I created for csound.node to
      work for node.js.

      Screen shot of Csound editor and piece running in NW.js is attached.
      Don't re-invent the wheel unless that is the kind of thing that you
      like to do.
Building csound.node on Linux is very easy. Instructions are in the files
related to csound.node examples in the Csound git repository.

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com



------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-10 12:45
FromMichael Gogins
SubjectRe: Node.js to Csound
You could stream it using some library probably about which I
currently know nothing, or you could compile a soundfile on the server
and then post a link to it for playback from a browser.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Sep 10, 2015 at 7:19 AM,   wrote:
> Hi,
> If node.js and csound runs in a server, what happens then tl the sound? Does
> node.js or something in javascript world offers way to sgream it with relatively
> low latency?
> Thanks!
> Tarmo
>
> 09.09.2015 13:48 kirjutas kuupƤeval "Michael Gogins" :
>       Csound works just fine in NW.js (used to be called Node-webkit),
>       which is based on node.js. csound.node is distributed in binary form
>       with the Windows installer for Csound, and is easy to set up in
>       NW.js.
>
>       NW.js serves Web pages to the user from a local directory. If you
>       need Csound to run on a Web server with node.js or io.js, you can
>       probably adapt the build procedure that I created for csound.node to
>       work for node.js.
>
>       Screen shot of Csound editor and piece running in NW.js is attached.
>       Don't re-invent the wheel unless that is the kind of thing that you
>       like to do.
> Building csound.node on Linux is very easy. Instructions are in the files
> related to csound.node examples in the Csound git repository.
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here