soundRecorder Object
The *soundRecorder
object is a child view of the root view. It is a built-in user interface object that lets the user control recording and playback.After opening the recorder slip with either *
OpenPlay
or *OpenRecord
, you can change several slots in the sound recorder base view to override values in the associated sound channel and sound frames created by it. The slots you can change are as follows:Slot descriptions
You can also send the following messages to the *
fSoundFrameSlots
- A frame that contains any slots that you want to be copied to the sound frames for recording. This frame overrides the default values of the slots in any sound frames created by *
soundRecorder
.fInputGain
- Sets the
inputGain
slot in the sound channel.fInputDevice
- Sets the
inputDevice
slot in the sound channel.fOutputDevice
- Sets the
outputDevice
slot in the sound channel.fCallback
- A function that is called when the user taps the close box to close the recorder. It is passed a single argument, the array of sound frames that were allocated as a result of recording. Note that this slot is set by the *
OpenRecord
method (it's the argument you passed to *OpenRecord
), so if you open the recorder by calling *OpenRecord
, then you don't need to also set this slot.soundRecorder
object.
![]()
![]()
![]()
![]()
© Apple Computer, Inc.
26 APR 1997Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help