[Csnd] New release of csound-extended based on AudioWorklet

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] New release of csound-extended based on AudioWorklet

Michael Gogins-2
This can be downloaded from
https://github.com/gogins/csound-extended/releases/tag/v0.1.2-beta.
See the release notes there for more information.

The major feature here is a new WebAssembly module for Csound, based
on the now-standard AudioWorklet interface for creating signal
processing nodes in Web Audio. In the near future, the existing
ScriptProcessorNode, still available in this release, will be
deprecated. This requires Chrome 66 or later (I'm not sure of required
versions of other browsers).

The release includes a few examples, some of which run on-line from
here: https://gogins.github.io/csound-extended/

The AudioWorklet version of Csound does not run any faster than the
existing ScriptProcessorNode version, or for that matter faster than
csound.node, but it does seem to be considerably less subject to
dropouts, probably because Csound runs in a separate audio rendering
thread that communicates with the user interface thread only
asynchronously.

In this release, the Csound WebAssembly code and the CMask WebAssembly
have been 'modularized,' which means that they are created in separate
namespaces, and therefore can be loaded into the same Web page at the
same time. The cmask.html demo shows this in action.

I believe that in the future, if the gods are kind, many music
applications and libraries, including algorithmic composition software
like OpenMusic and notation software like Finale, may be usable in
some form as WebAssembly modules. When that happens, it will be
possible to create very interesting "mash-ups" combining disparate
music software, using JavaScript as a kind of universal glue.

Regards,
Mike



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

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] New release of csound-extended based on AudioWorklet

Tarmo Johannes-3
Hi,

I did not try the webassmbly version yet but just to let know -  I used the
libraries from CsoundApplication (CsoundForAndroid 6.11) to build another app
and it worked fine.

Thanks!
tarmo

On esmaspäev, 30. aprill 2018 5:49.17 EEST you wrote:

> This can be downloaded from
> https://github.com/gogins/csound-extended/releases/tag/v0.1.2-beta.
> See the release notes there for more information.
>
> The major feature here is a new WebAssembly module for Csound, based
> on the now-standard AudioWorklet interface for creating signal
> processing nodes in Web Audio. In the near future, the existing
> ScriptProcessorNode, still available in this release, will be
> deprecated. This requires Chrome 66 or later (I'm not sure of required
> versions of other browsers).
>
> The release includes a few examples, some of which run on-line from
> here: https://gogins.github.io/csound-extended/
>
> The AudioWorklet version of Csound does not run any faster than the
> existing ScriptProcessorNode version, or for that matter faster than
> csound.node, but it does seem to be considerably less subject to
> dropouts, probably because Csound runs in a separate audio rendering
> thread that communicates with the user interface thread only
> asynchronously.
>
> In this release, the Csound WebAssembly code and the CMask WebAssembly
> have been 'modularized,' which means that they are created in separate
> namespaces, and therefore can be loaded into the same Web page at the
> same time. The cmask.html demo shows this in action.
>
> I believe that in the future, if the gods are kind, many music
> applications and libraries, including algorithmic composition software
> like OpenMusic and notation software like Finale, may be usable in
> some form as WebAssembly modules. When that happens, it will be
> possible to create very interesting "mash-ups" combining disparate
> music software, using JavaScript as a kind of universal glue.
>
> Regards,
> Mike
>
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> Csound mailing list
> [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] New release of csound-extended based on AudioWorklet

Michael Gogins-2
That's good to know, thanks!

Mike

On Tue, May 1, 2018, 02:19 Tarmo Johannes <[hidden email]> wrote:
Hi,

I did not try the webassmbly version yet but just to let know -  I used the
libraries from CsoundApplication (CsoundForAndroid 6.11) to build another app
and it worked fine.

Thanks!
tarmo

On esmaspäev, 30. aprill 2018 5:49.17 EEST you wrote:
> This can be downloaded from
> https://github.com/gogins/csound-extended/releases/tag/v0.1.2-beta.
> See the release notes there for more information.
>
> The major feature here is a new WebAssembly module for Csound, based
> on the now-standard AudioWorklet interface for creating signal
> processing nodes in Web Audio. In the near future, the existing
> ScriptProcessorNode, still available in this release, will be
> deprecated. This requires Chrome 66 or later (I'm not sure of required
> versions of other browsers).
>
> The release includes a few examples, some of which run on-line from
> here: https://gogins.github.io/csound-extended/
>
> The AudioWorklet version of Csound does not run any faster than the
> existing ScriptProcessorNode version, or for that matter faster than
> csound.node, but it does seem to be considerably less subject to
> dropouts, probably because Csound runs in a separate audio rendering
> thread that communicates with the user interface thread only
> asynchronously.
>
> In this release, the Csound WebAssembly code and the CMask WebAssembly
> have been 'modularized,' which means that they are created in separate
> namespaces, and therefore can be loaded into the same Web page at the
> same time. The cmask.html demo shows this in action.
>
> I believe that in the future, if the gods are kind, many music
> applications and libraries, including algorithmic composition software
> like OpenMusic and notation software like Finale, may be usable in
> some form as WebAssembly modules. When that happens, it will be
> possible to create very interesting "mash-ups" combining disparate
> music software, using JavaScript as a kind of universal glue.
>
> Regards,
> Mike
>
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> Csound mailing list
> [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here