Closed jollyjonson closed 3 years ago
I think pyfluidsynth doesn't support fluidsynth > 2.x
Any chance to solve this problem ? Going back to old version of fluidsynth on macOS seems a complex task.
You can try to compile fluidsynth v 1.1.11. I did that and works.
brew uninstall fluidsynth
brew install pkg-config
git clone https://github.com/FluidSynth/fluidsynth.git
cd fluidsynth
git checkout 1.1.x
mkdir build
cd build
cmake ..
sudo make install
fluidsynth --version
The installation of v 1.1.11 worked well, thanks !
You could also use brew
by providing the version of the formula that is still using version 1.1.11:
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/34dcd1ff65a56c3191fa57d3dd23e7fffd55fae8/Formula/fluid-synth.rb
git checkout 1.1.x
this branch has been removed from the fluidsynth repo. So this temporary solution no longer works
@AaEll Did you try the following?:
git checkout v1.1.11
de3baa1b311996045b8ee8a2c659afb272d26723 should smooth over these issues with fluidsynth 2 and API changes.
I get the following error every time any python script tries to
import fluidsynth
. Pyfluidsynth was installed via pip. I installed fluidsynth version 2.0.3 via homebrew as described here and also tried compiling it myself using cmake, which doesn't help. Simply calling fluidsynth from the command line works just fine. I'm on OSX 10.14.2 using Python 3.6.8. I was able to reproduce this error on one other machine using the same OS.Any help is highly appreciated, maybe I'm missing something obvious?