DescriptionGet the input as an AudioStream that you can read from yourself, rather than wrapped in an AudioInput that does that work for you.
AudioStream getInputStream(int type, int bufferSize, float sampleRate, int bitDepth)
Parameterstype — 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)
an AudioStream that reads from the input source of the soundcard.
UsageWeb & Application