RedMixer:
Filter:
Classes (extension) | Red > redMixer

RedMixer : Object
ExtensionExtension

create and hold multiple RedMixerChannel
Source: RedMixer.sc

Description

A mixer that can mix any number of channels (RedMixerChannel) into one or more subgroups.

Class Methods

RedMixer.new(inputChannels: [ 2, 4, 6, 8 ], outputChannels: [ 0 ], group, lag: 0.05)

Arguments:

inputChannels

Array of input stereo channels. A matching array of RedMixerChannel channels will be created.

outputChannels

Array of output stereo channels. A matching array of RedMixerChannel mixers will be created (think subgroups).

group

nil boots the default server and creates a group after the defaultGroup.

NOTE: Passed in groups are not freed when this RedMixer instance is freed.
NOTE: Boot the server before passing in a group.
lag

For equalizer settings, balance and volume. In seconds.

RedMixer.restoreFile(path)

Reads back a redMixer with all settings from an archived instance. Also see -store.

NOTE: Call .init after this to initialize server side objects.

Arguments:

path

A file path as a string.

Inherited class methods

Undocumented class methods

RedMixer.restoreArchive(archive)

Instance Methods

.group

The Group in use.

.channels

An array of RedMixerChannel objects matching *new's inputChannels argument.

.mixers

An array of RedMixerChannel objects matching *new's outputChannels argument.

.mixer

Shortcut for mixers[0] as in the normal case only this one mixer is used (no subgroups). See -mixers.

.inputChannels

.inputChannels = arr

Get or set the array of current inputChannels.

.outputChannels

.outputChannels = arr

Get or set the array of current outputChannels.

.free

Free synths and, if created, the internal group.

.gui(position)

Create a RedMixerGUI.

Arguments:

position

A Point.

.lag

.lag = val

Lag for all mixers and channels.

Arguments:

val

Time in seconds.

.mute = val

Mute input channels.

Arguments:

val

1= mute all channels, 0= unmute

.solo = channel

Solo input channel(s)

Arguments:

channel

Index of input channel. Can also be an array of indices.

.def(inputChannels: [ 2, 4, 6, 8 ])

Should probably be private.

.store(path)

Saves an instance as an archive to disk. All settings and effect inserts are stored. Also see *restoreFile.

Arguments:

path

A file path as a string.

.cvs

Dictionary with all Ref objects. (used to be CV objects)

laglag time in seconds (linear)

Inherited instance methods

Undocumented instance methods

.archive

.isReady

.restore(archive)

Examples