On Thursday, May 7, 2020, 00:34, aid <oootini@yahoo.com> wrote:
OK, last one, and sorry for the spam. excited to get this working. wifi noise totally eliminated by setting the mic mux inputs to Mic 1 Amp Source MUX [MIC_P] and Mic 2 Amp Source MUX [MIC_N].my alsamixer state with this configuration is attached below. Run it with sudo alsactl restore -f stereo_mic_config.stateOn Thursday, 7 May 2020, 00:11:01 BST, aid <oootini@yahoo.com> wrote:For anyone interested, i was able to get the iqaudio Pi-CodecZero card working with an rpi zero w after running the stereo mic script here: iqaudio/Pi-CodecUsing a stereo pair microUsi, still hearing wifi noise with the iqaudio card mounted directly on top of the zero. There are a number of alsamixer settings to play with, so maybe the wifi noise can be eliminated there. Also I'm testing this beside a mess of synths and electricty so maybe i need to move the streambox somewhere less noisy.to bring up the box was as follows:changed in /boot/config.txt:#dtparam=audio=ondtoverlay=iqaudio-codecthen, copy the IQaudIO_Codec_StereoMIC_record_and_HP_playback.state file to the streambox, ssh andsudo alsactl --file /home/locusonus/IQaudIO_Codec_StereoMIC_record_and_HP_playback.state restoresudo alsactl storewill report if I can resolve the wifi noise issue.On Wednesday, 6 May 2020, 14:12:38 BST, aid <oootini@yahoo.com> wrote:Hi folks,trying to set up an iqaudio Pi-CodecZero as described by Udo some days ago. Device seems to be loaded with lsmod | grep iqaudio and is seen at arecord -lOn boot, the pi zero starts up, I can see streambox.local, then the stream comes up, is clikable on the map, but fails after a few min. is there another step required for the darkice.cfg that needs to be set? Do i need to set the device in darkice.cfg - device = hw:IQaudIOCODEC ?everytime I try and edit darkice.cfg, the system resets the file. where can i make this change if in fact it needs to be set?I get a 404 on http://locus.creacast.com:9001/cork_st._luke_s.ogg which seems to suggest a darkice misconfig...* streambox-darkice.service - Locusonus Streambox Live StreamLoaded: loaded (/usr/lib/systemd/system/streambox-darkice.service; enabled; vendor preset: disabled)Active: active (running) since Wed 2020-05-06 12:59:10 UTC; 434ms agoProcess: 4950 ExecStartPre=/home/locusonus/bin/audio.sh --setup (code=exited, status=0/SUCCESS)Process: 4961 ExecStartPost=/usr/bin/sleep 7 (code=exited, status=0/SUCCESS)Main PID: 4960 (darkice.sh)Tasks: 3 (limit: 987)Memory: 1.4MCGroup: /system.slice/streambox-darkice.service|-4960 /usr/bin/sh /home/locusonus/bin/darkice.sh`-4977 /usr/bin/darkice -c /boot/darkice.cfgMay 06 12:59:02 streambox systemd[1]: Starting Locusonus Streambox Live Stream...May 06 12:59:03 streambox darkice.sh[4960]: Local ip address: 192.168.1.79May 06 12:59:03 streambox darkice.sh[4960]: Download darkice config for 'oootinistream'May 06 12:59:03 streambox darkice.sh[4964]: [159B blob data]May 06 12:59:03 streambox darkice.sh[4977]: DarkIce 1.2 live audio streamer, http://code.google.com/p/darkice/May 06 12:59:03 streambox darkice.sh[4977]: Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/May 06 12:59:03 streambox darkice.sh[4977]: Copyright (c) 2008-2013, Akos Maroy and Rafael DinizMay 06 12:59:03 streambox darkice.sh[4977]: This is free software, and you are welcome to redistribute itMay 06 12:59:03 streambox darkice.sh[4977]: under the terms of The GNU General Public License version 3 orMay 06 12:59:03 streambox darkice.sh[4977]: any later version.May 06 12:59:03 streambox darkice.sh[4977]: Using config file: /boot/darkice.cfgMay 06 12:59:03 streambox darkice.sh[4977]: Using ALSA DSP input device: plughw:0,0May 06 12:59:03 streambox darkice.sh[4977]: Using POSIX real-time scheduling, priority 3May 06 12:59:10 streambox systemd[1]: Started Locusonus Streambox Live Stream.* streambox-darkice.service - Locusonus Streambox Live StreamLoaded: loaded (/usr/lib/systemd/system/streambox-darkice.service; enabled; vendor preset: disabled)Active: activating (auto-restart) (Result: exit-code) since Wed 2020-05-06 13:04:17 UTC; 6s agoProcess: 5493 ExecStartPre=/home/locusonus/bin/audio.sh --setup (code=exited, status=0/SUCCESS)Process: 5503 ExecStart=/home/locusonus/bin/darkice.sh (code=exited, status=255/EXCEPTION)Process: 5504 ExecStartPost=/usr/bin/sleep 7 (code=exited, status=0/SUCCESS)Main PID: 5503 (code=exited, status=255/EXCEPTION)