[PD] Was there a change in how MIDI is transmitted ????

jim ruxton cinetron at passport.ca
Mon Jun 21 23:57:24 CEST 2004


It's ok got it to work by creating symlinks between /dev/snd/C2/Dx and 
/dev/midi2x . Thanks again Frank.
Jim

> I'm having trouble with PD recognizing the virtual ports. I've loaded 
> snd-virmidi and when I do:
>
> $ aconnect -lio
> client 0: 'System' [type=kernel]
> 0 'Timer '
> 1 'Announce '
> Connecting To: 128:0
> client 80: 'Virtual Raw MIDI 2-0' [type=kernel]
> 0 'VirMIDI 2-0 '
> client 81: 'Virtual Raw MIDI 2-1' [type=kernel]
> 0 'VirMIDI 2-1 '
> client 82: 'Virtual Raw MIDI 2-2' [type=kernel]
> 0 'VirMIDI 2-2 '
> client 83: 'Virtual Raw MIDI 2-3' [type=kernel]
> 0 'VirMIDI 2-3 '
>
> Then :
>
> $ aconnect 80:0 82:0
>
> client 0: 'System' [type=kernel]
> 0 'Timer '
> 1 'Announce '
> Connecting To: 128:0
> client 80: 'Virtual Raw MIDI 2-0' [type=kernel]
> 0 'VirMIDI 2-0 '
> Connecting To: 82:0
> client 81: 'Virtual Raw MIDI 2-1' [type=kernel]
> 0 'VirMIDI 2-1 '
> client 82: 'Virtual Raw MIDI 2-2' [type=kernel]
> 0 'VirMIDI 2-2 '
> Connected From: 80:0
> client 83: 'Virtual Raw MIDI 2-3' [type=kernel]
> 0 'VirMIDI 2-3 '
>
> Then:
>
> $ pd -midiindev 23 -midioutdev 21
>
> I get :
>
> couldn't open MIDI input device 22
> couldn't open MIDI output device 20
> opened 0 MIDI input device(s) and 0 MIDI output device(s).
> Sample width set to 2 bytes
>
> The only device I can use is mididev 3 ie.
>
> $ pd -mididev 3 doesn't generate "couldn't open ......."
>
> ?? ( I don't have a real device attached at this point) . Output of :
>
> $ pd -listdev
>
> oops: ALSA cards not reported in order?
> input devices:
> 1. Intel 82801CA-ICH3 (hardware)
> 2. Intel 82801CA-ICH3 (plug-in)
> 3. VirMIDI (hardware)
> 4. VirMIDI (plug-in)
> output devices:
> 1. Intel 82801CA-ICH3 (hardware)
> 2. Intel 82801CA-ICH3 (plug-in)
> 3. VirMIDI (hardware)
> 4. VirMIDI (plug-in)
> API number 1
>
> no midi input devices found
> no midi output devices found
> couldn't open MIDI input device 0
> couldn't open MIDI output device 0
> opened 0 MIDI input device(s) and 0 MIDI output device(s).
>
> Any thoughts on what I'm doing wrong?
> Jim
>
>
>
>
>> Hallo,
>> jim ruxton hat gesagt: // jim ruxton wrote:
>>
>>
>>
>>> I'll take a look at this. Do you mean a " noteout "? Is there a way 
>>> that I can see the actual midi data going out so I can see what I'm 
>>> sending? I'm using Linux.
>>>
>>
>> You could use a virtual midi connection using the snd-virmidi virtual
>> card, which works even with only Pd as clients. Example:
>>
>> $ su -c modprobe snd-virmidi
>>
>> $ aconnect -lio
>> client 0: 'System' [type=kernel]
>> 0 'Timer '
>> 1 'Announce '
>> client 64: 'Rawmidi 0 - M Audio Audiophile 24/96 MPU-401' [type=kernel]
>> 0 'M Audio Audiophile 24/96 MPU-401'
>> 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
>>
>> $ aconnect 72:0 74:0
>>
>> $ aconnect -lio
>> client 0: 'System' [type=kernel]
>> 0 'Timer '
>> 1 'Announce '
>> client 64: 'Rawmidi 0 - M Audio Audiophile 24/96 MPU-401' [type=kernel]
>> 0 'M Audio Audiophile 24/96 MPU-401'
>> client 72: 'Virtual Raw MIDI 1-0' [type=kernel]
>> 0 'VirMIDI 1-0 '
>> Connecting To: 74: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 '
>> Connected From: 72:0
>> client 75: 'Virtual Raw MIDI 1-3' [type=kernel]
>> 0 'VirMIDI 1-3
>>
>> $ pd -midioutdev 11 -midiindev 13 (using 11 = 'Virtual Raw MIDI 1-0' 
>> + 1 and 13 = 'Virtual Raw MIDI 1-2' + 1)
>>
>> Now open "Test Audio and MIDI" and if you enable "MIDI OUT" you should
>> see the notes coming in at "MIDI IN".
>> Ciao
>>
>>
>
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> to manage your subscription (including un-subscription) see
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
>






More information about the Pd-list mailing list