Hi there,
I need a little help with getting my midi controller (edirol pcr-50) to work with pd (emerged 0.37) and linux (gentoo 2.6.12-r10).
alsa is up and running, aconnect -i -o gives me the following outpout:
client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce ' client 64: 'Audigy MPU-401 (UART)' [type=kernel] 0 'Audigy MPU-401 (UART)' 32 'Audigy MPU-401 #2' client 65: 'Emu10k1 WaveTable' [type=kernel] 0 'Emu10k1 Port 0 ' 1 'Emu10k1 Port 1 ' 2 'Emu10k1 Port 2 ' 3 'Emu10k1 Port 3 ' client 80: 'PCR' [type=kernel] 0 'PCR MIDI ' 1 'PCR 1 ' 2 'PCR 2 '
... so i guess that the controller gets recognised by both the usb subsystem and alsa. The controller also shows up in the graphical alsa-patch-bay. however, I can't get it to work with pd: pd -alsa -listdev gives me a "no midi input/output devices found" error message.
Do i really have to use a virmidi soundcard to get those midi signals into pd? this would be a bit odd, since it involves yet another "man in the middle" ...
thank you for your help, thoralf.
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Thoralf Schulze wrote:
Hi there,
Do i really have to use a virmidi soundcard to get those midi signals into pd? this would be a bit odd, since it involves yet another "man in the middle" ...
you have to choices: either use virmidi or update pd to >=0.39 which has native alsa sequencer support.
mfg.ad.sr IOhannes
Hi Johannes, hi Chris,
thank you very much. I wanted to update to 0.39 anyway, so I'll give this a go. Does pd has any other dependencies apart from tcl/tk ?
thank you, thoralf.
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
I read:
Do i really have to use a virmidi soundcard to get those midi signals into pd? this would be a bit odd, since it involves yet another "man in the middle" ...
basically either that (relax it's a pretty fast middleman - way faster than you can ever move your faders ;) or use the alsa midi patch for pd (should be in cvs, it's also in pd-0.39-1test1, probably earlier)
HTH
x
Hallo, Thoralf Schulze hat gesagt: // Thoralf Schulze wrote:
Do i really have to use a virmidi soundcard to get those midi signals into pd?
No. Don't believe the other answers. ;) For reading from a hardware device, virmidi is not necessary even with older Pd-versions.
You can only use rawmidi devices with Pd and you need to access devices named /dev/midiXY. For that, load the oss-emulation modules, snd-rawmidi, snd_seq_oss, etc.
Then your USB thing should be available as a device /dev/midiXY. To access it from Pd, you need to use "-mididev AB" where "AB == XY + 1"
That is, to access /dev/midi20 you need to start Pd as "pd -mididev 21" and so on.
It should work then.
snd-virmidi is only necessary to connect Pd with other OSS midi applications, that don't speak ALSA sequencer lingo.
Frank Barknecht _ ______footils.org_ __goto10.org__
I read:
You can only use rawmidi devices with Pd and you need to access devices named /dev/midiXY. For that, load the oss-emulation modules, snd-rawmidi, snd_seq_oss, etc.
oh frank you're so right ... I should have thought about it a little more ... and maybe looked:
x@home:~$ ls -l /dev/midi* lrwxr-xr-x 1 root root 12 Nov 17 2004 /dev/midi -> snd/midiC1D0
:)
cheers,
x
Hallo, CK hat gesagt: // CK wrote:
I read:
You can only use rawmidi devices with Pd and you need to access devices named /dev/midiXY. For that, load the oss-emulation modules, snd-rawmidi, snd_seq_oss, etc.
oh frank you're so right ... I should have thought about it a little more ... and maybe looked:
x@home:~$ ls -l /dev/midi* lrwxr-xr-x 1 root root 12 Nov 17 2004 /dev/midi -> snd/midiC1D0
Yes, good tip: If all else fails, make a symbolic link like that using "ln -s"
Frank Barknecht _ ______footils.org_ __goto10.org__
hi johannes / chris / frank,
It should work then.
after upgrading to 0.39, pd -alsa -alsamidi -listdev gives me
no midi input devices found no midi output devices found Opened Alsa Client 128 in:1 out:1
and then midi works - great, this is the first time I've gotten this to work with linux.
thank you all, thoralf.
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com