recordInput

Specifies where the record sound command should listen when recording a sound file.

# Metadata

Platforms: desktop OS: mac Introduced: 2.0 Security:

# Syntax

set the recordInput to soundSource

# Examples

set the recordInput to "imic" -- internal microphone

set the recordInput to "cd"

if the recordInput is not in permittedDevices then exit mouseUp

# Description

Use the recordInput property to record sound from the system's microphone, a CD player, or other sources.

The recordInput property determines which input device is used as the sound source when you use the record sound command to record sound.

The value "dflt" indicates that the record sound command should use the sound input device chosen in the user's system settings. If a different *soundSource* is specified, that input device is used instead.

# Tags

# See

- **keyword:** string - **property:** playDestination - **command:** open driver, record sound - **glossary:** command, property