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

RedMixerChannel : Object
ExtensionExtension

channel strip

Description

Represents a channel on a mixing desk. volume, panning, eq, mute, inserts, level meters etc. Can be used on its own but more often inside of a RedMixer.

Class Methods

RedMixerChannel.new(out: 0, group, lag: 0.05)

Arguments:

out

Channel index for stereo bus.

group

If nil then Server.default.defaultGroup will be used.

lag

For eq settings, balance and volume. In seconds.

RedMixerChannel.restoreFile(path)

Reads back a redMixerChannel 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

RedMixerChannel.restoreArchive(archive)

Instance Methods

.group

The Group in use.

.out

.out = val

Get or set current bus.

.interp(other, val: 0)

Blend in values from another channel. Ignores out, mute, peaks and levels.

Arguments:

other

Another RedMixerChannel instance.

val

Blend fraction 0.0-1.0

.insertClass(redEfxClass, addAction: 'addToHead')

Creates a new RedEffectModule before the equalizer.

Arguments:

redEfxClass

A class or an array of classes.

addAction

Local to the inserts. The default \addToHead will put it first in the chain of inserts.

.insert(redEfx, addAction: 'addToHead')

Adds a RedEffectModule instance before the equalizer.

NOTE: You can not do .insert(RedEfxRing.new) without a fork.

Arguments:

redEfx

An instance or an array of instances.

addAction

Local to the inserts. The default \addToHead will put it first in the chain of inserts.

.inserts

List of current inserts.

.removeClass(redEfxClass)

Arguments:

redEfxClass

Free and remove all instances of this RedEffectModule class. Can also be an array.

.remove(redEfx)

Arguments:

redEfx

Free and remove this RedEffectModule. Can also be an array.

.removeAll

Free and remove all effects in one go.

.gui(parent, position)

Create a RedMixerChannelGUI.

.free

Free synth, equalizer and inserts.

.lag

.lag = val

Lag for this channel. Also for any equalizer parameters.

Arguments:

val

Time in seconds.

.mute

.mute = val

Mute the input sound. Post level meter.

Arguments:

val

An Integer where 1 is muted and 0 unmuted.

.def(channels: 2)

Returns the mixer channel SynthDef.

.defEq(channels: 2)

Returns the equalizer SynthDef.

.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.

.peaks

Array of current amplitudes.

.peaks

Array with maximum amplitudes. Clear with -resetPeaks.

.resetPeaks

Set the all values in peaks to 0.

.cvs

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

levelsarray of amplitudes
peaksarray of max amplitudes
outoutput bus offset
lagramp time in seconds for eq settings, balance and volume
mutesilence output
ampvolume
balstereo balance -1 to 1
eqHienable highpass 0 / 1
eqMienable bandpass 0 / 1
eqLoenable lowpass 0 / 1
hiFreq
hiBand
hiGain
miFreq
miBand
miGain
loFreq
loBand
loGain

Inherited instance methods

Undocumented instance methods

.archive

.bal

.bal = val

.eqHi

.eqHi = val

.eqLo

.eqLo = val

.eqMi

.eqMi = val

.hiBand

.hiBand = val

.hiFreq

.hiFreq = val

.hiGain

.hiGain = val

.levels

.loBand

.loBand = val

.loFreq

.loFreq = val

.loGain

.loGain = val

.miBand

.miBand = val

.miFreq

.miFreq = val

.miGain

.miGain = val

.restore(archive)

.vol

.vol = val

Examples