Audio-Spectrum-Analyzer-in-Python
Audio-Spectrum-Analyzer-in-Python copied to clipboard
numpy.linespace audio spectrumQT.py TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
I tried to run audio spetrumQT.py but it said TypeError: object of type <class 'float'> cannot be safely interpreted as an integer. Can someone please help.
Dividing by 2 makes it a float. Substitute '/' with '//' for integer division.