Sound Devices

All sound devices have a major number 14.

DSP devices (0 to 7) . Standard wave output.

ls -l /dev/dsp*

crw-rw-rw- 1 root sys 14, 3 May 6 1998 /dev/dsp
crw-rw-rw- 1 root sys 14, 19 May 6 1998 /dev/dsp1

Audio devices (0 to 7) . Used for compatibility with SPARC (Sun workstations ?). To play a file
with extension .au, just copy it to /dev/audio (see example in the next page). Not supported by
the new linux sound drivers, developed by Allan's team,

ls -l /dev/audio*

crw-rw--w- 1 root sys 14, 4 May 6 1998 /dev/audio
crw-rw--w- 1 root sys 14, 20 May 6 1998 /dev/audio1

Midi devices:

ls -l /dev/midi*
lrwxrwxrwx 1 root sys 11 Dec 3 21:20 /dev/midi -> /dev/midi00
crw-rw-rw- 1 root sys 14, 2 Dec 3 09:26 /dev/midi00
crw-rw-rw- 1 root sys 14, 18 Dec 3 09:26 /dev/midi01
crw-rw-rw- 1 root sys 14, 34 Dec 3 09:26 /dev/midi02
crw-rw-rw- 1 root sys 14, 50 Dec 3 09:26 /dev/midi03

Midi devices are not supported by new drivers because of no hadware MIDI support in PCI cards.
Use timidity for playing MIDI files with those

Sequencer and patch manager used for wave tables - not mandatory.

ls -l /dev/sequencer /dev/patmgr*
crw-rw-rw- 1 root sys 14, 1 Dec 3 09:26 /dev/sequencer
crw-rw-rw- 1 root sys 14, 17 Dec 3 09:26 /dev/patmgr0
crw-rw-rw- 1 root sys 14, 33 Dec 3 09:26 /dev/patmgr1

Alternative sequencer. Provides automatic patch loading.
Was documented in OSS/Lite 3.5, but disappeared in the latest documents

ls -l /dev/sequencer2
crw-rw-rw- 1 root sys 14, 8 Dec 3 09:26 /dev/sequencer2

No sound devices ?

If a sound device does not exist, use MAKEDEV script located in /dev.
This should create all sound devices: cd /dev
MAKEDEV audio If this does not help, use mknod command, e.g.

mknod -m 666 /dev/dsp c 14 3

N.B. MAKEDEV will create not more that two nodes of each type. If you need more,
either edit MAKEDEV, or use extra mknod command with incrementing minor by 16, e.g.

mknod -m 666 /dev/dsp2 c 14 35

Back Next