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

RedMixerChannel
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

.new

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.

archiving

.restoreFile

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.

.restoreArchive

Similar to *restoreFile but directly takes an Archive as argument.

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

Arguments:

archive

An Archive.

Instance Methods

.bal

Get and set channel stereo balance (-1.0 to 1.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 high band 0 / 1
eqMienable middle band 0 / 1
eqLoenable low band 0 / 1
hiFreqhigh cutoff frequency in Hz
hiBandbandwidth (rq)
hiGaingain in dB
miFreqmiddle center frequency in Hz
miBandbandwidth (rq)
miGaingain in dB
loFreqlow cutoff frequency in Hz
loBandbandwidth (rq)
loGaingain in dB

.def

Returns the mixer channel SynthDef.

.defEq

Returns the equalizer SynthDef.

.free

Free synth, equalizer and inserts.

.group

The Group in use.

.gui

Create a RedMixerChannelGUI.

Arguments:

parent

Can be a Window or View or nil (then a new window will be created).

position

A Point.

.interp

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

Arguments:

other

Another RedMixerChannel instance.

val

Blend fraction 0.0-1.0

.lag

Lag for this channel. Also for any equalizer parameters.

Arguments:

val

Time in seconds.

.levels

An Array with floats representing the current channel amplitudes.

.mute

Mute the input sound. Post level meter.

Arguments:

val

An Integer where 1 is muted and 0 unmuted.

.out

Get or set current bus.

.peaks

Array of current amplitudes.

.peaks

Array with maximum amplitudes. Clear with -resetPeaks.

.resetPeaks

Set the all values in peaks to 0.

.vol

Get and set channel volume (in dB).

archiving

.archive

Returns a dictionary with settings that will be archived. Normally it is better to use -store and write the archive to disk.

.restore

Load settings from a dictionary. Normally it is better to use *restoreFile and read the archive from disk.

Arguments:

archive

Current settings as a dictionary.

.store

Saves an instance as an archive to disk. All settings and effect inserts are stored. To read it back use *restoreFile.

Arguments:

path

A file path as a string.

inserts (effect modules)

.insertClass

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

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

Arguments:

redEfxClass

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

.remove

Arguments:

redEfx

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

.removeAll

Free and remove all effects in one go.

equalizer

.eqHi

Activate channel equalizer high band (0=off, 1=on). Also get.

.eqLo

Activate channel equalizer low band (0=off, 1=on). Also get.

.eqMi

Activate channel equalizer middle band (0=off, 1=on). Also get.

.hiBand

Get and set channel equalizer high band bandwidth (rq). Note: activate band first with eqHi= 1.

.hiFreq

Get and set channel equalizer high band frequency (in Hz). Note: activate band first with eqHi= 1.

.hiGain

Get and set channel equalizer high band gain (in dB). Note: activate band first with eqHi= 1.

.loBand

Get and set channel equalizer low band bandwidth (rq). Note: activate band first with eqLo= 1.

.loFreq

Get and set channel equalizer low band frequency (in Hz). Note: activate band first with eqLo= 1.

.loGain

Get and set channel equalizer low band gain (in dB). Note: activate band first with eqLo= 1.

.miBand

Get and set channel equalizer middle band bandwidth (rq). Note: activate band first with eqMi= 1.

.miFreq

Get and set channel equalizer middle band frequency (in Hz). Note: activate band first with eqMi= 1.

.miGain

Get and set channel equalizer middle band gain (in dB). Note: activate band first with eqMi= 1.

Examples