Thanks for the suggestion Frank. I'm using snd-virmidi to get the second port on my Midisport 2x2 but never thought of using it to see the midi stream. I'll give it a try. I was thinking more along the lines of " cat /dev/midi or something like that. 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