Minim
core
ugens
analysis
 
Name getInputStream
Examples
None available
Description Get the input as an AudioStream that you can read from yourself, rather than wrapped in an AudioInput that does that work for you.
Syntax
getInputStream(type, bufferSize, sampleRate, bitDepth);
Parameters
type   Minim.MONO or Minim.STEREO
bufferSize   int: how long you want the AudioStream's interal buffer to be.
sampleRate   float: the desired sample rate in Hertz (typically 44100)
bitDepth   int: the desired bit depth (typically 16)
Returns an AudioStream that reads from the input source of the soundcard.
Usage Web & Application
Related