Re: [linux-audio-user] Spiral Synth and MusE

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] Spiral Synth and MusE
From: Takashi Iwai (tiwai_AT_suse.de)
Date: Wed Apr 24 2002 - 20:03:06 EEST


At Wed, 24 Apr 2002 12:53:43 -0400 (EDT),
Bill Allen wrote:
>
> This is a similar question to that which Dave Phillips asked about
> RTSynth. I want MusE to drive SS. I assume that since SS uses /dev/midi as
> input that I need to use aconnect to connect one of the virmidi outputs to
> the midi input, then set a track on muse to output to the virmidi port.
>
> My ports are:
>
> [bill_AT_localhost music]$ aconnect -lo
> client 64: 'External MIDI 0' [type=kernel]
> 0 'MIDI 0-0 '
> client 65: 'OPL3 FM synth' [type=kernel]
> 0 'OPL3 Port '
> client 72: 'Virtual Raw MIDI 1-0' [type=kernel]
> 0 'VirMIDI 1-0 '
> client 73: 'Virtual Raw MIDI 1-1' [type=kernel]
> 0 'VirMIDI 1-1 '
> client 74: 'Virtual Raw MIDI 1-2' [type=kernel]
> 0 'VirMIDI 1-2 '
> client 75: 'Virtual Raw MIDI 1-3' [type=kernel]
> 0 'VirMIDI 1-3 '
> [bill_AT_localhost music]$ aconnect -li
> client 0: 'System' [type=kernel]
> 0 'Timer '
> 1 'Announce '
> Connecting To: 63:0
> client 64: 'External MIDI 0' [type=kernel]
> 0 'MIDI 0-0 '
> client 72: 'Virtual Raw MIDI 1-0' [type=kernel]
> 0 'VirMIDI 1-0 '
> client 73: 'Virtual Raw MIDI 1-1' [type=kernel]
> 0 'VirMIDI 1-1 '
> client 74: 'Virtual Raw MIDI 1-2' [type=kernel]
> 0 'VirMIDI 1-2 '
> client 75: 'Virtual Raw MIDI 1-3' [type=kernel]
> 0 'VirMIDI 1-3 '
>
> But when I aconnect 72:0 64:0, I can't start SpiralSynth. If I start
> SpiralSynth first, then I can't do the aconnect. I've got to be seriously
> confused about how things work, or something is wrong with my setup - I'm
> betting (and hoping) on the former.

this is because either SS or virmidi blocks /dev/midi.
the mpu401 device has exclusive access. i.e. only one application
can use the device. (while virmidi accepts multiplex r/w accesses.)

the solution is to change the SS's configuration to use
/dev/snd/midiC1D0 instead of the default /dev/midi.
then choose 'VirMIDI 1-0' from muse. you don't need to run
aconnect.

HTH.

ciao,

Takashi


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Apr 24 2002 - 19:50:43 EEST