Listening in on conversations from a distance
What if we want to listen in on some event live as it goes down, but from a safe distance away from where the Pi's recording—exactly like a baby monitor?
We would need a way of broadcasting whatever is recorded across a network to another computer that we can listen to. Actually, we already have everything required to do this, SSH and SoX; one just has to know how to compose the command lines to wield these powerful tools.
Listening in Windows
You should have the full PuTTY suite installed from the Connecting to the Pi from Windows section in Chapter 1, Getting Up to No Good, as we will be using the plink
command for this example.
To download SoX for Windows, visit http://sourceforge.net/projects/sox/files/sox/ and click on the download link for the latest version (
sox-14.4.1-win32.exe
at the time of writing).Run the installer to install SoX.
(Optional) To be able to play MP3 files with SoX, download the decoder library file at http://www.intestinate...