Skip to contentSkip to conversation

Sequencer Input

DISCUSSION Brian Victor 2 participants 2 messages Dec 18, 2002 – Dec 19, 2002

lore
Share & tools
lore
#0 lore raw

I'm using a MidiSport 1x1 and devfs. The modules are loading, pmidi is displaying the MidiSport and playing MIDI files through it just fine, so I presume output through /dev/snd/seq is working. cat /dev/snd/midiC0D0 displays approrpriate "garbage" characters, but cat /dev/snd/seq does nothing, and the seqdemo.c sample just sits there. What do I need to do to get this working? This is with RC6.

Relevant modules:

snd-seq-midi            3136   0 (autoclean)
snd-seq-oss            23456   0 (unused)
snd-seq-midi-event      3240   0 [snd-seq-midi snd-seq-oss]
snd-seq                39312   2 [snd-seq-midi snd-seq-oss snd-seq-midi-event]
usb-ohci               18088   0 (unused)
snd-usb-audio          32704   0
snd-pcm                58304   0 [snd-usb-audio]
snd-timer              11080   0 [snd-seq snd-pcm]
snd-rawmidi            12800   0 [snd-seq-midi snd-usb-audio]
snd-seq-device          3776   0 [snd-seq-midi snd-seq-oss snd-seq snd-rawmidi]
snd                    27020   0 [snd-seq-midi snd-seq-oss snd-seq-midi-event

snd-seq snd-usb-audio snd-pcm snd-timer snd-rawmidi snd-seq-device]
soundcore 3908 4 [snd]

Thanks,

Signature · 8 lines
Brian


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
#1 lore raw
Quoted 5 lines · Brian Victor

I'm using a MidiSport 1x1 and devfs. The modules are loading, pmidi is displaying the MidiSport and playing MIDI files through it just fine, so I presume output through /dev/snd/seq is working. cat /dev/snd/midiC0D0 displays approrpriate "garbage" characters, but cat /dev/snd/seq does nothing,

This is OK, /dev/snd/seq cannot be accessed as a byte stream, unlike some other devices. You have to use a program using the ALSA sequencer API to test sequencer input.

Quoted 1 line

and the seqdemo.c sample just sits there.

seqdemo.c prints only those events sent to its port. Use aconnect to connect the 1x1 port to the seqdemo port.

HTH
Clemens

-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/