Previous | Contents | Index |
Record an audio file.
RECORD audio-file-spec
Qualifiers Defaults /AUDIO_DEVICE=device See text /SPEAKER=speaker /SPEAKER=EXTERNAL
audio-file-spec
Required parameter specifying the name of the output file to store the audio data in.
With the RECORD command, you can record audio data to an external file. This requires a workstation with an audio input device such as a VAXstation 4000 or an Alpha with _SOA0: devices. The raw data from the device, which is in 8 bit ISDN µ-law format, is output directly to the file and can be replayed with the PLAY command or included in mail messages which you send. The output file has no attributes and fixed length, 512 byte records; it is compatible with the MIME audio/basic content type and with the audio files used on most UNIX platforms. It is not, however, the same as a HP DIVA file. Use the Motif DECsound tool if you want to create DIVA files.
When recording data, press CTRL/Z to end the recording or CTRL/C to cancel the recording.
/AUDIO_DEVICE=device
Specify which input audio device to use. If not specified, then the device specification from the user's profile is used. If no profile setting has been made, then the _SOA0: device is used./SPEAKER=speaker
Specify which speaker to use, INTERNAL or EXTERNAL. If you do not select a speaker, then the external speaker will be used.
In the following example, audio data is recorded to the file JOKE.AU. The data in that file is then played back with the PLAY command and finally mailed as an attachment to a message.
EMAIL> RECORD JOKE.AU Press any key to begin recording. Press CTRL/Z when done, or CTRL/C to cancel: Recording... [CTRL/Z] %EMAIL-I-RECORDED, 96256 bytes recorded (11.75 seconds) to D1:[BOB]JOKE.AU;1 EMAIL> PLAY JOKE.AU Playing the file D1:[BOB]JOKE.AU;1 Press CTRL/C to cancel playback EMAIL> SEND/INSERT JOKE.AU To: MROCHEK Subject: A funny joke Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit: Mrocheck, Here's a joke I heard from Beckett. [CTRL/Z] EMAIL> SPAWN DELETE JOKE.AU %DELETE-I-FILDEL, D1:[BOB]JOKE.AU;1 deleted (188 blocks) EMAIL>
Previous | Next | Contents | Index |