[Software] [Solved] How to use aplaymidi?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
TiberiusKG
Posts: 35
Joined: 2024-08-02 14:08
Has thanked: 19 times
Been thanked: 4 times

[Software] [Solved] How to use aplaymidi?

#1 Post by TiberiusKG »

Hello there,

I am trying to use aplaymidi to play a midi file, but I am not able to get any sound, even though it looks like it is playing.

The only listed port is:

Code: Select all

tiberius@rog:~$ aplaymidi -l
 Port    Client name                      Port name
 14:0    Midi Through                     Midi Through Port-0
The same single port is listed on all my machines, and I suppose that an output port should be listed in order to get any sound. But how to get an output port listed?
I have sound font files installed. Timidity can play midi files, as can play audacity after some setup.

Any ideas will be appreciated.
Last edited by TiberiusKG on 2024-11-29 21:09, edited 3 times in total.

TiberiusKG
Posts: 35
Joined: 2024-08-02 14:08
Has thanked: 19 times
Been thanked: 4 times

Re: [Software] How to use aplaymidi?

#2 Post by TiberiusKG »

My suspicion that an output port should be listed has turned out to be right. After more web research, I have found an answer to my question on http://www.tedfelix.com/linux/linux-midi.html. With fluidsynth running in one terminal and providing an output port, aplaymidi was finally able to produce audible sounds. Concluding, aplaymidi really needs somebody to provide an output port, and the fact that fluidsynth can also play midi files renders aplaymidi quite superfluous...

Post Reply