#!/usr/bin/env python3
import audiogen
audiogen.sampler.play(audiogen.tone(440))
jeff@machine:~$ ./test_audio.py
Traceback (most recent call last):
File "./test_audio.py", line 3, in <module>
import audiogen
File "/home/jeff/.local/lib/python3.6/site-packages/audiogen/__init__.py", line 2, in <module>
from .sampler import frame_rate
File "/home/jeff/.local/lib/python3.6/site-packages/audiogen/sampler.py", line 64
except IOError, e:
^
SyntaxError: invalid syntax
Running Python 3.6.9
The following script:
Generates the error:
audiogen/audiogen/sampler.py
Line 64 in 184dee2