-
Notifications
You must be signed in to change notification settings - Fork 411
Replies: 2 comments · 9 replies
-
|
The Timidity daemon is of no use at all for MPD. MPD uses the Timidity library to convert MIDI files to PCM for playback on a regular output, but doesn't use the Timidity daemon. (I have no idea what the Timidity daemon even is.) Start here: https://www.musicpd.org/help/ |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
I did, but wanted to get this question out of the way first. Here the requested information: Commenting out the audio output "httpd" doesn't make a difference, midi files stay silent. This is how it looks when timidity plays an audible file For me, it's not immediately apparent what went wrong. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
I see that MPD successfully plays on the two outputs you configured: the first one is an ALSA software plugin and the other one is a HTTP stream. Since I do not know what this ALSA software plugin is you told MPD to play to, I suggest you configure an ALSA HW device instead. Try |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
You can disregard the HTTP stream for now; this is more of a potential option. I tried commenting it out with no change to the issue at hand. The main use case is playout to the digital output. I have an and also pipewire installed. This is enough to play with mpg123 and timidity to the digital output. When I do There is no other output than the digital output. Is the default entry in I tried to play midi with wildmidi, and this also stays silent: When I tried fluidsynth as an alternative, it also was silent in mpd. There seems to be a difference between timidity and wildmidi (and fluidsynth). When I try fluidsynth via CLI, I also get silence: My So, both wildmidi and fluidsynth won't play sound, with or without mpd. This seems to be in need of a general change. How would I choose a hardware alsa device? I thought that having the |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Since both Fluidsynth and Wildmidi were unable to play your MIDI file, the best chance to get this working is to disable those two decoder plugins in MPD and use MPD's Timidity plugin instead. But using an ALSA HW device is a good idea in any case. I can't assist with |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
It seems I forgot to add the log with one midi and one mp3 file playing (or not). Sorry for that. Is there anything else I forgot? I thought I answered all your questions. Also, I am confused about two things. What is the timidity plugin? It's not mentioned in the manual, a search for timidity yielded only the config entries for the wildmidi plugin. Secondly, is the uncommenting of the device line in the mpd.conf file enough? I posted my which works, but has no change for the issue. Since neither wildmidi nor fluidsynth work from the CLI, using timidity as a plugin would be the best bet. Can you point me to a working config for it? Just using isn't enough, I tried and got no sound. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
wildmidi -c /etc/wildmidi/wildmidi.cfg file.midIf that works, then use in mpd.conf: FYI the ALSA device |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Thanks. That was sound advice to set up the output device, with the background information needed. Regarding the setup of and wildmidi's source code for the default wildmidi with your suggestion of |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
My point is that mpd uses libwildmidi, so for that to work you must first configure libwildmidi correctly for your system. If the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a working installation of
mpd, mp3, opus, flac etc. play fine.I have also installed Timidity++ and a soundfont and can play midi files on the system manually with
timidity song.mid.My
mpd.confcontainsand I have started the timidity.service via
systemctl --user start timidity; a status showsWhen I try to listen to a midi song with
mpc add song.mid; mpc playthe song seems to play according tompc status, but the only thing I get is silence. Remember: normal songs play, the same song played with timidity plays audible.I also tried with Fluidsynth; same result.
What do I need to do to debug this further?
Beta Was this translation helpful? Give feedback.
All reactions