Releases: kingbonj/Soundfont-Testing-MIDI-MOD
Release v1.4
Release v1.4
Changelog
- Dependency Check on Launch - The script now performs an automatic dependency check to ensure all required software is available before proceeding. This update checks the following programs are installed:
fluidsynth
timidity
lame
find
shuf
pgrep
midicsv
binutils
-
If any required programs are missing, the script will list the missing items and exit with a prompt for installation. Note:
libnotify-bin
is not checked at launch but is recommended to provide pop-up notifications. -
Metadata Extraction from MIDI Files - The script now extracts metadata directly from MIDI files instead of using an external
trivia.txt
file. This functionality usesmidicsv
to parse embedded metadata where available, providing information such as composer, title, copyright, and other potential tags. Due to variances in MIDI file structures, metadata display results may vary depending on the file, and some will not contain any legible data at all. -
Temporary
.csv
files and/tmp/RANDOM/
directory - The script now creates a dedicated temporary working directory for each MIDI file. This directory is automatically cleaned up once playback of the file completes. Additionally, upon exiting the program, a trap function runs to perform a full cleanup, removing all remaining temporary files and directories, and terminating any associated processes.
Note: this script relies on strings
which is part of the binutils
package. pulseaudio
is also required but has been known to cause problems with custom wireplumber
and pipewire
configurations.