Csound Csound-dev Csound-tekno Search About

Re: OT: OSS vs ALSA

Date1999-08-18 17:29
FromThomas Hudson
SubjectRe: OT: OSS vs ALSA
Dave Phillips wrote:
> 
> Kevin Conder wrote:
> 
> > ...even the commercial OSS guys admit the ALSA API has better
> > MIDI support.
> 
> No offense, Kevin, but I doubt that.

I read the interview w/ one them. They were speaking of Frank van de Pol's
design.

>  ALSA at present supports only
> /dev/midi, the raw MIDI interface. /dev/sequencer and /dev/sequencer2
> are not supported. IMO, ALSA MIDI support is relatively weak, though
> that will change as Frank van de Pol's excellent API is incorporated.

I'm currently using his API. Through the docs are not up to date, it is
still more than any of the OSS stuff. You need to make sure you use
--enable-sequencer to get his stuff. But it is there and it works.

$ cd /proc/asound
$ ls
0      cards  devices  oss-devices  seq    timers
card1  dev    meminfo  pcm	    synth  version
$ cd seq
$ ls
clients  memory  oss  queues  timer
$ cat oss
OSS sequencer emulation version 0.1.5
ALSA client number 63
ALSA receiver port 0

Number of applications: 0

Number of synth devices: 1

synth 0: EMU8000
  type 0x1
  subtype 0x20
  voices 32
  ioctl enabled
  load_patch enabled

Number of MIDI devices: 5

midi 0: Emu8000 port 0
  client 65
  port 0
  capability write
  opened none

midi 1: Emu8000 port 1
  client 65
  port 1
  capability write
  opened none

midi 2: Emu8000 port 2
  client 65
  port 2
  capability write
  opened none

midi 3: Emu8000 port 3
  client 65
  port 3
  capability write
  opened none

midi 4: 0: MPU-401 (UART)
  client 64
  port 0
  capability read/write
  opened none