[flocking-users] Audio input with MediaStreamSourceNode

Adam Tindale adamrtindale at gmail.com
Mon Apr 7 09:44:12 EDT 2014

Hi Colin,

Awesome work.

iPad Mini iOS 7.1 Chrome NADA
iPad Mini iOS 7.1 Safari NADA
Nexus 4 Android 4.3 Chrome Works perfectly (even in the background)

Thanks for the audio context work! This is really exciting. I've found that
the webaudio compressor is a really nice thing to have with synthesis to
make sure that the audio competes with the sound in other pages but also to
not accidentally destroy someone's speakers.


On Sat, Apr 5, 2014 at 8:53 PM, Colin Clark <colin at colinclark.org> wrote:

> Hi all,
> Today I added support for the Web Audio API's MediaStreamSourceNode, which
> provides audio input in any modern browser. This replaces the lame Flash
> solution we were using previously. Tests on my MacBook and Chromebook
> suggest it's quite effective down to the minimum buffer size supported by
> the Web Audio API (256 samples). Here are a couple of simple demos:
> http://flockingjs.org/demos/interactive/html/playground.html#audioIn
> http://flockingjs.org/demos/interactive/html/playground.html#granulatedAudioIn
> I haven't yet had an opportunity to test on Android, iOS, or Firefox OS,
> so let me know it looks.
> This also required some preliminary refactoring of the way nodes are
> managed in the web audio strategy, which should make simple use cases of
> inserting nodes before or after the Flocking ScriptProcessorNode easier.
> Here's an updated example showing how nodes can be inserted after Flocking;
> no more monkey patching. Keep in mind that this API will definitely change
> once "islands" are implemented:
> https://gist.github.com/colinbdclark/9179042
> Colin
> _______________________________________________
> users mailing list
> users at lists.flockingjs.org
> http://lists.flockingjs.org/listinfo.cgi/users-flockingjs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idrc.ocad.ca/pipermail/flocking/attachments/20140407/ed7f89c0/attachment.html>

More information about the flocking mailing list