Csound Csound-dev Csound-tekno Search About

[Csnd] WebAudio Csound and FF 77

Date2020-05-07 15:28
FromSteven Yi
Subject[Csnd] WebAudio Csound and FF 77
Hi All,

FYI: Firefox 77 was released and it supports AudioWorklet. In general, this is very welcome news and reports I've seen are that it performs better than the implementation in Chrome.  However, one issue in the release is that module imports were not implemented.  Because of this, Csound-based web projects (including the Web-IDE and live.csound.com) will not function with FF 77.  This affects not only Csound-based projects but other AW projects that use imports (e.g., some Google examples).

On the WebAudio Slack, I relayed the issue and mentioned the break for backwards compatibility. Support for module imports was planned but not implemented for FF 77; the issue will be escalated within Mozilla but there is no schedule yet for release. 

In the interim, I am going to look at refactoring this weekend for WebAudio Csound. I suspect it will take some time to ensure the build works for both AudioWorklet and ScriptProcessorNode (required to support iOS and Safari and pre-77 Firefox).  I will update here when there is an update.

Thanks,
Steven







Csound mailing list Csound@listserv.heanet.ie 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

Date2020-05-07 20:27
FromMichael Gogins
SubjectRe: [Csnd] WebAudio Csound and FF 77
I am happy to say that the build of Csound for WebAssembly that I maintain at https://github.com/gogins/csound-extended/tree/develop/WebAssembly works out of the box on Firefox 77. 

You can see that in Firefox 77 with this example: https://gogins.github.io/csound-extended/cmask.html.

Paul Adenot (https://github.com/padenot), a Firefox audio developer, submitted a pull request to csound-extended with helpful fixes for the audio input and MIDI code. I asked him to ensure that his fixes would also work with the build of Csound for WebAssembly maintained in the canonical Csound repository.

The csound-extended version of Csound for WASM does not use module loading. Possibly when Firefox does module loading, Mozilla will revisit the canonical Cound code for WebAssembly. I suggest you get in touch with Paul Adenot.

One thing I noticed is that Firefox does not support ALSA. PulseAudio is required. I think that's too bad, but it does seem to work well.

Best,
Mike

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


On Thu, May 7, 2020 at 10:28 AM Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

FYI: Firefox 77 was released and it supports AudioWorklet. In general, this is very welcome news and reports I've seen are that it performs better than the implementation in Chrome.  However, one issue in the release is that module imports were not implemented.  Because of this, Csound-based web projects (including the Web-IDE and live.csound.com) will not function with FF 77.  This affects not only Csound-based projects but other AW projects that use imports (e.g., some Google examples).

On the WebAudio Slack, I relayed the issue and mentioned the break for backwards compatibility. Support for module imports was planned but not implemented for FF 77; the issue will be escalated within Mozilla but there is no schedule yet for release. 

In the interim, I am going to look at refactoring this weekend for WebAudio Csound. I suspect it will take some time to ensure the build works for both AudioWorklet and ScriptProcessorNode (required to support iOS and Safari and pre-77 Firefox).  I will update here when there is an update.

Thanks,
Steven







Csound mailing list Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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

Date2020-05-07 20:51
FromSteven Yi
SubjectRe: [Csnd] WebAudio Csound and FF 77
Thanks for pointing out those fixes, they're orthogonal to the primary issue of module import but important fixes nevertheless. I was in discussion with Paul about this this morning whom is escalating the module import issue.



On Thu, May 7, 2020 at 3:28 PM Michael Gogins <michael.gogins@gmail.com> wrote:
I am happy to say that the build of Csound for WebAssembly that I maintain at https://github.com/gogins/csound-extended/tree/develop/WebAssembly works out of the box on Firefox 77. 

You can see that in Firefox 77 with this example: https://gogins.github.io/csound-extended/cmask.html.

Paul Adenot (https://github.com/padenot), a Firefox audio developer, submitted a pull request to csound-extended with helpful fixes for the audio input and MIDI code. I asked him to ensure that his fixes would also work with the build of Csound for WebAssembly maintained in the canonical Csound repository.

The csound-extended version of Csound for WASM does not use module loading. Possibly when Firefox does module loading, Mozilla will revisit the canonical Cound code for WebAssembly. I suggest you get in touch with Paul Adenot.

One thing I noticed is that Firefox does not support ALSA. PulseAudio is required. I think that's too bad, but it does seem to work well.

Best,
Mike

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


On Thu, May 7, 2020 at 10:28 AM Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

FYI: Firefox 77 was released and it supports AudioWorklet. In general, this is very welcome news and reports I've seen are that it performs better than the implementation in Chrome.  However, one issue in the release is that module imports were not implemented.  Because of this, Csound-based web projects (including the Web-IDE and live.csound.com) will not function with FF 77.  This affects not only Csound-based projects but other AW projects that use imports (e.g., some Google examples).

On the WebAudio Slack, I relayed the issue and mentioned the break for backwards compatibility. Support for module imports was planned but not implemented for FF 77; the issue will be escalated within Mozilla but there is no schedule yet for release. 

In the interim, I am going to look at refactoring this weekend for WebAudio Csound. I suspect it will take some time to ensure the build works for both AudioWorklet and ScriptProcessorNode (required to support iOS and Safari and pre-77 Firefox).  I will update here when there is an update.

Thanks,
Steven







Csound mailing list Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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

Date2020-05-08 00:00
FromMichael Gogins
SubjectRe: [Csnd] WebAudio Csound and FF 77
I'm glad you're in touch with Adenot. When the module imports work I will try to get my code to use them as well.

Best,
Mike

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


On Thu, May 7, 2020 at 3:51 PM Steven Yi <stevenyi@gmail.com> wrote:
Thanks for pointing out those fixes, they're orthogonal to the primary issue of module import but important fixes nevertheless. I was in discussion with Paul about this this morning whom is escalating the module import issue.



On Thu, May 7, 2020 at 3:28 PM Michael Gogins <michael.gogins@gmail.com> wrote:
I am happy to say that the build of Csound for WebAssembly that I maintain at https://github.com/gogins/csound-extended/tree/develop/WebAssembly works out of the box on Firefox 77. 

You can see that in Firefox 77 with this example: https://gogins.github.io/csound-extended/cmask.html.

Paul Adenot (https://github.com/padenot), a Firefox audio developer, submitted a pull request to csound-extended with helpful fixes for the audio input and MIDI code. I asked him to ensure that his fixes would also work with the build of Csound for WebAssembly maintained in the canonical Csound repository.

The csound-extended version of Csound for WASM does not use module loading. Possibly when Firefox does module loading, Mozilla will revisit the canonical Cound code for WebAssembly. I suggest you get in touch with Paul Adenot.

One thing I noticed is that Firefox does not support ALSA. PulseAudio is required. I think that's too bad, but it does seem to work well.

Best,
Mike

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


On Thu, May 7, 2020 at 10:28 AM Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

FYI: Firefox 77 was released and it supports AudioWorklet. In general, this is very welcome news and reports I've seen are that it performs better than the implementation in Chrome.  However, one issue in the release is that module imports were not implemented.  Because of this, Csound-based web projects (including the Web-IDE and live.csound.com) will not function with FF 77.  This affects not only Csound-based projects but other AW projects that use imports (e.g., some Google examples).

On the WebAudio Slack, I relayed the issue and mentioned the break for backwards compatibility. Support for module imports was planned but not implemented for FF 77; the issue will be escalated within Mozilla but there is no schedule yet for release. 

In the interim, I am going to look at refactoring this weekend for WebAudio Csound. I suspect it will take some time to ensure the build works for both AudioWorklet and ScriptProcessorNode (required to support iOS and Safari and pre-77 Firefox).  I will update here when there is an update.

Thanks,
Steven







Csound mailing list Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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

Date2020-05-14 08:00
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] WebAudio Csound and FF 77
Michael, FYI... your example just works out of the box in Chrome on a MacBook Pro.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________


On Thu, May 7, 2020 at 3:28 PM Michael Gogins <michael.gogins@gmail.com> wrote:
I am happy to say that the build of Csound for WebAssembly that I maintain at https://github.com/gogins/csound-extended/tree/develop/WebAssembly works out of the box on Firefox 77. 

You can see that in Firefox 77 with this example: https://gogins.github.io/csound-extended/cmask.html.

Paul Adenot (https://github.com/padenot), a Firefox audio developer, submitted a pull request to csound-extended with helpful fixes for the audio input and MIDI code. I asked him to ensure that his fixes would also work with the build of Csound for WebAssembly maintained in the canonical Csound repository.

The csound-extended version of Csound for WASM does not use module loading. Possibly when Firefox does module loading, Mozilla will revisit the canonical Cound code for WebAssembly. I suggest you get in touch with Paul Adenot.

One thing I noticed is that Firefox does not support ALSA. PulseAudio is required. I think that's too bad, but it does seem to work well.

Best,
Mike

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


On Thu, May 7, 2020 at 10:28 AM Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

FYI: Firefox 77 was released and it supports AudioWorklet. In general, this is very welcome news and reports I've seen are that it performs better than the implementation in Chrome.  However, one issue in the release is that module imports were not implemented.  Because of this, Csound-based web projects (including the Web-IDE and live.csound.com) will not function with FF 77.  This affects not only Csound-based projects but other AW projects that use imports (e.g., some Google examples).

On the WebAudio Slack, I relayed the issue and mentioned the break for backwards compatibility. Support for module imports was planned but not implemented for FF 77; the issue will be escalated within Mozilla but there is no schedule yet for release. 

In the interim, I am going to look at refactoring this weekend for WebAudio Csound. I suspect it will take some time to ensure the build works for both AudioWorklet and ScriptProcessorNode (required to support iOS and Safari and pre-77 Firefox).  I will update here when there is an update.

Thanks,
Steven







Csound mailing list Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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

Date2020-05-14 08:05
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] WebAudio Csound and FF 77
And, it works out of the box in Firefox 77.0beta too.  (on MacBook Pro)
- nice




On Thu, May 14, 2020 at 3:00 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Michael, FYI... your example just works out of the box in Chrome on a MacBook Pro.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________


On Thu, May 7, 2020 at 3:28 PM Michael Gogins <michael.gogins@gmail.com> wrote:
I am happy to say that the build of Csound for WebAssembly that I maintain at https://github.com/gogins/csound-extended/tree/develop/WebAssembly works out of the box on Firefox 77. 

You can see that in Firefox 77 with this example: https://gogins.github.io/csound-extended/cmask.html.

Paul Adenot (https://github.com/padenot), a Firefox audio developer, submitted a pull request to csound-extended with helpful fixes for the audio input and MIDI code. I asked him to ensure that his fixes would also work with the build of Csound for WebAssembly maintained in the canonical Csound repository.

The csound-extended version of Csound for WASM does not use module loading. Possibly when Firefox does module loading, Mozilla will revisit the canonical Cound code for WebAssembly. I suggest you get in touch with Paul Adenot.

One thing I noticed is that Firefox does not support ALSA. PulseAudio is required. I think that's too bad, but it does seem to work well.

Best,
Mike

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


On Thu, May 7, 2020 at 10:28 AM Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

FYI: Firefox 77 was released and it supports AudioWorklet. In general, this is very welcome news and reports I've seen are that it performs better than the implementation in Chrome.  However, one issue in the release is that module imports were not implemented.  Because of this, Csound-based web projects (including the Web-IDE and live.csound.com) will not function with FF 77.  This affects not only Csound-based projects but other AW projects that use imports (e.g., some Google examples).

On the WebAudio Slack, I relayed the issue and mentioned the break for backwards compatibility. Support for module imports was planned but not implemented for FF 77; the issue will be escalated within Mozilla but there is no schedule yet for release. 

In the interim, I am going to look at refactoring this weekend for WebAudio Csound. I suspect it will take some time to ensure the build works for both AudioWorklet and ScriptProcessorNode (required to support iOS and Safari and pre-77 Firefox).  I will update here when there is an update.

Thanks,
Steven







Csound mailing list Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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 Csound@listserv.heanet.ie 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