Open erikvold opened 8 years ago
It seems I didn't create a release yet to include the commits that support Python 3. Can you try to install the master branch?
Hi, i work on an raspberry for use it as a soundmeter with an usb mic, have the same issue and i'm on the master branch
pi@raspberrypi ~> soundmeter
/usr/local/lib/python2.7/dist-packages/pydub/utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Traceback (most recent call last):
File "/usr/local/bin/soundmeter", line 9, in <module>
load_entry_point('soundmeter==0.1.3', 'console_scripts', 'soundmeter')()
File "/usr/local/lib/python2.7/dist-packages/soundmeter-0.1.3-py2.7.egg/soundmeter/meter.py", line 318, in main
m.start()
File "/usr/local/lib/python2.7/dist-packages/soundmeter-0.1.3-py2.7.egg/soundmeter/meter.py", line 118, in start
record = self.record()
File "/usr/local/lib/python2.7/dist-packages/soundmeter-0.1.3-py2.7.egg/soundmeter/utils.py", line 51, in start
g.next()
File "/usr/local/lib/python2.7/dist-packages/soundmeter-0.1.3-py2.7.egg/soundmeter/meter.py", line 92, in record
data = self.stream.read(FRAMES_PER_BUFFER)
File "/usr/local/lib/python2.7/dist-packages/pyaudio.py", line 608, in read
return pa.read_stream(self._stream, num_frames, exception_on_overflow)
IOError: [Errno -9981] Input overflowed
I tried this with python3 on osx 10.11 and ran into a few errors, here they are in received order:
SyntaxError: Missing parentheses in call to 'print'
ImportError: No module named 'StringIO'
ImportError: No module named 'ConfigParser'
TypeError: object() takes no parameters
NameError: name 'xrange' is not defined
all standard python2 -> python3 conversion issues, which I worked through with some quick fixes, and finally got to this attempt:
Which didn't seem like a standard error, so I moved to another osx to try python2, and ran in to issue #7, but that is a separate issue...