-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting different audio on live stream from orcasound.net vs. the aws bucket #219
Comments
@bnestor Are you using/adapting the utilities orca-hls-utils directly in your own code, or using the LiveInferenceOrchestrator script script? |
I am using the the live inference orchestrator script. The only difference is that I had the config adjusted to skip deleting the local wav files (https://github.com/orcasound/aifororcas-livesystem/blob/main/InferenceSystem/src/LiveInferenceOrchestrator.py#L221) , and I was calling a different model in line 179. The exact script is here Compared to when it was working in September the following uncontrollable factors have changed:
I will post links to the recordings coming from hlsstream and their corresponding reports later today. |
Here is a proton drive link to the wav files in case you would like to listen to what was recorded by hlsstream vs the orcasound.net reports: https://drive.proton.me/urls/HB2JB76SC4#XrhUvTGW7vyz |
I have yet to really dig into this, but some details I can fill in:
So I don't have an immediate explanation for what you're experiencing @bnestor, but the first thing that comes to mind is to check if the machine detections at https://aifororcas.azurewebsites.net/ are lining up correctly with what's in the |
My initial thoughts are 1) my local time zone is somehow influencing what is getting collected from HLS utils. Perhaps I am grabbing data from my offset to PST. 2) the data coming from the node at port townsend is getting mapped to the wrong AWS bucket (but I think this would also affect the live stream). 3) it is also possible the incorrect M3U8 files are getting downloaded at a given time. To test 3, I will take a look at the m3u8 files that are being downloaded from AWS. Not sure if I can fetch them with the original creation timestamps, but I will give it a shot this weekend. The filenames for these are like One last thing, on the |
I am encountering a strange phenomenon, where in the audio streams from orcasound.net, the orcas are very easy to identify. However, the spectrograms generated by the live inference orchestrator, as well as the corresponding wav files that I am saving do not sound anything like their corresponding clips, even though I recorded them and played them back within minutes of getting them.
This was noticed across events at both bush point and port townsend nodes today. It was my understanding that the hls utils and the orcasite use the same buckets. Is it possible they got switched somehow? Or is there a time-delay on the website that is substantially different from the buckets? The arcatia positioning was quite consistent with the website stream.
The bucket that I am pulling from is https://s3-us-west-2.amazonaws.com/audio-orcasound-net/rpi_bush_point for bush point, and https://s3-us-west-2.amazonaws.com/audio-orcasound-net/rpi_port_townsend for port townsend.
Here are is a spectrogram in the middle of bouts at port townsend (rpi_port_townsend_2024_12_01_12_16_21_PST):
And for comparison, here is what I would expect based off of orcasound-lab events earlier in the year (rpi-orcasound-lab_2024_09_21_15_00_00_PDT]):
The text was updated successfully, but these errors were encountered: