A newer version of Max is available. Click here to access the latest version of this document.

ezadc~

Audio input and on/off button

Description

ezadc~ works as a user interface version of the adc~ object. It appears as a button which can be clicked with the mouse to turn audio on or off.

Arguments

None.

Messages

local behavioral-flag (0 or 1) [int]
The word local, followed by 1, makes a click to turn on an ezadc~ object equivalent to sending it the startwindow message. The message local 0 returns the ezadc~ object to its default mode where a click to turn it on is equivalent to the start message.
(mouse) Clicking on ezadc~ toggles audio processing on or off. Audio on is represented by the object being highlighted.
open Opens the DSP Status window. The window is also brought to the front.
start Turns on audio processing in all loaded patches.
startwindow Turns on audio processing only in the patch in which this ezadc~ is located, and in subpatches of that patch. Turns off audio processing in all other patches.
stop Turns off audio processing in all loaded patches.
wclose Closes the DSP Status window.

Attributes

Name Type g/s Description
bgcolor float Sets the color of the ezadc~ button background in RGBA format.
local int
def.:0
Toggles enabling/disabling audio input for the local window only in the patch in which this ezadc~ is located, and in subpatches of that patch. Turns off audio processing in all other patches.
offgradcolor1 float Sets the first gradient color used in the ezadc~ button in the off position in RGBA format.
offgradcolor2 float Sets the second gradient color used in the ezadc~ button in the off position in RGBA format.
ongradcolor1 float Sets the first gradient color used in the ezadc~ button in the on position in RGBA format.
ongradcolor2 float Sets the second gradient color used in the ezadc~ button in the on position in RGBA format.

Information for box attributes common to all objects

Output

signal: Out left outlet: Audio input from channel 1.

Out right outlet: Audio input from channel 2.

Examples

Audio input for processing and recording

See Also

Name Description
adstatus Report and control audio driver settings
ezdac~ Audio output and on/off button
adc~ Audio input and on/off
MSP: Audio Input and Output MSP: Audio Input and Output
MSP Tutorial 13: Recording and Playback MSP Tutorial 13: Recording and Playback