SoundRecorder

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.

Usage

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.

Size of the recording buffer

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 Sound input prefs... from the Preferences menu.

If you recorded a very long sound, it is probable that you cannot copy it to the list of objects. In such a case, you can still write the sound to disk with one of the Save commands in the File menu. You can then open such a long sound file in Praat with Open long sound file... from the Open menu.

Recording sounds on MacOS X

You can record from the combined microphone / line input. On some computers, these are separate.

Note that in MacOS X you cannot record from the internal CD. This is because the system provides you with something better. If you open the CD in the Finder, you will see the audio tracks as AIFC files! To open these audio tracks in Praat, use Read from file... or Open long sound file....

The File menu

If your computer has little memory, a very long recorded sound can 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.

Sound pressure calibration

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.

Links to this page


© ppgb, January 29, 2011