Receiving Streaming Audio


I was looking at this project:

Where they stream audio over the network from and ESP32 microcontroller to a Raspberry Pi, It looks like it sends a raw data stream and then in the Linux side, it gets piped to the aplay utility.

nc -l 4444 | aplay -r 8000 -f U8

I thought it would be fun to intercept the stream in Of, any thoughts on how to do that? Thanks!