[PD] Re: [PlanetCCRMA] pd + midi

thomas gorbach thomas.gorbach@t0.or.at
Mon Mar 1 06:33:02 2004

Frank Barknecht schrieb:

 > Your Soundblaster card doesn't show up at all, the only
 > thing that's there is the Virmidi Card. There seems to be something 
messed up
 > with the module configuration. Could you post your /etc/modules.conf 
 > you're running kernel 2.4)?
my modules.conf:

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.1 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-rme9652
alias sound-slot-0 snd-rme9652

# Configure card 1 (second card) as a virtual MIDI card
alias sound-slot-1 snd-card-1
alias snd-card-1 snd-virmidi
# --- END: Generated by ALSACONF, do not edit. ---

# -- Keep modules from being autocleaned
add options -k snd-card-0

need to say that i have to load virmidi module manually with:

modprobe snd-virmidi snd_index=1

with the following result:

Warning: ignoring snd_index=1, no such parameter in this module
Module snd-virmidi loaded, with warnings

 > Well, it isn't active in ALSA. Still, to use /dev/midi01 in Pd, you 
 > have to start Pd with "pd -mididev 2". Pd uses the device one less 
than what
 > was issued on the command line. So "-mididev 2" lets Pd use midi01 
 > 2 - 1 = 1)

This i did and get following result:

device 1: tried /dev/midi01 READ/WRITE; returned 5
opened 1 MIDI input device(s) and 1 MIDI output device(s).
input channels = 2, output channels = 8

great !

Thanx for help so far.