Package Ableton DSP

abl.device.drift~

Drift synthesizer

Description

Drift synthesizer

Arguments

None.

Attributes

drift[float64]

Sets the amount of variation per voice. The variation slightly affects different aspects of the voice's sound, such as the pitch and filter cutoff.

env1attack[float64]

Time in seconds needed to travel from the initial value to the peak

env1decay[float64]

Time in seconds needed to travel from the peak to the sustain level

env1release[float64]

Time in seconds needed to travel back to zero after a note ends

env1sustain[float64]

The level reached at the end of the decay stage until the note ends.

env2attack[float64]

Time in seconds needed to travel from the initial value to the peak

env2decay[float64]

Time in seconds needed to travel from the peak to the sustain level

env2freq[float64]

Sets the frequency of the cycling envelope in Hz.

env2hold[float64]

Sets how long the cycling envelope will stay at its maximum level.

env2mode[long]

Enable/disable whether envelope 2 functions as a cycling envelope.

env2release[float64]

Time in seconds needed to travel back to zero after a note ends

env2sustain[float64]

The level reached at the end of the decay stage until the note ends.

env2tilt[float64]

Sets the midpoint of the cycling envelope. At very low or high values, this also affects the envelope's slopes.

filtermod1amount[float64]

Modulates the low-pass filter frequency using the selected modulation source. If set to 100%, the modulation creates a frequency shift of approximately nine octaves.

filtermod2amount[float64]

Modulates the low-pass filter frequency using the selected modulation source. If set to 100%, the modulation creates a frequency shift of approximately nine octaves.

filtermodsrc1[long]

Select a modulation source to modulate the low-pass filter cutoff frequency.

filtermodsrc2[long]

Select a modulation source to modulate the low-pass filter cutoff frequency.

filtertracking[float64]

Sets the amount of filter modulation based on which note is played.

gain[float64]

Set the overall volume of the instrument

glidetime[float64]

Adjusts the time in seconds that overlapping notes take to slide their pitch to the next incoming pitch. Glide is only available if the voice mode is set to mono and notes are played legato.

hpfreq[float64]

Defines the center of the cutoff frequency of the high-pass filter.

legato[long]

Enable/disable whether triggering a new voice will change its pitch without retriggering the envelopes. Legato is only available if the voice mode is set to mono.

lfoamount[float64]

Adjusts the amount of LFO modulation applied to incoming signals.

lfofreq[float64]

Sets the rate of the LFO in Hz.

lfomodamount[float64]

Sets how much the LFO amount if modulated by the selected modulation source.

lfomodsrc[long]

Select a source to modulate the LFO amount.

lforetrigger[long]

Enable/disable LFO retrigger. When enabled, the LFO restarts at the same phase position each time a note is triggered.

lfoshape[long]

Select from among several LFO waveforms. The `oneShot` waveforms turn the LFO into a one-shot decay envelope.

lpfreq[float64]

Defines the center of the cutoff frequency of the low-pass filter.

lpres[float64]

Sets the resonance of the low-pass filter

modamt1[float64]

Modulation amount 1

modamt2[float64]

Modulation amount 2

modamt3[float64]

Modulation amount 3

moddst1[long]

Modulation destination 1

moddst2[long]

Modulation destination 2

moddst3[long]

Modulation destination 3

modsrc1[long]

Modulation source 1

modsrc2[long]

Modulation source 2

modsrc3[long]

Modulation source 3

noiseenable[long]

Enable/disable the noise generator.

noisefilter[long]

Enable/disable filter for the noise generator

noisegain[float64]

Sets the gain of the noise generator in dB.

notepitchbend[long]

Enable/disable per-note pitch bend

osc1enable[long]

Enable/disable oscillator 1

osc1filter[long]

Enable/disable filter for oscillator 1

osc1gain[float64]

Sets the Oscillator 1 gain in dB. If filter processing is on, high oscillator gain values can cause the filters to recreate some of the behaviors found in analog circuits.

osc1octave[long]

Transpose oscillator 1 in octave increments

osc1shape[float64]

Morphs the shape of the Oscillator 1 waveform. The shaping effect changes depending on the selected waveform.

osc1shapemod[float64]

Set the amount of modulation of osc1_shape by osc1shapemodsrc.

osc1shapemodsrc[long]

Select the modulation source for osc1_shape.

osc1type[long]

Set the oscillator 1 waveform shape

osc2detune[float64]

Sets the pitch of Oscillator 2 in semitones in relation to the global transpose attribute.

osc2enable[long]

Enable/disable oscillator 2

osc2filter[long]

Enable/disable filter for oscillator 2

osc2gain[float64]

Sets the Oscillator 2 gain in dB. If filter processing is on, high oscillator gain values can cause the filters to recreate some of the behaviors found in analog circuits.

osc2octave[long]

Transpose oscillator 2 in octave increments

osc2type[long]

Set the oscillator 2 waveform shape

oscmod1amount[float64]

Sets the amount of modulation of both oscillators from oscmod1src.

oscmod2amount[float64]

Sets the amount of modulation of both oscillators from oscmod2src.

oscmodsrc1[long]

Select a modulation source to modulate the pitch of both oscillators.

oscmodsrc2[long]

Select a modulation source to modulate the pitch of both oscillators.

pitchbendrange[long]

Sets the global pitch bend range in semitones.

retrigger[long]

Enable/disable restarting both oscillators at the same phase position each time a note is triggered.

stereospread[float64]

Sets how much panning variation is applied across individual voices.

thickness[float64]

Adjusts the relative volume of the 4 mono voices associated with each note.

transpose[long]

Transpose the instrument's global pitch in semitones.

unison[float64]

Sets how much pitch variation is applied across individual voices.

velocityvolume[float64]

Sets how much the volume is modulated by incoming MIDI note velocity.

voicemode[long]

Sets the instrument's voice mode. Poly offers polyphonic voicing. Mono offers monophonic voicing. Stereo spreads the voices across the stereo field. Unison slightly detunes each voice independently from one another.

voices[long]

Sets the maximum number of voices that can be played back at the same time. Note that certain voice modes can utilize more voices than notes played.

Common Box Attributes

Below is a list of attributes shared by all objects. If you want to change one of these attributes for an object based on the object box, you need to place the word sendbox in front of the attribute name, or use the object's Inspector.

annotation[symbol]

Sets the text that will be displayed in the Clue window when the user moves the mouse over the object.

background[int]: 0

Adds or removes the object from the patcher's background layer. background 1 adds the object to the background layer, background 0 removes it. Objects in the background layer are shown behind all objects in the default foreground layer.

color[4 floats]

Sets the color for the object box outline.

fontface[int]

Sets the type style used by the object. The options are:

plain
bold
italic
bold italic Possible values:

0 = 'regular'
1 = 'bold'
2 = 'italic'
3 = 'bold italic'

fontname[symbol]

Sets the object's font.

fontsize[float]

Sets the object's font size (in points). Possible values:

'8'
'9'
'10'
'11'
'12'
'13'
'14'
'16'
'18'
'20'
'24'
'30'
'36'
'48'
'64'
'72'

hidden[int]: 0

Toggles whether an object is hidden when the patcher is locked.

hint[symbol]

Sets the text that will be displayed in as a pop-up hint when the user moves the mouse over the object in a locked patcher.

ignoreclick[int]: 0

Toggles whether an object ignores mouse clicks in a locked patcher.

jspainterfile[symbol]

JS Painter File

patching_rect[4 floats]: 0. 0. 100. 0.

Sets the position and size of the object in the patcher window.

position[2 floats]
write-only

Sets the object's x and y position in both patching and presentation modes (if the object belongs to its patcher's presentation), leaving its size unchanged.

presentation[int]: 0

Sets whether an object belongs to the patcher's presentation.

presentation_rect[4 floats]: 0. 0. 0. 0.

Sets the x and y position and width and height of the object in the patcher's presentation, leaving its patching position unchanged.

rect[4 floats]
write-only

Sets the x and y position and width and height of the object in both patching and presentation modes (if the object belongs to its patcher's presentation).

size[2 floats]
write-only

Sets the object's width and height in both patching and presentation modes (if the object belongs to its patcher's presentation), leaving its position unchanged.

textcolor[4 floats]

Sets the color for the object's text in RGBA format.

textjustification[int]

Sets the justification for the object's text. Possible values:

0 = 'left'
1 = 'center'
2 = 'right'

varname[symbol]

Sets the patcher's scripting name, which can be used to address the object by name in pattr, scripting messages to thispatcher, and the js object.

Messages

int

MIDI input

reset

Reset

float