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
I feel I must be doing something wrong here in executing the python script to pick-up the raw audio and send to a file. Have been following the detailed write-up for realtime ML audio suppression on Pico 2 in Magpi #146. However am hitting the same error here regardless of IDE or OS (tired on Windows 11 in VSCode and RPI5 w/ Geany, Thonny and VSCode).
Pyserial lib is installed in both cases. Debug shows nothing in sys.argv array
File "/home/pi/Workspace/rnnoise-examples-for-pico-2/examples/serial/serial_denoise.py", line 10, in
port = sys.argv[1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
I feel I must be doing something wrong here in executing the python script to pick-up the raw audio and send to a file. Have been following the detailed write-up for realtime ML audio suppression on Pico 2 in Magpi #146. However am hitting the same error here regardless of IDE or OS (tired on Windows 11 in VSCode and RPI5 w/ Geany, Thonny and VSCode).
Pyserial lib is installed in both cases. Debug shows nothing in sys.argv array
File "/home/pi/Workspace/rnnoise-examples-for-pico-2/examples/serial/serial_denoise.py", line 10, in
port = sys.argv[1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: