[Csnd] WebAudio Csound and FF 77
Date | 2020-05-07 15:28 |
From | Steven 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 |
Date | 2020-05-07 20:27 |
From | Michael Gogins |
Subject | Re: [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 GoginsIrreducible 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:
|
Date | 2020-05-07 20:51 |
From | Steven Yi |
Subject | Re: [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:
|
Date | 2020-05-08 00:00 |
From | Michael Gogins |
Subject | Re: [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 GoginsIrreducible 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:
|
Date | 2020-05-14 08:00 |
From | "Dr. Richard Boulanger" |
Subject | Re: [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) ______________________________________________ President of Boulanger Labs - http://boulangerlabs.com Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book ______________________________________________ about: http://www.boulangerlabs.com/#about about: http://www.csounds.com/community/developers/dr-richard-boulanger/ music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/ ______________________________________________ email: rboulanger@berklee.edu facebook: https://www.facebook.com/richard.boulanger.58 On Thu, May 7, 2020 at 3:28 PM Michael Gogins <michael.gogins@gmail.com> wrote:
|
Date | 2020-05-14 08:05 |
From | "Dr. Richard Boulanger" |
Subject | Re: [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:
|