Re: Any example of WebAudio API and asm.js working audio code?

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
> >
>
>
>

Received on Thursday, 29 August 2013 06:40:06 UTC