sound recording functions.

View Source doc/internal.js, line 110

# Members

#### # inner SNDIN_8BIT

##### Properties:

Name | Type | Description
--- | --- | ---
`SNDIN_8BIT` | boolean | true if 8bit input is available.

View Source doc/internal.js, line 124

#### # inner SNDIN_16BIT

##### Properties:

Name | Type | Description
--- | --- | ---
`SNDIN_16BIT` | boolean | true if 16bit input is available.

View Source doc/internal.js, line 129

#### # inner SNDIN_AVAILABLE

##### Properties:

Name | Type | Description
--- | --- | ---
`SNDIN_AVAILABLE` | boolean | true if sound recording is available.

View Source doc/internal.js, line 119

#### # inner SNDIN_STEREO

##### Properties:

Name | Type | Description
--- | --- | ---
`SNDIN_STEREO` | boolean | true if stereo input is available.

View Source doc/internal.js, line 134

# Methods

#### # inner ReadSoundInput() → {Array.<number>}

get the actuall sound data.

View Source doc/internal.js, line 162

Returns:
returns one or two arrays with sound data or null if no data available.
Type: Array.<number>

#### # inner SoundInputSource(src)

select sound input source.

##### Parameters:

Name | Type | Description
--- | --- | ---
`src` | * | a value from SOUND.

View Source doc/internal.js, line 141

#### # inner SoundStartInput(rate, bits, stereo)

start sound recording with given parameters.

##### Parameters:

Name | Type | Description
--- | --- | ---
`rate` | number | sample rate.
`bits` | number | 8 or 16 bits.
`stereo` | bool | true for stereo recording.

View Source doc/internal.js, line 150

#### # inner SoundStopInput()

stop sound recording.

View Source doc/internal.js, line 155