ASIO Target

ASIO Target properties for Script Engine. Sends Composer's audio out through a professional ASIO sound device: to studio monitors, a mixing desk, a recorder or a broadcast chain, without going through the Windows audio stack. Pick a device, choose which of Composer's channels to send (Channel Offset and Channels Out) and the device output the first one plays on (Output Offset), and press Play. Channels go out as they are, in order; nothing is mixed. Windows only, at 48 kHz. The device can be the same one ASIO Device Capture inputs record from, and several ASIO Targets can share a device, each playing to its own outputs.

Property Type Access Description
AutoStart bool get/set Starts playing as soon as the project loads, as if you pressed Play. [default=true].
RestartAfterDeviceReset bool get/set Restarts playing by itself when the device resets. [default=true]. A device resets when its settings change while Composer uses it, for example its buffer size or sample rate, and takes no audio until the target starts again. When this is off, or the restart fails, the target stops and shows why; press Play to start it again.
AvailableASIODevices StringCollectionEnum get/set The ASIO device to play to. The list shows the ASIO devices installed on this computer; "Select Device" plays to none. ASIO Device Capture inputs and other ASIO Targets can use the same device. Stop the target to change it. If a device is missing from the list, check that its ASIO driver is installed.
OpenAsioControlPanelCommand Command get/set Opens the device's own settings window, where you set its buffer size, sample rate and other options. Available when a device is selected and nothing in Composer plays to or captures from it.
TotalOutputChannels int get How many output channels the selected device has (read-only). For example, an 8-output interface shows 8.
OutputChannelOffset int get/set The first of Composer's channels to send, counting from 1. [min=1, max=8, default=1]. For example, set it to 5 with Channels Out 1 to send only Composer's channel 5; Output Offset sets where on the device it plays. Stop the target to change it.
ChannelsOut int get/set How many of Composer's channels to send, counting from Channel Offset. [min=1, max=8, default=2]. They go out as they are, in order, to the outputs from Output Offset; nothing is mixed. The range never goes past Composer's 8 channels or the device's last output. Stop the target to change it.
DeviceOutputOffset int get/set The first device output to play to, counting from 1. [min=1, max=the device's outputs]. Composer's channels from Channel Offset go out in order from here: Channel Offset 3, Channels Out 2 and Output Offset 6 send Composer 3 and 4 to device outputs 6 and 7. Stop the target to change it. A project saved before this setting existed shows 0, the same number as Channel Offset, until a device is open.
OutputChannelStatus string get Which channels the target sends where (read-only), for example "Composer channels 3-4 to device outputs 6-7", or why it cannot send them as set. Follows Channel Offset, Channels Out and Output Offset.
AsioStatus MediaPlayerState get Whether the target is playing (read-only): Playing or Stopped.
AsioDeviceTargetStatus AsioTargetStatus get What the target is doing, or why it stopped (read-only): no device selected, device selected, playing, stopped, stopped after a device reset, or an error opening or starting the device. For an error, the Log section names the device and the reason.
AudioOutputMode AudioMode get/set Obsolete: use ChannelsOut. Reads the Mono/Stereo setting of projects saved before ChannelsOut existed: Mono becomes 1 channel and Stereo 2. The target no longer mixes, so a project that relied on the old blend logs a warning saying what it sends now. Setting it from a script still works; it can no longer be read.
StartCommand Command get/set Starts sending the selected Composer channels to the device. If the device could not be opened earlier, it is opened again first.
StopCommand Command get/set Stops sending audio to the device. The device stays selected, so StartCommand starts it again without choosing it anew.
ComponentLog ComponentLog get The target's five most recent events, each with its time and the device name: device selected, started, stopped, device resets and errors. Starts over each time the project opens.

Inherits from: AbstractTarget, NamedModel.

See also: ASIO Target in Targets — user-facing introduction, screenshots, and section summaries.