Recommendations for a Library Working with Live Audio

Good morning all,

I'm a first time poster here, but a long-time Arduino user. I'm an RF engineer with a master's degree that is a few years out of school, but I have been using Arduinos since I was in high school.

I have never used one to interact with live audio before. I have an incoming audio signal that carries digital data that I would like to decode. This is the time signal from radio station WWV. You can find more information about WWV here: WWV and WWVH Digital Time Code and Broadcast Format

Anyhow, a short summary of this signal is that it sends the current time with a clock signal at 1kHz and a data signal at 100Hz. I want to use an Arduino to identify these signals in real time and write the incoming binary from the data signal to a buffer for later decoding.

What library can I use to do this? WWV also supports several other signals for indexing, like a 1.5kHz tone at the top of the hour and a 1kHz long tone at the beginning of each minute.

I would love to write something like:

if <1000hz short pulse>:
index seconds counter by 1;
measure 100Hz subcarrier pulse length
if <100Hz subcarrier length is greater than 10ms>:
Bit is a digital "1"
else if
Bit is a digital "0"
Write 100Hz subcarrier bit to buffer

etc, etc...

Thanks!