May the next Gnu/Linux/Mint have the new 2.15.0 release of timidity++.
See:
https://sourceforge.net/p/timidity/mail ... /36402700/
https://sourceforge.net/projects/timidity/
Please, let us have it.
TiMidity++ 2.15.0
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
TiMidity++ 2.15.0
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: TiMidity++ 2.15.0
You need to convince Ubuntu, not Mint.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: TiMidity++ 2.15.0
Thanks for the tip. Just posted https://ubuntuforums.org/showthread.php?t=2400001.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: TiMidity++ 2.15.0
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: TiMidity++ 2.15.0
Good luck!
Even 2.14 would be an improvement. The version in Mint 19.1 is 2.13.2-41, which has a nasty bug where the generated sound has crackles at the start. According to
https://bugs.debian.org/cgi-bin/bugrepo ... bug=693011
there are also clicks all the way through the generated sound, but you need headphones and a good pair of ears to hear them... also that page suggests the fix: in my_mod() in file timidity/effect.c, replace if (x > n) with if (x >= n), and also indicates as a workaround, put
opt EFns=1
in /etc/timidity/timidity.cfg. (This is nicer than the --output-24bit workaround that was easier to find on the web, because the latter workaround has to go on the command line every time you use it. At least, I didn't find a way to put it in the .cfg file.)
Anyway, it seems the bug is fixed in 2.14. That was released in 2012; it's 2019 now, so I don't think anyone should hold their breath for an upgrade. (In fairness, according to http://timidity.sourceforge.net/, the "home page" linked from the TiMidity++ Wikipedia page, 2.13.2 (2.13.3 on Win32) released 2004 is the latest version! So maybe Ubuntu just hasn't noticed...)
I see 2.14 and 2.15 at https://sourceforge.net/projects/timidity/
So if we can't wait for Ubuntu, does anyone know how to install this without getting conflicts with the Package Manager? I do recall long ago installing things with the incantation
./configure && make && make install
(or was there a '&& echo "OK"' at the end, to check that 'make install' exited successfully?)
and maybe Timidity has something similar, but is that sort of installation being unfriendly to apt in some way?
Even 2.14 would be an improvement. The version in Mint 19.1 is 2.13.2-41, which has a nasty bug where the generated sound has crackles at the start. According to
https://bugs.debian.org/cgi-bin/bugrepo ... bug=693011
there are also clicks all the way through the generated sound, but you need headphones and a good pair of ears to hear them... also that page suggests the fix: in my_mod() in file timidity/effect.c, replace if (x > n) with if (x >= n), and also indicates as a workaround, put
opt EFns=1
in /etc/timidity/timidity.cfg. (This is nicer than the --output-24bit workaround that was easier to find on the web, because the latter workaround has to go on the command line every time you use it. At least, I didn't find a way to put it in the .cfg file.)
Anyway, it seems the bug is fixed in 2.14. That was released in 2012; it's 2019 now, so I don't think anyone should hold their breath for an upgrade. (In fairness, according to http://timidity.sourceforge.net/, the "home page" linked from the TiMidity++ Wikipedia page, 2.13.2 (2.13.3 on Win32) released 2004 is the latest version! So maybe Ubuntu just hasn't noticed...)
I see 2.14 and 2.15 at https://sourceforge.net/projects/timidity/
So if we can't wait for Ubuntu, does anyone know how to install this without getting conflicts with the Package Manager? I do recall long ago installing things with the incantation
./configure && make && make install
(or was there a '&& echo "OK"' at the end, to check that 'make install' exited successfully?)
and maybe Timidity has something similar, but is that sort of installation being unfriendly to apt in some way?
Re: TiMidity++ 2.15.0
Hi yotam,
I just read your post and the good replies to it. Here are my thoughts on this as well.
I just downloaded from the link below the source code archive file for Timidity 2.15 from SourceForge and compiled it in Linux Mint Cinnamon 19 and it compiled and installed and runs fine.
https://sourceforge.net/projects/timidi ... z/download
If anyone wants it, I created a 64-bit deb installation file in the link below (timidity++_2.15.0-1_amd64.deb), save it and double-click it to install it.
https://mega.nz/#!YZVVDSaZ!NPnhPobVkDoe ... gGwN-tWvEc
I have never used Timidity before and I do not have any ".mid" files yet. It appears to be a console terminal application. How do you run it?
FYI: There are various excellent multimedia and audio converters available to install and use. I am not sure if they can convert midi files to other formats, but you can try them. "SoundKonverter", "Soundconverter", WinFF, Curlew, Transmageddon, selene, etc...
Hope this helps ...
I just read your post and the good replies to it. Here are my thoughts on this as well.
I just downloaded from the link below the source code archive file for Timidity 2.15 from SourceForge and compiled it in Linux Mint Cinnamon 19 and it compiled and installed and runs fine.
https://sourceforge.net/projects/timidi ... z/download
If anyone wants it, I created a 64-bit deb installation file in the link below (timidity++_2.15.0-1_amd64.deb), save it and double-click it to install it.
https://mega.nz/#!YZVVDSaZ!NPnhPobVkDoe ... gGwN-tWvEc
I have never used Timidity before and I do not have any ".mid" files yet. It appears to be a console terminal application. How do you run it?
FYI: There are various excellent multimedia and audio converters available to install and use. I am not sure if they can convert midi files to other formats, but you can try them. "SoundKonverter", "Soundconverter", WinFF, Curlew, Transmageddon, selene, etc...
Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Re: TiMidity++ 2.15.0
Hi yotam,
I now have this Timidity working the way it is supposed to be, I think.
FYI: Online
Free MIDI to MP3/WAV Converter • HamieNET.com
http://www.hamienet.com/midi2mp3
MIDI to WAV - Online Converter
https://www.onlineconverter.com/midi-to-wav
Convert MID to WAV audio files online in a few seconds!
https://www.coolutils.com/online/MID-to-WAV
I could not get Timidity to work properly, so I went into the "Synaptic Package Manager (SPM)" searched for Timidity and installed all related packages except the daemon and all soundfont packages which included me right-clicking them to install recommended and suggested packages as well. Then, I recompiled and installed the newer 2.15 application with the enable audio playback option. It could not find the configuration files in the "/usr/local/share/timidity" folder because they were installed in the "/etc/timidity" folder, so using the root file manager I created the "/usr/local/share/timidity" folder and copied the files from the "/etc/timidity" folder into that and presto it works. I could not tell any difference between the original midi file and the wav file except the wav file is much larger.
Console terminal command to create this folder
Console terminal command to copy from the one folder to the other folder. This would create the folder as well.
Newly compiled 64-bit Timidity 2.15 deb installation file, save and double-click to install.
timidity++_2.15.0-1-gtk_amd64.deb
https://my.pcloud.com/publink/show?code ... O7M4dUcpU7
Copy the new timidity file to the /usr/bin folder
This command opens the player, may need to change menu shortcut from "-ia" to "-ig".
Add your user to the audio group
The command I used to convert rock.mid to rock.wav
Another example.
Timidity - ArchWiki
https://wiki.archlinux.org/index.php/ti ... MIDI_files
Hope this helps ...
.
. This is a link to the original "rock.mid" file and the new larger "rock.wav" file in an archive file "rock.7z"
https://mega.nz/#!VR9hFCTS!RXzfUv7FRMby ... 0-elr8nKTE
.
.This is a list of all packages I installed today, not all of which are required for this application and some are for compiling
Installed the following packages:
.
I now have this Timidity working the way it is supposed to be, I think.
FYI: Online
Free MIDI to MP3/WAV Converter • HamieNET.com
http://www.hamienet.com/midi2mp3
MIDI to WAV - Online Converter
https://www.onlineconverter.com/midi-to-wav
Convert MID to WAV audio files online in a few seconds!
https://www.coolutils.com/online/MID-to-WAV
I could not get Timidity to work properly, so I went into the "Synaptic Package Manager (SPM)" searched for Timidity and installed all related packages except the daemon and all soundfont packages which included me right-clicking them to install recommended and suggested packages as well. Then, I recompiled and installed the newer 2.15 application with the enable audio playback option. It could not find the configuration files in the "/usr/local/share/timidity" folder because they were installed in the "/etc/timidity" folder, so using the root file manager I created the "/usr/local/share/timidity" folder and copied the files from the "/etc/timidity" folder into that and presto it works. I could not tell any difference between the original midi file and the wav file except the wav file is much larger.
Console terminal command to create this folder
Code: Select all
sudo mkdir /usr/local/share/timidity
Code: Select all
sudo cp -r /etc/timidity/ /usr/local/share/
timidity++_2.15.0-1-gtk_amd64.deb
https://my.pcloud.com/publink/show?code ... O7M4dUcpU7
Copy the new timidity file to the /usr/bin folder
Code: Select all
sudo cp /usr/local/bin/timidity /usr/bin/
Code: Select all
timidity -ig
Code: Select all
sudo gpasswd -a $USER audio
Code: Select all
timidity ~/Downloads/rock.mid -Ow -o ~/Downloads/rock.wav
Code: Select all
timidity ~/Downloads/'Sonata No.14 Op 27 Moonlight Sonata.mid' -Ow -o ~/Downloads/Sonata_No.14_Op_27_Moonlight_Sonata.wav
https://wiki.archlinux.org/index.php/ti ... MIDI_files
Hope this helps ...
.
. This is a link to the original "rock.mid" file and the new larger "rock.wav" file in an archive file "rock.7z"
https://mega.nz/#!VR9hFCTS!RXzfUv7FRMby ... 0-elr8nKTE
.
.This is a list of all packages I installed today, not all of which are required for this application and some are for compiling
Installed the following packages:
Code: Select all
fluid-soundfont-gm (3.1-5.1)
fluid-soundfont-gs (3.1-5.1)
freepats (20060219-1)
pmidi (1.7.1-1)
timidity-interfaces-extra (2.13.2-41)
Reinstalled the following packages:
timidity (2.13.2-41)
libasound2-dev (1.1.3-5ubuntu0.2)
libcaca-dev (0.99.beta19-2ubuntu0.18.04.1)
libcapnp-0.6.1 (0.6.1-1ubuntu1)
libflac-dev (1.3.2-1)
libibus-1.0-dev (1.5.17-3ubuntu4)
libmad0-dev (0.15.1b-9ubuntu18.04.1)
libmikmod-config (3.3.11.1-3)
libmikmod-dev (3.3.11.1-3)
libmikmod3 (3.3.11.1-3)
libmirclient-dev (0.31.1-0ubuntu1)
libmirclient9 (0.31.1-0ubuntu1)
libmircommon-dev (0.31.1-0ubuntu1)
libmircommon7 (0.31.1-0ubuntu1)
libmircookie-dev (0.31.1-0ubuntu1)
libmircookie2 (0.31.1-0ubuntu1)
libmircore-dev (0.31.1-0ubuntu1)
libmircore1 (0.31.1-0ubuntu1)
libmirprotobuf3 (0.31.1-0ubuntu1)
libogg-dev (1.3.2-1)
libprotobuf-dev (3.0.0-9.1ubuntu1)
libpulse-dev (1:11.1-1ubuntu7.1)
libsdl-mixer1.2 (1.2.12-14)
libsdl-mixer1.2-dev (1.2.12-14)
libsdl1.2-dev (1.2.15+dfsg2-0.1)
libsdl2-dev (2.0.8+dfsg1-1ubuntu1.18.04.1)
libsdl2-mixer-2.0-0 (2.0.2+dfsg1-2)
libsdl2-mixer-dev (2.0.2+dfsg1-2)
libslang2-dev (2.3.1a-3ubuntu1)
libsndio-dev (1.1.0-3)
libudev-dev (237-3ubuntu10.12)
libvorbis-dev (1.3.5-4.2)
libxt-dev (1:1.1.5-1)
libxv-dev (2:1.0.11-1)
opl3-soundfont (1.0-2)
timidity-el (2.13.2-41)
tk707 (0.8-2)
fluidr3mono-gm-soundfont (2.315-4)
fluidsynth (1.1.9-1)
fluidsynth-dssi (1.0.0-6ubuntu2)
libfluidsynth-dev (1.1.9-1)
libinstpatch-1.0-0 (1.0.0-7)
liblo7 (0.29-1)
libsfark0 (2.24-1)
libswami0 (2.0.0+svn389-5)
qsynth (0.5.0-2)
sf3convert (20180325-1)
sfarkxtc (0~20130812git80b1da3-1)
swami (2.0.0+svn389-5)
gsequencer (1.4.24-1ubuntu2)
hydrogen (0.9.7-6)
hydrogen-data (0.9.7-6)
hydrogen-drumkits (2017.09.19~dfsg-1)
libags-audio1 (1.4.24-1ubuntu2)
libags-gui1 (1.4.24-1ubuntu2)
libags1 (1.4.24-1ubuntu2)
timgm6mb-soundfont (1.3-2)
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen