Minim
core | ugens | analysis
 

Minim

getInputStream

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.

Signature

AudioStream getInputStream(int type, int bufferSize, float sampleRate, int 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.

Related

Example

None available

Usage

Web & Application