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, 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