Run this line in cmd/terminal to install.
REASON SF2 FILES INSTALL
You can use pip to install this sf2 loader.
REASON SF2 FILES UPDATE
Important note: the required python package musicpy is updated very frequently, so please regularly update musicpy by running pip install - upgrade musicpy This macOS compatible version of sf2_loader is tested on Catalina 10.15.5. Update: () The macOS compatible version is ready, the installation and configuration of linux compatible version is at the installation section of this readme. This linux compatible version of sf2_loader is tested on Ubuntu 18.04.5. Update: () The Linux compatible version is ready, the installation and configuration of linux compatible version is at the installation section of this readme. For Windows version, this package is tested on Windows 10. This package is currently being tested on Windows, Linux and macOS. This sf2 loader is compatible with both 32-bit and 64-bit python versions, for python >= 3.6, so be sure your installed python version match the requirements for this package to use. But if you want to change the instruments for some of the tracks or even with different soundfont files in the midi files, you will need to do it in the DAW or using musicpy to load midi files as a piece instance. However, I still recommend you to learn about musicpy, even not to consider music programming and analysis, it could also be very useful for midi files editing and reconstructing. If you are not familiar with musicpy data structures and is not willing to learn it in recent times, you can also straightly using midi files as input to the sf2 loader, and export the rendered audio files using the loaded soundfont files. In fact, this project borns with my attempt at making muscipy's sampler module being able to load soundfont files to play and export audio files. Besides of playing music with the loaded soundfonts files, I also write an audio renderer in the sf2 loader, which could render the audio from the loaded soundfont files with the input musicpy data structures and output as audio files, you can choose the output format, such as wav, mp3, ogg, and output file names, sample width, frame rate, channels and so on.
REASON SF2 FILES HOW TO
If you have already learned how to use musicpy to build notes, chords and pieces, you can straightly pass them to the sf2 loader and let it play what you write. This sf2 loader is heavily combined with musicpy, which is one of my most popular project, focusing on music programming and music analysis and composition.