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

Issue on MAC OSX #30

Open
bonomip opened this issue Oct 24, 2023 · 2 comments
Open

Issue on MAC OSX #30

bonomip opened this issue Oct 24, 2023 · 2 comments

Comments

@bonomip
Copy link

bonomip commented Oct 24, 2023

site-packages/numpy/core/numeric.py", line 223, in ones
a = empty(shape, dtype, order)
TypeError: 'float' object cannot be interpreted as an index

caused by line 130 of "src/stream_reader_sounddevice.py".

solved by adding a hard cast to int.

self.data_windows_to_buffer = int(data_windows_to_buffer)

@jennsun
Copy link

jennsun commented Apr 30, 2024

Hi, were you able to get the audio visualizer to work on mac? I am having issues with opening the pygame visualizer with a Mac and would really appreciate some help. Thanks!

@nikao42
Copy link

nikao42 commented Oct 25, 2024

I was able to get the visualizer working during the first time I tried it. It worked fine but had the wrong input device selected. I then changed it to the correct one in run_FFT_analyzer.py (device = 2, # Pyaudio (portaudio) device index, defaults to first mic input) and it wouldn't work anymore. I tried reverting to the previous settings but had no luck, the window where the visualizer was supposed to open in freezes.

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

3 participants