P5.sound : Getting access to input sample buffer(s)

Hi folks,

Newbie question here, I’m trying hard with p5.js to get access to the sample buffer of my microphone input in. What I want to do is each time the input buffer is filled (available), to get access to it in order to do ‘realtime’ stuff.

Since I’m more a HW guy, not very familiar with high level programming techniques, I’ve dumbly messed up trying things around using the getUserMedia API functions (with the e() ) .buffer, without success.

So I’m looking for a bit of advice on SW architecture in order to :

  • create a bit of js that would be called on every AudioIn input buffer fulfillment

  • manipulate that data while still allowing me to use P5.js, to do some display with it

Any tip on where to start looking for info would be highly appreciated. Thanks in advance for the help

Banson

Tagged:
Sign In or Register to comment.