## sndin

sound recording functions.

### Members

#### inner SNDIN_8BIT
`doc/internal.js`, `line 124`

  ##### Properties:

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

#### inner SNDIN_16BIT
`doc/internal.js`, `line 129`

  ##### Properties:

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

#### inner SNDIN_AVAILABLE
`doc/internal.js`, `line 119`

  ##### Properties:

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

#### inner SNDIN_STEREO
`doc/internal.js`, `line 134`

  ##### Properties:

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

### Methods

#### inner ReadSoundInput() → {Array.<number>}
`doc/internal.js`, `line 162`

  get the actuall sound data.

  ##### Returns:

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

#### inner SoundInputSource(src)
`doc/internal.js`, `line 141`

  select sound input source.

  ##### Parameters:

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

#### inner SoundStartInput(rate, bits, stereo)
`doc/internal.js`, `line 150`

  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.

#### inner SoundStopInput()
`doc/internal.js`, `line 155`

  stop sound recording.