Previous Up Next

_sndRecStart
Create a sound recorder. The library can create only one sound recorder at a time. If the audio device does not support full duplex, you cannot create both player and recorder at the same time.

SoundRec _sndRecStart (
Chn _channel_
I _frequency_
I _size_
I _resolution_
I _nbchannels_
)
Parameters

_channel_
proprietary channel
_frequency_
frequency (Hz)
_size_
size of buffer (number of samples)
_resolution_
number of bits (8 or 16)
_nbchannels_
number of channels (1:mono, 2:stereo)
Return value

new sound recorder (nil if unable to start the recorder)