Interesting Command Line Guys: Sox and Socat

Check out Socat. Let’s you pipe a file quickly over tcp and then grab it with netcat. Makes sense.


Sox is a sound processing swiss army knife. Intriguing. Use it like image magick. Can quickly resample sound. That’s what the rate 48000 does. -r specifies that rtl-sdr is outputting 240000 samples per second. -b is that they are byte samples. -c 1 is one channel (as compared to stereo)


spectrogram is an interesting option. It can produce a spectrogram of the signal. Could use this as a waterfall plot.

synth is also interesting. Can be used to make waveforms.

3 second sweep of a sine wave. 300Hz-3300Hz


Leave a Reply

Your email address will not be published. Required fields are marked *