Kind regards Paul
There are so many new and interesting AI applications being developed its never been a better time to be in bee keeping. Very exiting!
I have tried the following functions on one .WAV file with mixed results.
1a, 1w Power with --audiofile , --wavfile
2a, 2w Spectrogram with --audiofile , --wavfile
3a, 3w Analyzer with --audiofile , --wavfile
1a. Power with --audiofile
$ audiohealth power --audiofile samples/PCM009.WAV --pngfile samples/PCM009audpwr.png
==================
Peaks by frequency
==================
==============
Peaks by power
==============
========
Analysis
========
Colony has no activity.
Reason: There is no activity around 250Hz.
1w. Power with --wavfile
$ audiohealth power --wavfile samples/PCM009.WAV --pngfile samples/PCM009wavpwr.png
==================
Peaks by frequency
==================
93.75 Hz 190.13 RMS
==============
Peaks by power
==============
190.13 RMS 93.75 Hz
========
Analysis
========
Colony has no activity.
Reason: There is no activity around 250Hz.
$ audiohealth analyze --audiofile samples/PCM009.WAV --analyzer tools/osbh-audioanalyzer/bin/test --strategy lr-2.1
Duration: 47.87206349206349s
File: /tmp/tmpqsyb7a51.wav.dat
Strategy: lr-2.1
==================
Sequence of states
==================
missing_queen, swarm, swarm, swarm, collapsed, collapsed, collapsed, swarm, collapsed
===================
Compressed timeline
===================
0s - 10s missing_queen =
10s - 40s swarm ===
40s - 70s collapsed ===
70s - 80s swarm =
80s - 90s collapsed =
==============
Total duration
==============
40s swarm ====
40s collapsed ====
10s missing_queen =
======
Result
======
The most common events (i.e. the events with the highest total duration) are:
The colony is mostly in »SWARM« state, which is going on for 40 seconds.
Sometimes, the state oscillates to »COLLAPSED«, for 40 seconds in total.
==========
Disclaimer
==========
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. NO LIABILITY FOR ANY DAMAGES WHATSOEVER.
3w. Analyzer with --wavfile
$ audiohealth analyze --wavfile samples/PCM009.WAV --analyzer tools/osbh-audioanalyzer/bin/test --strategy lr-2.1
Duration: 47.872s
File: samples/PCM009.WAV.dat
Strategy: lr-2.1
==================
Sequence of states
==================
active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active, active
===================
Compressed timeline
===================
0s - 360s active ====================================
==============
Total duration
==============
360s active ====================================
======
Result
======
The most common events (i.e. the events with the highest total duration) are:
The colony is mostly in »ACTIVE« state, which is going on for 360 seconds.
==========
Disclaimer
==========
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. NO LIABILITY FOR ANY DAMAGES WHATSOEVER.
I’m not sure if the problem lies in the signal strength of the audio sample or the ability of lr-2.1 to discern.
As mentioned above. We do not have the OSBH learning script and it is closed source never published (afaik) from OSBH. So we would have to develop it new from scratch and also the matching analysing part. But I’m not so deep in the code perhaps @Andreas can add some insights what we have and what OSBH has closed and not public developed since 2017.