opencubicplayer icon indicating copy to clipboard operation
opencubicplayer copied to clipboard

timidity dotfile

Open coderofsalvation opened this issue 6 months ago • 2 comments

[TiMidity++ MID] loading romplersforlife-v1.mid...
[TiMidity++ MID] Warning: Unable to find global timidity.cfg file[TiMidity++ MID] post-load config failed

Which location does ocp/timidity look for timidity.cfg?

I noticed the docs mentioning /etc and /usr/local but I was hoping to also find the possibility to store the config(+sf2 file) in my homefolder (and dotfile-repo) without having to use root =]

coderofsalvation avatar Jul 02 '25 15:07 coderofsalvation

Please look at setup:/timidity.dev in the filebrowser inside OCP and option 1, "Select TiMidity+ configuration file", for selecting config file or font directly.

It will search $HOME/timdidy.cfg (as the vanilla timidity does, or at least did). Please see the following function https://github.com/mywave82/opencubicplayer/blob/f07c738f02b9ba2d37e8c6177fd6596f0b53bb30/playtimidity/timidityconfig.c#L353

mywave82 avatar Jul 04 '25 07:07 mywave82

OK it works now via ~/timitidy.cfg (and its playing via the soundfont). Thanks, this is much more fun to watch while listening ❤

Not sure whether it's a bug, but the timidity settings think otherwise

Image

coderofsalvation avatar Jul 07 '25 09:07 coderofsalvation