py-simple-audio icon indicating copy to clipboard operation
py-simple-audio copied to clipboard

Examples from tutorial fail

Open floesche opened this issue 5 years ago • 3 comments

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.

floesche avatar May 06 '20 20:05 floesche

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).

floesche avatar May 06 '20 20:05 floesche

I also ran into this problem.

cool-RR avatar Jun 23 '20 14:06 cool-RR

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.

furicle avatar May 20 '23 11:05 furicle