- From: Vilson Vieira <vilson@void.cc>
- Date: Fri, 21 Jun 2013 12:49:05 -0300
- To: Ehsan Akhgari <ehsan.akhgari@gmail.com>
- Cc: Marcus Geelnard <mage@opera.com>, "public-audio@w3.org" <public-audio@w3.org>
- Message-ID: <CAPzw4PamS0Y7RL+=27amWDZH_6okqrtukpcRZVwPZ9iaghDZ4w@mail.gmail.com>
Marcus, Ehsan, thank you about the tips. Yes, the major complexity is around heap access. I followed some discussions around array passing in emscripten-discuss and got a way around: https://gist.github.com/automata/5832104 I believe it is not the most efficient way. It can be easily ported to ScriptProcessorNode as well. Best wishes. 2013/6/19 Ehsan Akhgari <ehsan.akhgari@gmail.com> > http://groups.google.com/group/emscripten-discuss is probably a better > venue for this question. > > Cheers, > > -- > Ehsan > <http://ehsanakhgari.org/> > > > On Wed, Jun 19, 2013 at 9:31 AM, Marcus Geelnard <mage@opera.com> wrote: > >> ** >> Hello Vilson, >> >> Very interesting topic. >> >> I think that you'll find that one of the major obstacles with asm.js is >> that you can't easily pass in/out [typed] arrays of data to/from an asm.js >> module. That makes it really hard to use it in a ScriptProcessorNode, for >> instance. >> >> At least that's my (very limited) experience from asm.js. Perhaps someone >> with more knowledge (moz people?) can fill in here... >> >> Regards, >> >> Marcus >> >> >> >> Den 2013-06- 14:53:00 skrev Vilson Vieira <vilson@void.cc>: >> >> Hi guys, >> >> is there any recommendations about using asm.js with Web Audio API? Any >> DSP routine can help. >> >> Some tests I am currently doing are at >> https://gist.github.com/automata/5734209 >> >> Thank you. >> >> -- >> Vilson Vieira >> >> vilson@void.cc >> >> ((( http://automata.cc ))) >> >> ((( http://musa.cc ))) >> >> ((( http://labmacambira.sourceforge.net ))) >> >> >> >> >> -- >> Marcus Geelnard >> Technical Lead, Mobile Infrastructure >> Opera Software >> > > -- Vilson Vieira vilson@void.cc ((( http://automata.cc ))) ((( http://musa.cc ))) ((( http://labmacambira.sourceforge.net )))
Received on Friday, 21 June 2013 15:49:56 UTC