rtmonoaudio2midi
rtmonoaudio2midi copied to clipboard
raw
NameError: name 'raw_input' is not defined
AttributeError: module 'fluidsynth' has no attribute 'Synth'
Hi,
I'm getting the same error message as the previous comment. When I try to run synth.py
, I get AttributeError: module 'fluidsynth' has no attribute 'Synth'
. Which version of fluidsynth you are using?
Thanks in advance!
I couldn't fix second error on MacOS, but when used fluidsynth
from Mingus
library, it worked successfully http://bspaans.github.io/python-mingus/doc/wiki/tutorialFluidsynth.html.
Here's PR https://github.com/aniawsz/rtmonoaudio2midi/pull/4
@grinvaldsjanis I think first error happens because your use Python3 instead of Python2
@grinvaldsjanis I'm not 100% sure but it seems that you want to run python 2.x code via python3, there's no raw_input in python3, simply replace it with 'input', or run it with python 2.x
pip uninstall pyfluidsynth
pip install -Iv https://files.pythonhosted.org/packages/52/b0/239ec6c909d3902108824bd2fe6859b7cd51bf7a5fbe125df826fd991944/pyFluidSynth-1.3.0.tar.gz
for python 3.8 Note: using environments is suggested
Traceback (most recent call last):
File "C:\Users\body\Downloads\rtmonoaudio2midi-master\rtmonoaudio2midi-master\audiostream.py", line 6, in