Closed pbz134 closed 1 week ago
Sorry, nevermind! I forgot to restart the terminal. It works fine now :)
@pbz134 guy,how to solve this problem,i also meet the same bug
i also download fluid and add it to PATH, but still error
ok fine i have solved it
Hello,
I cloned the repo and installed all the dependencies. Apparently, pip installed Fluidsynth 0.2, which is lower than 2.0 as written in your repo (obviously).
When running, I get the following error: Traceback (most recent call last): File "D:\PythonTests\midi-model\app.py", line 371, in
synthesizer = MidiSynthesizer(soundfont_path)
File "D:\PythonTests\midi-model\midi_synthesizer.py", line 11, in init
fl = fluidsynth.Synth(samplerate=float(sample_rate))
AttributeError: module 'fluidsynth' has no attribute 'Synth'
I also saw that you linked the official fluidsynth website, so I downloaded it and added the .exe directory to PATH. However, it didn't change anything.