oss_audio_device.speed(samplerate)
Try to set the audio sampling rate to samplerate samples per second. Returns the rate actually set. Most sound devices don’t support arbitrary sampling rates. Common rates are:
Rate | Description |
---|---|
8000 | default rate for /dev/audio
|
11025 | speech recording |
22050 | |
44100 | CD quality audio (at 16 bits/sample and 2 channels) |
96000 | DVD quality audio (at 24 bits/sample) |
Please login to continue.