Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy.linespace audio spectrumQT.py TypeError: object of type <class 'float'> cannot be safely interpreted as an integer. #14

Open
techwithanirudh opened this issue Nov 27, 2020 · 1 comment

Comments

@techwithanirudh
Copy link

techwithanirudh commented Nov 27, 2020

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.

@Dodo0303
Copy link

Dividing by 2 makes it a float. Substitute '/' with '//' for integer division.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants