Tik-76.115 Individual Project: Guinea Pig
$Id: msnd.html,v 1.2 1996/04/17 06:34:10 hynde Exp $

Sound Player for Turtle Beach Monterey with Linux

The Sound Player was primarily written to use the Turtle Beach System's Monterey sound card with the MSND (Multisound) driver for linux. The MSND driver is incompatible with the standard linux sound driver (UNIX Sound System Lite) but we also have an untested port for it.

Features

The Sound Player for MSND has the following features:
Outputs:
16 bit MONO or STEREO output (analog)
Sampling rates:
44100 (default), 22050 or 11025 HKz.

Problems

Long delays:
There is an annoyingly long delay between writing audio data to the driver and when it actually comes out of the speakers. The delay is currently hundreds of millisecons and it is definetly too long. We have tried hacking the sound driver to use minimal number of buffers but there seems to be additional buffering in the kernel and on the card itself. Fixing the delay may require severe kernel hacking and DSP programming for the card. It seems we won't have enough time to try to fix it.

Breaks in audio when swapping:
Another problem which affects other ports too is that there are breaks in audio output when machine has to swap; if the machine starts swapping or paging at critical times there will be breaks in audio output. Possible remedies we could use are: using negative nice values for player, real time priorities, locking pages into memory. Longer buffers can be used but they will increase the delay. This problem isn't too bad because it usually only occurs if the samples are very big or there are other users using the machine at the same time.

· Sound player index · Document index · Guinea Pig ·