我无法导入流体合成器。[也许有更好的模块?]
我正在尝试从 python 或 pygame 合成 midi。我可以从 pygame 发送 midi 事件。我正在使用 mingus,看起来 pyfluidsynth 会很好/最简单。
我认为这意味着安装了 pyfluidsynth,但没有安装单独的流体合成器。我不知道它是否需要“fluidsynth”安装程序才能工作?
测试.py:
import fluidsynth
print ":("
错误:
Traceback (most recent call last):
File "test.py", line 1, in <module>
import fluidsynth
File "C:\Users\jake\AppData\Roaming\Python\Python27\site-packages\fluidsynth.py", line 34, in <module>
raise ImportError, "Couldn't find the FluidSynth library."
ImportError: Couldn't find the FluidSynth library.
使用:python 2.7-win32