Grant suggested I try some changes, and this is what I've done:
In /boot/streambox.txt
- changed to soundcard=0
- Added login, wifi details
In /boot/config.txt
- added dtoverlay=iqaudio-codec
In /etc/dhcpcd.conf
- added static domain_name_servers=8.8.4.4 8.8.8.8
Also verified that the streambox server comes up on a different rpi, so the config is correct, it's just not working with the rpi zero w? is there a system change that breaks wifi for my rpi zero w maybe?
Thanks,
Aidan
On Wednesday, 14 April 2021, 23:17:21 GMT+1, aid <oootini(a)yahoo.com> wrote:
Sent from Yahoo Mail for iPhone
On Thursday, May 7, 2020, 00:34, aid <oootini(a)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.state
On Thursday, 7 May 2020, 00:11:01 BST, aid <oootini(a)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-Codec
Using 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=on dtoverlay=iqaudio-codec
then, copy the IQaudIO_Codec_StereoMIC_record_and_HP_playback.state file to the streambox, ssh and sudo alsactl --file /home/locusonus/IQaudIO_Codec_StereoMIC_record_and_HP_playback.state restoresudo alsactl store
will report if I can resolve the wifi noise issue.
|
|
|
| | |
|
|
|
| |
iqaudio/Pi-Codec
Tools for the IQaudIO Pi-Codec / CodecZero sound cards - iqaudio/Pi-Codec
|
|
|
On Wednesday, 6 May 2020, 14:12:38 BST, aid <oootini(a)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 -l
On 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 Stream Loaded: 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 ago Process: 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.4M CGroup: /system.slice/streambox-darkice.service |-4960 /usr/bin/sh /home/locusonus/bin/darkice.sh `-4977 /usr/bin/darkice -c /boot/darkice.cfg
May 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 Stream Loaded: 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 ago Process: 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)
Thanks very much, Trevor
That sounds really promising.
As you say, there are good databases of birds -- xeno-canto is actually pretty global in scope.
Other sounds are probably less well organised.
We have contacts on this topic. It might be interesting and useful to think how they might be in touch - some kind of seminar in real-time ecoacoustic analysis by AI?
bw
g
> On 24 Aug 2021, at 16:14, Trevor Hebert <thebert(a)stanford.edu> wrote:
>
> I'm currently working with some CS students on a somewhat similar system, except it monitors and detects wildfires. That effort should produce a pretty good conceptual framework and probably some useful code as well. The hardest part will be to acquire sets of training data to teach the AI how to identify sounds. Some areas, like North America and Europe should already have pretty good libraries of bird sounds. Insects? Amphibians? Mammals? Anthropogenic sounds? Maybe less so.
>
> Integration with Locus Sonus would be really cool - I could envision a scrolling sidebar on the world map that displays currently detected species that link the the audio streamer location. A searchable archive would be useful to researchers.
>
> Trevor
>
> Trevor Hebert
> Jasper Ridge Biological Preserve
> Stanford University
> 650-851-6815
> https://jrbp.stanford.edu <https://jrbp.stanford.edu/>
>
>
> From: Grant Smith <grant(a)soundtent.org <mailto:grant@soundtent.org>>
> Sent: Monday, August 23, 2021 10:36 AM
> To: Trevor Hebert <thebert(a)stanford.edu <mailto:thebert@stanford.edu>>
> Cc: Peter Sinclair <petesinc2(a)gmail.com <mailto:petesinc2@gmail.com>>; locustream(a)locusonus.org <mailto:locustream@locusonus.org> <locustream(a)locusonus.org <mailto:locustream@locusonus.org>>
> Subject: Re: Open Microphones for IUCN World Conservation Congress
>
> We re super interested to do this, and could potentially loop in some researchers from UK and elsewhere.
>
> Some progress has been made on this already in various places, so we'd have some starting points, I think
>
> Did you have thoughts on how to take it forward, Trevor!
> Maybe a call would be useful
>
> bw
> g
>
>
>
>> On 23 Aug 2021, at 18:11, Trevor Hebert <thebert(a)stanford.edu <mailto:thebert@stanford.edu>> wrote:
>>
>> On a different topic ... is there any interest in developing an AI engine for identification of sounds on our various streams? Perhaps integrated into Locus Sonus?
>> Check this out: https://www.apartmenttherapy.com/terra-bird-device-36963330?utm_source=RSS&… <https://www.apartmenttherapy.com/terra-bird-device-36963330?utm_source=RSS&…>
>>
>> I probably can recruit some Stanford computer science students to work on this.
>>
>> Trevor Hebert
>> Jasper Ridge Biological Preserve
>> Stanford University
>> 650-851-6815
>> https://jrbp.stanford.edu <https://jrbp.stanford.edu/>
>>
>>
>> From: Grant Smith <grant(a)soundtent.org <mailto:grant@soundtent.org>>
>> Sent: Monday, August 23, 2021 9:18 AM
>> To: Peter Sinclair <petesinc2(a)gmail.com <mailto:petesinc2@gmail.com>>
>> Cc: Trevor Hebert <thebert(a)stanford.edu <mailto:thebert@stanford.edu>>; locustream(a)locusonus.org <mailto:locustream@locusonus.org> <locustream(a)locusonus.org <mailto:locustream@locusonus.org>>
>> Subject: Re: Open Microphones for IUCN World Conservation Congress
>>
>> Thanks very much, Peter
>>
>> The server is, of course, generally highly reliable and gives great service to ppl working with live environmental sound and related projects.
>>
>> Of course we know now for the next Reveil event at start of May, so we can synch up to avoid issues.
>>
>> For one thing, from the Soundcamp side, we will review the design of the Reveil platform to reduce unnecessary demands on the server, which we didn't think through / anticipate.
>>
>> bw
>> grant
>>
>>
>>> On 20 Aug 2021, at 12:37, Peter Sinclair <petesinc2(a)gmail.com <mailto:petesinc2@gmail.com>> wrote:
>>>
>>> Hi Trevor and thanks for getting back to us.
>>>
>>> Concerning the issues during Reveil, thank you for pointing this out and yes we are aware that there where problems and apologise if it spoiled the event for anyone. It was due to two factors - one is that the service provider has limited the traffic to the locus mountpoint - we were not aware of this before (possibly becasue we had never hit the limit ) but it is rectifiable by announcing upcoming events to Creacast.com <http://creacast.com/>. The other problem is due to the architecture of the timeline page for Reveil which means that everytime someone updates the page it pings all the mountpoints including those which are not active because destined to be used for a performance at a specific time. We will fix these issues before the next soundcamp reveil. In the meantime it shouldn't be a problem for the soundwalk we are planning which is spread over several weeks (we are not expecting thousands of users at the same time).
>>>
>>> Thanks for you help,
>>>
>>> Best
>>> Peter
>>>
>>> Le 19/08/2021 à 17:21, Trevor Hebert a écrit :
>>>> Hi Peter,
>>>> Our mic is always on and always happy participate in streaming events:
>>>> http://locus.creacast.com:9001/jasper_ridge_birdcast.mp3 <http://locus.creacast.com:9001/jasper_ridge_birdcast.mp3>
>>>>
>>>> I've noticed during the last two Reveil events that LocusSonus has some kind of performance/capacity problem that impacts some streams, including ours. Our audio stream dropped out constantly during the Reveil event, something that never happens on our stream outside of Reveil. Is this a known issue? Too much traffic at once? It's not a network connectivity or equipment issue on our end.
>>>>
>>>> thanks,
>>>> Trevor
>>>>
>>>> Trevor Hebert
>>>> Jasper Ridge Biological Preserve
>>>> Stanford University
>>>> 650-851-6815
>>>> https://jrbp.stanford.edu <https://jrbp.stanford.edu/>
>>>>
>>>>
>>>> From: Peter Sinclair <petesinc2(a)gmail.com> <mailto:petesinc2@gmail.com>
>>>> Sent: Thursday, August 19, 2021 7:45 AM
>>>> To: kaorusaito <kaoru(a)cyberforest.jp> <mailto:kaoru@cyberforest.jp>; teum11(a)gmail.com <mailto:teum11@gmail.com> <teum11(a)gmail.com> <mailto:teum11@gmail.com>;SarahD(a)cumbriawildlifetrust.org.uk <mailto:SarahD@cumbriawildlifetrust.org.uk> <SarahD(a)cumbriawildlifetrust.org.uk> <mailto:SarahD@cumbriawildlifetrust.org.uk>; grant(a)soundtent.org <mailto:grant@soundtent.org><grant(a)soundtent.org> <mailto:grant@soundtent.org>; Trevor Hebert <thebert(a)stanford.edu> <mailto:thebert@stanford.edu>; Leah Barclay <leahbarclay(a)me.com> <mailto:leahbarclay@me.com>; Sukanta Majumdar <sukantamajumdar77(a)gmail.com> <mailto:sukantamajumdar77@gmail.com>; mkin(a)centrum.cz <mailto:mkin@centrum.cz> <mkin(a)centrum.cz> <mailto:mkin@centrum.cz>; gangil yi<giy.hands(a)gmail.com> <mailto:giy.hands@gmail.com>
>>>> Cc: Thierry BOTTI <thierry.botti(a)osupytheas.fr> <mailto:thierry.botti@osupytheas.fr>; gregoire lauvin <greglauvin(a)gregoirelauvin.net> <mailto:greglauvin@gregoirelauvin.net>
>>>> Subject: Open Microphones for IUCN World Conservation Congress
>>>>
>>>> Dear Streamers,
>>>>
>>>> I hope you are all well and that you haven't been too badly effected by
>>>> the pandemic.
>>>>
>>>> The last presentation of the geolocated stream soundwalk "des Mondes au
>>>> creux de l'oreille" that your stream participated in last year did take
>>>> place, but was of course affected by lockdowns etc. The second event it
>>>> was to be attached to - The World Conservation Conference
>>>> https://www.iucncongress2020.org/ <https://www.iucncongress2020.org/> was postponed and is finally taking
>>>> place this coming september.
>>>> We have decided to reactivate the piece for the event.
>>>>
>>>> Would it be possible for you to switch on your microphone for the event
>>>> (as soon as possible so that we can test the setup)? If this is not
>>>> possible please let us know so that we can find and alternative.
>>>>
>>>> As always our warm thanks for your participation!
>>>>
>>>> Best Wishes
>>>> Peter
Hi all
We'll be listening at this link at 6PM London time UTC+1 this evening Thursday 23 SEP, and chatting with Blanc Sceol about their legal case to clarify the status of the Channelsea River and its rights.
acousticommons.net/listen
We d be happy if you want to join us
Best wishes
Grant
sc