You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
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.
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)
The text was updated successfully, but these errors were encountered: