Tôi không thể nhập chất lỏng. [Có thể có mô-đun tốt hơn?]python tổng hợp midi với fluidsynth
Tôi đang cố gắng tổng hợp midi từ python hoặc pygame. Tôi có thể gửi các sự kiện midi từ pygame. Tôi đang sử dụng mingus, và dường như pyfluidsynth sẽ là tốt/dễ nhất.
Tôi nghĩ rằng điều này có nghĩa là pyfluidsynth được cài đặt, nhưng một fluidsynth riêng biệt thì không. Tôi không biết liệu nó có yêu cầu một trình cài đặt 'fluidsynth' hoạt động không?
test.py:
import fluidsynth
print ":("
lỗi:
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.
sử dụng: python 2.7-win32
bạn đã thử https://github.com/MostAwesomeDude/pyfluidsynth? – endolith