> Denis wrote: > > My SB-Live 5.1 (emu10k1) worked with ALSA 0.9.0beta10. > > If I use 'pmidi' to play midi files with internal Wavetable, it is OK! > > But if I send MIDI messages via rawmidi device, only MPU401 can be Tx/Rx > > successfully. > > > > Eg: cat MIDI_MESSAGES_FILE > /dev/snd/midiC0D0 (MPU401) OK!! > > cat MIDI_MESSAGES_FILE > /dev/snd/midiC0D2 (Wavetable) NOT > > OK!! No sound! > > > > How do I send midi messages via rawmidi to Wavetable ? > > The command above is a correct way to send midi messages to a device. > However, the MIDI_MESSAGES_FILE must contain the raw MIDI messages,
Oh, sorry. The "MIDI_MESSAGES_FILE" that I mean is really a file which contains raw MIDI messages, not a SMF MIDI FILE. When I using: cat MIDI_MESSAGES_FILE > /dev/snd/midiC0D0 (MPU401) Datas are sure to be transmitted. But when I using: cat MIDI_MESSAGES_FILE > /dev/snd/midiC0D2 (Wavetable) Datas are seem to be transmitted because of the information for "/proc/asound/card0/midi2". ---------------------- Emu10k1 Synth MIDI Output 0 Tx bytes : 592 Mode : native Buffer size : 4096 Avail : 4096 Output 1 Tx bytes : 0 Output 2 Tx bytes : 0 Output 3 Tx bytes : 0 : Output 15 Tx bytes : 0 ............................................. But NO SOUND! I can't hear any sound from Wavetable by rawmidi. The Wavetable only works with ALSA-SEQ Mode, Eg: pmidi can play midi files successfully. > without timing information or other metadata, so you cannot use a standard > MIDI file (.mid). And all messages are sent as fast as possible, so it > doesn't make sense do send note on/off messages as the notes will be > switched off immediately. > > HTH > Clemens > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Alsa-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-user ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user