mc.dac~ Reference

Multichannel audio output and on/off

mc.dac~

Description

The mc.dac~ ("digital-to-analog converter") object sends its signal inputs to audio hardware. Double-click on an mc.dac~ to open the Audio Status window to configure audio settings and hardware.

Examples

Arguments

outputs [symbol]

Optional

When mc.dac~ has no arguments, it sends all channels of its connected multichannel input to audio output channels starting at logical channel 1.
When mc.dac~ has channel number arguments, it sends channels of its connected multichannel input to the specified audio output channel(s). If there are more channels in the multichannel input than channel arguments, the additional channels of the input are ignored.
If a symbol is provided as the first argument to a mc.dac~ object, its output will be sent to the Max mixer. If mc.dac~ instances in a patcher hierarchy share the same name they will use the same mixer output.

Attributes

Common Box Attributes

Messages

int

Arguments

on/off-flag [int]
A non-zero number turns on audio processing in all loaded patches. 0 turns off audio processing in all loaded patches.

list

Arguments

output-channel-designations [list]
A list of numbers sets the logical output channels for each channel in the multichannel input starting with the first input channel. For example, sending 3 4 5 to mc.dac~ will assign the first channel in an input multichannel signal to audio output channel 3, the second channel of the input to audio output channel 4, and the third channel of the input to audio output channel 5.

(mouse)

Double-clicking on mc.dac~ opens the Audio Status window.

open

Opens the Audio Status window.

set

Arguments

output-channel-designation [int]
The word set, followed by a number, sets the logical output channels for the first channel in the input multichannel signal. For instance, set 3 assigns the first channel of the input to logical output channel 3. To assign multiple channels, use the list message.

signal

The mc.dac~ object sends the audio in its multichannel input to audio output channels. The Arguments section describes how audio channels in the multichannel input are assigned to audio outputs. The signal must be between -1 and 1 to avoid clipping.

start

Turns on audio processing in all loaded patches.

startwindow

Turns on audio processing only in the patch in which this mc.dac~ 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 Audio Status window if it is open.

Output

Audio

mc.dac~ produces no output internal to the application. Signals received in its inlets are sent to its assigned logical audio output channels. You can assign logical channels to device output channels in the I/O Mappings subwindow of the Audio Status window.

See Also

Name Description
MC MC
MC MC
mc.adc~
dac~
ezdac~
adstatus
mc.ezadc~
mc.ezdac~
MSP: Audio Input and Output MSP: Audio Input and Output
MSP Basics Tutorial 1: Test Tone MSP Basics Tutorial 1: Test Tone