Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi for Secret Agents - Second Edition

You're reading from   Raspberry Pi for Secret Agents - Second Edition Turn your Raspberry Pi into your very own secret agent toolbox with this set of exciting projects

Arrow left icon
Product type Paperback
Published in Jan 2015
Publisher
ISBN-13 9781784397906
Length 206 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Stefan Sjogelid Stefan Sjogelid
Author Profile Icon Stefan Sjogelid
Stefan Sjogelid
Arrow right icon
View More author details
Toc

Table of Contents (7) Chapters Close

Preface 1. Getting Up to No Good FREE CHAPTER 2. Audio Antics 3. Webcam and Video Wizardry 4. Wi-Fi Pranks – Exploring Your Network 5. Taking Your Pi Off-road Index

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.

  1. 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).

  2. Run the installer to install SoX.

  3. (Optional) To be able to play MP3 files with SoX, download the decoder library file at http://www.intestinate...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime