py-simple-audio
py-simple-audio copied to clipboard
Examples from tutorial fail
Running the examples in python3.8 with numpy-1.18.3 leads to TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
The expired deprecations list for numpy-1.18.0 lists gh-14620 which states that num parameter must be of type int (deprecated since numpy-1.12.0).
I also ran into this problem.
Me too. Disappointing when the simple tutorial has a bug.
You can also change the duration to 1 so it works, but the suggestion above is better.