naztronaut / dancyPi-audio-reactive-led

Real-time WS2812b LED strip music visualization using Python and the ESP8266 or Raspberry Pi.
https://www.easyprogramming.net/raspberrypi/audio_reactive_holiday_leds.php
MIT License
240 stars 87 forks source link

file is unwritable #72

Open Anveshaaaa opened 1 year ago

Anveshaaaa commented 1 year ago

we want to change the card value, but keep getting the error that the file (sc_asound.conf) is unwritable. Does anyone know how to fix this?

naztronaut commented 1 year ago

Did you try editing as 'sudo'?

Anveshaaaa commented 1 year ago

yes thank you, we are able to change it now! :) But we have another issue, when we type 'arecord -l' we don't see a list of capture hardware devices and when we type 'aplay -l' we don't see loopback devices

Anveshaaaa commented 1 year ago

aisha@mypi:~ $ aplay -l List of PLAYBACK Hardware Devices card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 aisha@mypi:~ $ arecord -l List of CAPTURE Hardware Devices

Randyclaus commented 6 months ago

I am having this same issue. I am also getting errors when trying to install numpy.