Quote:
Originally Posted by benslice
timidity can play a midi file (though i suspect this is unrelated)
|
Yes, this is (probably) unrelated. Timidity++ will convert a MIDI file to sound information and output it to the soundcard as a “wave” file (the PCM channel). The program you are writing most likely attempts to use the soundcard’s MIDI hardware to do this work. To check if your alsa setup correctly uses your soundcard as a sequencer, you might try to tell timidity to use the hardware or try a sequencer-based (i.e., non-software-based rendering) MIDI file player (e.g.,
playmidi).
As an alternative, if you don’t like the sound of your hardware sequencer compared to timidity (or like the prospect of sound fonts and such), you can use timidity as a server which provides alsa a virtual MIDI sequencer. This device can be made the default and would be used by playmidi and other players which access the sequencer.