- From: Vilson Vieira <vilson@void.cc>
- Date: Wed, 28 Aug 2013 17:33:01 -0300
- To: Stéphane Letz <letz@grame.fr>
- Cc: Charlie Roberts <bigbadotis@gmail.com>, s p <sebpiq@gmail.com>, public-audio-dev@w3.org
- Message-ID: <CAPzw4PbeDZLvUueTihfO4OmBoJCdh1S1T7zBctNTmAMdChJnYg@mail.gmail.com>
Hi Stéphane, here is a simple oscillator using emscripten: https://gist.github.com/automata/5832104 I am interested about the differences/advantages of using or not the "emscripten step". All the best. 2013/8/28 Stéphane Letz <letz@grame.fr> > Thanks. > > We had contact with Miles Borins about his work porting Faust to run under > asm.js. Miles actually used emscripten starting from the C++ Faust backend. > Our goal would be now to add an asm.js backend directly in Faust, so that > to avoid the "emscripten" step. > > Stephane > > Le 28 août 2013 à 22:14, Charlie Roberts <bigbadotis@gmail.com> a écrit : > > > I made a simple wavetable oscillator that compiles correctly and runs. > It's the asmSine oscillator in the file below if you're interested (not > asmSine2 which was an attempt to integrate it into my library Gibberish). > > > > > https://github.com/charlieroberts/Gibberish/blob/master/scripts/oscillators.js > > > > Assuming you name it asmSine instead of Gibberish.asmSine, use it as > follows: > > > > var buf = new ArrayBuffer(4096); > > var sine = asmSine(window, null, buf); > > sine.init(); > > var sample = sine.gen( 440, .25, 44100 ); > > > > I started from this simpler (non-wavetable) sinewave example, from a > slide Miles Borins posted about flocking.js and his work porting Faust to > run under asm.js: > > > > https://ccrma.stanford.edu/~mborins/420b/#/9 > > > > Hope some of this helps. - Charlie > > > > > > > > On Wed, Aug 28, 2013 at 1:02 PM, Stéphane Letz <letz@grame.fr> wrote: > > Hi Sebastien, > > > > Any new from Martin Roth? > > > > Thanks > > > > Stéphane > > > > > > Le 27 août 2013 à 15:03, s p <sebpiq@gmail.com> a écrit : > > > > > Hi Stephane, > > > > > > I know that Martin Roth from RjDj was experimenting with that a while > ago, but I don't remember if he managed to get any result. I'll ask him. > > > > > > BR > > > > > > Sebastien Piquemal > > > > > > > > > 2013/8/27 Stéphane Letz <letz@grame.fr> > > > Hi All, > > > > > > Has anybody some working WebAudio API code (more specifically > ScriptProcessorNode kind of code) that use the asm.js model ? > > > > > > Thanks. > > > > > > Stéphane Letz > > > > > > > > > > > > -- Vilson Vieira vilson@void.cc ((( http://automata.cc ))) ((( http://musa.cc ))) ((( http://labmacambira.sourceforge.net )))
Received on Wednesday, 28 August 2013 20:33:50 UTC