Minim
index
 
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   how long you want the AudioInput's sample buffer to be
sampleRate   the desired sample rate in Hertz (typically 44100)
bitDepth   the desired bit depth (typically 16)
Returns an AudioStream that reads from the input source of the soundcard.
Usage Web & Application
Related