|
With the Praat SoundRecorder window you can record a mono or stereo sound for subsequent viewing and analysis in Praat. The SoundRecorder appears on your screen if you choose Record mono Sound... or Record stereo Sound... from the New menu.
Depending on your system, the SoundRecorder window may allow you to choose the sampling frequency, the input gain, and the input device (microphone, line, or digital). The sound input level is monitored continuously with one or two meters. The resulting sound has 16 bits per sample, like sounds on an audio CD.
To record the sound, use the Record and Stop buttons in the SoundRecorder window. Click Save to list to copy the recorded sound to the object window (or Save left channel to list or Save right channel to list to copy the left or right channel if you have a stereo sound). The name of the resulting Sound object will be taken from the text field next to the button clicked.
The size of the recording buffer determines how many seconds of sound you can record. For instance, if the recording buffer is 20 megabytes (the standard value), you can record 220 seconds in stereo (440 seconds in mono) at a sampling frequency of 22050 Hz, or 110 seconds in stereo (220 seconds in mono) at a sampling frequency of 44100 Hz. You can change the size of the recording buffer with Praat → Settings → Sound recording settings....
On the Mac or in Linux, you can record from the list on the left in the SoundRecorder window. The list can contain several devices, such as the internal microphone, a line input, or external USB devices. Audio tracks on a CD can be opened directly with Read from file... or Open long sound file....
In Windows 10, you can choose your input device by right-clicking on the loudspeaker icon in the Start bar, then choosing Open Sound settings → Choose your input device. In Windows 11, you right-click the loudspeaker icon and choose Sound settings → Choose a device for speaking or recording instead." To set some input properties, right-click the loudspeaker icon, then on Windows 10 you choose Sounds → Recording → Properties, while on Windows 11 you choose Sound settings → Advanced → All sound devices → Input devices → Microphone.
While recording, you can watch the input level as a green rectangle whose size changes. Whenever the input is loud, the top of the rectangle becomes yellow; if it turns red, the sound may have been clipped. In the Meter menu you can choose other visualizations, such as a moving ball that measures spectral centre of gravity (horizontally) versus intensity (vertically).
If your computer has little memory, a very long recorded sound might be too big to be copied to the list of objects. Fortunately, the File menu contains commands to save the recording to a sound file on disk, so that you will never have to lose your recording. You can later open such a long sound file in Praat with Open long sound file... from the Open menu.
Your computer's sound-recording software returns integer values between -32768 and 32767. Praat divides them by 32768 before putting them into a Sound object, so that the values in the Sound objects are always between -1 and +1.
The Praat program considers these numbers to be air pressures in units of Pascal, but they are probably not the actual true air pressures that went into the microphone. For how to obtain the true air pressures, perform a sound pressure calibration.
© Paul Boersma 2020-11-20,2024