Closed garymooney closed 1 year ago
Linux users can install timidty using their package manager. To improve ease of use, I've added a test to check whether timidity has been installed and in Path when running on linux. If timidity can't be found then it instructs the user to install it.
The binaries for Windows and Mac are already included in the package. The binaries should be included for Linux as well.
Get the binaries for the target platforms by finding them online, from a linux timidity package, or compiling the source code. Include them in 'linux' folder in '/third-party/binaries/TiMidity-2.15.0/'. Then in the "timidity_convert_subprocess" method in musical_processing.py, configure the corresponding paths based on platform, as done for Windows and MacOS.
To compile the source code, you could use a docker image, a virtual machine, or a computer with the target operating system. I'm not quite sure whether we need to consider binaries for different versions of Linux.