Reference "Book" - Teku16/liveatc-rpi GitHub Wiki
written by Mikey Kopp at Liberty University.
last revision: 9/14/2017
http://wiki.radioreference.com/index.php/Live_Audio/Ubuntu_Darkice
sudo nano /etc/stream1.cfg
- FIX:
- OVERVIEW: change "sampleRate" in file stream1.cfg (or similar) to a lower rate (I used 22050 rather than default 44100)
- RELATED DOCS: LinuxQuestions.org
"ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM " OR "DarkIce: DarkIce.cpp:1273: can't open connector [0]"
- FIX:
- OVERVIEW: change "device" in file stream1.cfg (or similar) to the proper device identifier.
- STEPS:
- Run command "arecord -l" to list sound devices.
- If listed, the device should say something like "card 1: , device 0:".
- From my experience, the proper device number should be the card number, NOT the device number.
- Open your config file (mine is stream1.cfg, as denoted above).
- Find the line that says "[input]", directly below is "device". Change that to your device identifier (hw:x,x).
In my example, that is "hw:1,0" (hw = "hardware", 1,0 = card 1, device 0 [possibly])
- STEPS:
- OVERVIEW: change "device" in file stream1.cfg (or similar) to the proper device identifier.