Hardware Reference
In-Depth Information
Talking in Windows
First make sure SoX is added to Windows as per the instructions in the Listening in
Windows section.
1. Connect your microphone and check the input volume of your device. You'll
find the settings in Control Panel | Hardware and Sound | Manage audio
devices under the Recording tab. Make your microphone the default device
by selecting it and clicking on Set Default .
2. Start a command prompt from the Start menu by clicking on the shortcut
or by typing cmd in the Run/Search field.
3. We can start a monitoring loop first to ensure our microphone works
as intended:
C:\> "C:\Program Files (x86)\sox-14-4-1\sox" -d -d
4.
Now, to send the audio from our microphone to the speakers on the Pi,
use the following command:
C:\> "C:\Program Files (x86)\sox-14-4-1\sox" -d -t wav - | "C:\
Program Files (x86)\PuTTY\plink" pi@[IP address] -pw [password]
sox -q -t wav - -d
5.
Maybe you'd like to broadcast some nice music or a prerecorded message
instead of your own live voice? Use the following command to send My
Song.mp3 from your desktop to be played out of the speakers connected to
the Pi:
C:\> type "%UserProfile%\Desktop\My Song.mp3" | "C:\Program Files
(x86)\PuTTY\plink" pi@[IP Address] -pw [password] sox -t mp3 - -d
6.
Or why not broadcast an entire album with sweet tunes located in the My
Album folder on the desktop:
C:\> type "%UserProfile%\Desktop\My Album\*.mp3" | "C:\Program
Files (x86)\PuTTY\plink" pi@[IP Address] -pw [password] sox -t mp3
- -d
Talking in Mac OS X or Linux
First make sure SoX is added to your operating system as per the instructions in the
Listening in Mac OS X or Linux section.
1.
Connect your microphone and check the input volume of your device. On
Mac, you'll find the settings in System Preferences | Sound under the Input
tab. Make your microphone the default device by selecting it from the list.
On Linux, use the default mixer application of your distribution or alsamixer .
 
Search WWH ::




Custom Search