TobKra96 / music_led_strip_control

Audio visualization for LED strips in real-time with web interface on a raspberry pi.
https://tobkra96.github.io/music_led_strip_control/
MIT License
297 stars 64 forks source link

alsa #125

Closed Adammc101 closed 3 years ago

Adammc101 commented 3 years ago

hi there, i am trying to install the server, but when i get to the end off the steps, i cannot get the default audio device to show, it just automatically selects the usb pnp device and doesnt start the server

pi@ledconfig:/share/music_led_strip_control/server $ sudo python3 main.py INFO - main - Initializing MLSC... INFO - main - Initialization finished. INFO - main - MLSC started... INFO - waitress - Serving on http://0.0.0.0:8080 INFO - libs.audio_process_service - Found the following audio sources: INFO - libs.audio_process_service - 2 - USB PnP Audio Device: Audio (hw:2,0) - 44100.0 ERROR - libs.audio_process_service - **** ERROR - libs.audio_process_service - Error ERROR - libs.audio_process_service - **** ERROR - libs.audio_process_service - Could not find the mic with the id: 0 ERROR - libs.audio_process_service - Using the first mic as fallback. ERROR - libs.audio_process_service - Please change the id of the mic inside the config. INFO - libs.audio_process_service - Selected ID: 2 INFO - libs.audio_process_service - Using 2 - USB PnP Audio Device: Audio (hw:2,0) - 44100.0 INFO - libs.device_manager - FPS: 114.36 INFO - libs.audio_process_service - Callback | FPS: 47.71 INFO - libs.audio_process_service - Routine | FPS: 47.89

can anyone help? thankyou