Audio Signals
38 nodes
On this page 38
Chorus
FunctionA stereo chorus: the signal beside two copies of itself delayed by a few milliseconds that slowly drift, one side against the other, so one voice sounds like several.
Chorus -> Stereo Signal
signal: Signal
rate: Number
depth: Number
mix: NumberStereoSignal Chorus(
Signal signal,
double rate = 0.8,
double depth = 0.003,
double mix = 0.5)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is thickened. |
| rate | Number | 0.8 | How fast the delays drift, cycles a second. |
| depth | Number | 0.003 | Seconds the delays drift by either way. |
| mix | Number | 0.5 | How much of the result is the drifting copies. |
Returns
| Stereo | Stereo Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Compress Signal
FunctionA compressor: everything over the threshold turned down by the ratio, with a soft knee and true attack and release times. Connect a sidechain to duck the signal under something else - a bass under a kick.
Compress -> Signal
signal: Signal
threshold: Number
ratio: Number
attack: Number
release: Number
knee: Number
makeup: Number
sidechain: SignalSignal Compress(
Signal signal,
double threshold = -18,
double ratio = 4,
double attack = 0.01,
double release = 0.1,
double knee = 6,
double makeup = 0,
Signal sidechain)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is compressed. |
| threshold | Number | -18 | dBFS where it starts. |
| ratio | Number | 4 | Decibels in for each decibel out over the threshold. |
| attack | Number | 0.01 | Seconds to clamp down. |
| release | Number | 0.1 | Seconds to let go. |
| knee | Number | 6 | Decibels over which it eases in. |
| makeup | Number | 0 | Decibels added after. |
| sidechain | Signal | — | What it listens to instead of the signal. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Constant Signal
FunctionA value that does not change.
Constant(value: Number) -> Signal
Signal Constant(double value = 1)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Number | 1 | The value. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Bitcrush Signal
FunctionA bitcrusher: fewer bits and a lower sample rate, for the grit of an early sampler.
Crush(signal: Signal, bits: Number, rate: Number) -> Signal
Signal Crush(Signal signal, double bits = 8, double rate = 8000)
Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is crushed. |
| bits | Number | 8 | Bits kept, 1 to 24. |
| rate | Number | 8000 | Samples a second it is held at. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Delay Signal
FunctionA signal through a delay line: echoes, or with a short moving time, chorus and flanging.
Delay -> Signal
signal: Signal
time: Number
feedback: Number
mix: Number
timeModulation: SignalSignal Delay(
Signal signal,
double time = 0.25,
double feedback = 0.3,
double mix = 0.3,
Signal timeModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is delayed. |
| time | Number | 0.25 | Seconds, up to 2. |
| feedback | Number | 0.3 | How much of each echo comes back, 0 to just under 1. |
| mix | Number | 0.3 | How much of the result is echo; 1 is only the echo. |
| timeModulation | Signal | — | Seconds added every sample. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Envelope
FunctionAn ADSR envelope following a gate - rising, settling, holding and dying away - for multiplying into a voice or wiring into a cutoff.
Envelope -> Signal
gate: Signal
attack: Number
decay: Number
sustain: Number
release: Number
hold: NumberSignal Envelope(
Signal gate,
double attack = 0.01,
double decay = 0.1,
double sustain = 0.7,
double release = 0.3,
double hold = 0.5)Parameters
| name | type | default | description |
|---|---|---|---|
| gate | Signal | — | When the note is held; a single note of Hold seconds when not connected. |
| attack | Number | 0.01 | Seconds to rise. |
| decay | Number | 0.1 | Seconds to fall to the sustain level. |
| sustain | Number | 0.7 | The level held, 0 to 1. |
| release | Number | 0.3 | Seconds to die away once the gate drops. |
| hold | Number | 0.5 | Seconds the single note is held when no gate is connected. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Filter Signal
FunctionA signal through a state-variable filter whose cutoff can move every sample.
Filter -> Signal
signal: Signal
mode: Filter Mode
cutoff: Number
q: Number
cutoffModulation: SignalSignal Filter(
Signal signal,
FilterMode mode = FilterMode.Lowpass,
double cutoff = 1000,
double q = 0.707,
Signal cutoffModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is filtered. |
| mode | Filter Mode | Lowpass | What passes. |
| cutoff | Number | 1000 | Hertz. |
| q | Number | 0.707 | Resonance: 0.707 is flat. |
| cutoffModulation | Signal | — | Hertz added every sample. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
FM Operator
FunctionAn FM operator, as on a DX7: a sine whose phase another signal pushes. Wire one operator, scaled by a modulation index, into another's modulation for bells, electric pianos and basses.
FmOperator -> Signal
frequency: Number
modulation: Signal
index: Number
feedback: Number
frequencyModulation: SignalSignal FmOperator(
double frequency = 220,
Signal modulation,
double index = 1,
double feedback = 0,
Signal frequencyModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| frequency | Number | 220 | Hertz. |
| modulation | Signal | — | The modulator, in radians. |
| index | Number | 1 | How hard the modulator pushes: the modulation index. |
| feedback | Number | 0 | How much of its own output it feeds back, 0 to about 1.5; near 1.5 it is nearly a saw. |
| frequencyModulation | Signal | — | Hertz added every sample. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Wavefolder
FunctionA wavefolder: the louder the signal is driven, the more it folds back on itself and the brighter it gets, without getting louder.
Fold -> Signal
signal: Signal
gain: Number
gainModulation: SignalSignal Fold(
Signal signal,
double gain = 2,
Signal gainModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is folded. |
| gain | Number | 2 | How hard it is driven; 1 leaves a full-scale signal alone. |
| gainModulation | Signal | — | Added to the gain every sample. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Signal Gain
FunctionA signal turned up or down.
Gain(signal: Signal, gain: Number) -> Signal
Signal Gain(Signal signal, double gain = 0.5)
Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | The signal. |
| gain | Number | 0.5 | The factor. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Gate
FunctionA gate: 1 while a note is held, 0 otherwise - once, or every period.
Gate(length: Number, period: Number, delay: Number) -> Signal
Signal Gate(
double length = 0.25,
double period = 0.5,
double delay = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| length | Number | 0.25 | Seconds it is held. |
| period | Number | 0.5 | Seconds from one note to the next; 0 for a single note. |
| delay | Number | 0 | Seconds before the first. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Granular
FunctionGranular synthesis: a clip broken into short overlapping grains and played back from wherever position points - frozen when it stands still, stretched when it crawls, shifted in pitch without changing speed.
Granular -> Signal
audio: AudioBuffer
position: Number
pitch: Number
grainLength: Number
density: Number
jitter: Number
positionModulation: Signal
pitchModulation: Signal
seed: IntegerSignal Granular(
AudioBuffer audio,
double position = 0,
double pitch = 1,
double grainLength = 0.08,
double density = 25,
double jitter = 0.01,
Signal positionModulation,
Signal pitchModulation,
int seed = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The source clip. |
| position | Number | 0 | Where grains read from, 0 to 1 of the clip. |
| pitch | Number | 1 | Each grain's speed: 2 is an octave up. |
| grainLength | Number | 0.08 | Seconds each grain lasts. |
| density | Number | 25 | Grains a second; times the grain length, at most 128 overlapping. |
| jitter | Number | 0.01 | Seconds of random scatter in where each grain reads. |
| positionModulation | Signal | — | Added to the position every sample: a slow ramp scrubs through the clip. |
| pitchModulation | Signal | — | Added to the pitch. |
| seed | Integer | 1 | Which scatter. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Ladder Filter
FunctionA signal through a four-pole ladder lowpass, the classic synthesizer filter: 24 dB an octave, singing as the resonance rises.
Ladder -> Signal
signal: Signal
cutoff: Number
resonance: Number
cutoffModulation: SignalSignal Ladder(
Signal signal,
double cutoff = 1000,
double resonance = 0.3,
Signal cutoffModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is filtered. |
| cutoff | Number | 1000 | Hertz. |
| resonance | Number | 0.3 | 0 to 1; near 1 it rings at the cutoff. |
| cutoffModulation | Signal | — | Hertz added every sample. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Smooth Signal
FunctionA signal smoothed: it follows its input exponentially, all but a thousandth of the way in the time given.
Lag(signal: Signal, time: Number) -> Signal
Signal Lag(Signal signal, double time = 0.1)
Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is smoothed. |
| time | Number | 0.1 | Seconds. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
LFO
FunctionA low-frequency oscillator moving between two values: the hand that turns a knob.
Lfo -> Signal
shape: Oscillator Shape
rate: Number
low: Number
high: NumberSignal Lfo(
OscillatorShape shape = OscillatorShape.Sine,
double rate = 2,
double low = -1,
double high = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| shape | Oscillator Shape | Sine | How it moves. |
| rate | Number | 2 | Cycles a second. |
| low | Number | -1 | Where it bottoms out. |
| high | Number | 1 | Where it tops out. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Mix Signals
FunctionSignals added together.
Mix(signals: Signal Array) -> Signal
Signal Mix(Signal[] signals)
Parameters
| name | type | default | description |
|---|---|---|---|
| signals | Signal Array | — | What is mixed. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Mix Stereo Signals
FunctionStereo signals added together, left to left and right to right.
MixStereo(signals: Stereo Signal Array) -> Stereo Signal
StereoSignal MixStereo(StereoSignal[] signals)
Parameters
| name | type | default | description |
|---|---|---|---|
| signals | Stereo Signal Array | — | What is mixed. |
Returns
| Stereo | Stereo Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Multiply Signals
FunctionOne signal times another: an envelope applied to a voice, or ring modulation.
Multiply(signal: Signal, by: Signal) -> Signal
Signal Multiply(Signal signal, Signal by)
Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | One. |
| by | Signal | — | The other. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Noise Signal
FunctionNoise from -1 to 1, the same every run for the same seed.
Noise(color: Noise Color, seed: Integer) -> Signal
Signal Noise(NoiseColor color = NoiseColor.White, int seed = 1)
Parameters
| name | type | default | description |
|---|---|---|---|
| color | Noise Color | White | White, pink or brown - the same choice the Noise generator offers. |
| seed | Integer | 1 | Which noise. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Oscillator
FunctionAn oscillator from -1 to 1. Saw, square and triangle are band-limited, so a high note stays clean.
Oscillator -> Signal
shape: Oscillator Shape
frequency: Number
frequencyModulation: SignalSignal Oscillator(
OscillatorShape shape = OscillatorShape.Saw,
double frequency = 220,
Signal frequencyModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| shape | Oscillator Shape | Saw | The waveform. |
| frequency | Number | 220 | Hertz. |
| frequencyModulation | Signal | — | Hertz added every sample: vibrato, FM, a glide. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Pan Signal
FunctionA signal placed between the speakers, as loud wherever it is put; a moving position sweeps it across.
Pan -> Stereo Signal
signal: Signal
position: Number
positionModulation: SignalStereoSignal Pan(
Signal signal,
double position = 0,
Signal positionModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is placed. |
| position | Number | 0 | -1 left, 0 centre, 1 right. |
| positionModulation | Signal | — | Added to the position every sample: an LFO for auto-pan. |
Returns
| Stereo | Stereo Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Pitch Shift Signal
FunctionA signal raised or lowered in pitch as it plays, without being sped up or slowed down: a voice an octave up for a chipmunk, down for a giant, or a fifth up mixed with the original for a harmony.
PitchShift -> Signal
signal: Signal
semitones: Number
window: Number
semitonesModulation: SignalSignal PitchShift(
Signal signal,
double semitones = 7,
double window = 0.05,
Signal semitonesModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is shifted. |
| semitones | Number | 7 | How far; 12 is an octave up, -12 an octave down. |
| window | Number | 0.05 | Seconds, 0.01 to 0.5. |
| semitonesModulation | Signal | — | Semitones added every sample. |
Returns
| Signal | Signal |
Remarks
Works as it plays, adding no more delay than Window, so it suits a live input. A longer window warbles less on a held note and smears a sharp one more.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Pluck
FunctionA plucked string: a burst of noise ringing in a delay line one period long, dying away high harmonics first. Every rise of the trigger plucks again.
Pluck -> Signal
frequency: Number
decay: Number
brightness: Number
trigger: Signal
frequencyModulation: Signal
seed: IntegerSignal Pluck(
double frequency = 220,
double decay = 2,
double brightness = 0.5,
Signal trigger,
Signal frequencyModulation,
int seed = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| frequency | Number | 220 | Hertz. |
| decay | Number | 2 | Seconds for the note to fall 60 dB. |
| brightness | Number | 0.5 | 0 to 1: a soft finger to a hard pick. |
| trigger | Signal | — | When to pluck; once at the start when not connected. |
| frequencyModulation | Signal | — | Hertz added, read at each pluck: wire a sequence of pitches here. |
| seed | Integer | 1 | Which noise each pluck starts from. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Pulse
FunctionA band-limited pulse, high for Width of each cycle; moving the width is pulse-width modulation.
Pulse -> Signal
frequency: Number
width: Number
widthModulation: Signal
frequencyModulation: SignalSignal Pulse(
double frequency = 110,
double width = 0.5,
Signal widthModulation,
Signal frequencyModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| frequency | Number | 110 | Hertz. |
| width | Number | 0.5 | 0 to 1; one half is a square. |
| widthModulation | Signal | — | Added to the width every sample. |
| frequencyModulation | Signal | — | Hertz added every sample. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Ramp
FunctionA straight line from one value to another, then held: a glide, a fade, a pitch drop.
Ramp(from: Number, to: Number, duration: Number) -> Signal
Signal Ramp(double from = 1, double to = 0, double duration = 1)
Parameters
| name | type | default | description |
|---|---|---|---|
| from | Number | 1 | Where it starts. |
| to | Number | 0 | Where it ends. |
| duration | Number | 1 | Seconds it takes. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Render Signal
FunctionA signal turned into a clip.
Render -> AudioBuffer
signal: Signal
duration: Number
sampleRate: IntegerAudioBuffer Render(
Signal signal,
double duration = 2,
int sampleRate = 44100)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | The patch. |
| duration | Number | 2 | Seconds. |
| sampleRate | Integer | 44100 | Samples a second. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Render Stereo Signal
FunctionTwo signals turned into the left and right of a stereo clip; what they share is computed once.
RenderStereo -> AudioBuffer
left: Signal
right: Signal
duration: Number
sampleRate: IntegerAudioBuffer RenderStereo(
Signal left,
Signal right,
double duration = 2,
int sampleRate = 44100)Parameters
| name | type | default | description |
|---|---|---|---|
| left | Signal | — | The left side. |
| right | Signal | — | The right side. |
| duration | Number | 2 | Seconds. |
| sampleRate | Integer | 44100 | Samples a second. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Render Stereo Mix
FunctionA stereo signal turned into a clip.
RenderStereoMix -> AudioBuffer
stereo: Stereo Signal
duration: Number
sampleRate: IntegerAudioBuffer RenderStereoMix(
StereoSignal stereo,
double duration = 2,
int sampleRate = 44100)Parameters
| name | type | default | description |
|---|---|---|---|
| stereo | Stereo Signal | — | The stereo signal. |
| duration | Number | 2 | Seconds. |
| sampleRate | Integer | 44100 | Samples a second. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Reverb Signal
FunctionA signal in a room: Freeverb's combs and allpasses, the tail as long as the room is big.
Reverb -> Signal
signal: Signal
roomSize: Number
damping: Number
mix: NumberSignal Reverb(
Signal signal,
double roomSize = 0.6,
double damping = 0.5,
double mix = 0.3)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is reverberated. |
| roomSize | Number | 0.6 | 0 to 1. |
| damping | Number | 0.5 | 0 to 1: how quickly the highs die. |
| mix | Number | 0.3 | How much of the result is reverb. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Play Sample
FunctionA clip played back as a signal, at a speed: 2 is an octave up, -1 backwards.
Sample -> Signal
audio: AudioBuffer
speed: Number
loop: Truth
speedModulation: SignalSignal Sample(
AudioBuffer audio,
double speed = 1,
bool loop = false,
Signal speedModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip, mixed to mono. |
| speed | Number | 1 | How fast. |
| loop | Truth | False | Whether it starts again when it ends. |
| speedModulation | Signal | — | Added to the speed every sample. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Sample And Hold
FunctionA random value held until the next trigger, then a new one: the stepped random modulation of a sample-and-hold module. Connect a signal to sample something other than noise.
SampleAndHold -> Signal
trigger: Signal
signal: Signal
seed: IntegerSignal SampleAndHold(
Signal trigger,
Signal signal,
int seed = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| trigger | Signal | — | When to take a new value; four times a second when not connected. |
| signal | Signal | — | What is sampled; white noise when not connected. |
| seed | Integer | 1 | Which noise. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Saturate
FunctionSoft saturation: a hot signal rounds off instead of clipping, and gains harmonics as it is driven.
Saturate(signal: Signal, drive: Number) -> Signal
Signal Saturate(Signal signal, double drive = 2)
Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is saturated. |
| drive | Number | 2 | How hard; 1 is gentle. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Slew Limiter
FunctionA signal that can move only so fast: a glide between notes, a softened gate.
Slew(signal: Signal, rise: Number, fall: Number) -> Signal
Signal Slew(Signal signal, double rise = 0.1, double fall = 0.1)
Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is limited. |
| rise | Number | 0.1 | Seconds to rise by one. |
| fall | Number | 0.1 | Seconds to fall by one. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Stereo Reverb
FunctionA signal in a stereo room: the two sides' tails differ, so the room has width.
StereoReverb -> Stereo Signal
signal: Signal
roomSize: Number
damping: Number
mix: Number
width: NumberStereoSignal StereoReverb(
Signal signal,
double roomSize = 0.6,
double damping = 0.5,
double mix = 0.3,
double width = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| signal | Signal | — | What is reverberated. |
| roomSize | Number | 0.6 | 0 to 1. |
| damping | Number | 0.5 | 0 to 1: how quickly the highs die. |
| mix | Number | 0.3 | How much of the result is reverb. |
| width | Number | 1 | 0 to 1: how wide the tail spreads. |
Returns
| Stereo | Stereo Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Wavetable From Clip
FunctionA wavetable cut from a recording, one wave every cycle length - the layout of Serum and Vital wavetable files at 2048.
WavetableFromClip -> Wavetable
audio: AudioBuffer
cycleLength: IntegerWavetable WavetableFromClip(
AudioBuffer audio,
int cycleLength = 2048)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The recording. |
| cycleLength | Integer | 2048 | Samples in each wave. |
Returns
| Table | Wavetable |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Wavetable From Harmonics
FunctionA wavetable drawn from harmonic amplitudes: the first wave from one list, the last from another, and the waves between morphing from one to the other.
WavetableFromHarmonics -> Wavetable
harmonics: Number Array
lastHarmonics: Number Array
frames: IntegerWavetable WavetableFromHarmonics(
double[] harmonics,
double[] lastHarmonics,
int frames = 16)Parameters
| name | type | default | description |
|---|---|---|---|
| harmonics | Number Array | — | Amplitudes of the fundamental, second harmonic, third and so on. |
| lastHarmonics | Number Array | — | The last wave's amplitudes; the same as the first when not connected. |
| frames | Integer | 16 | Waves from first to last. |
Returns
| Table | Wavetable |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Wavetable Oscillator
FunctionA wavetable oscillator: a row of single-cycle waves played at a pitch and morphed by position, band-limited for every note so the top octave is as clean as the bottom.
WavetableOscillator -> Signal
table: Wavetable
frequency: Number
position: Number
positionModulation: Signal
frequencyModulation: SignalSignal WavetableOscillator(
Wavetable table,
double frequency = 110,
double position = 0,
Signal positionModulation,
Signal frequencyModulation)Parameters
| name | type | default | description |
|---|---|---|---|
| table | Wavetable | — | The waves; sine, triangle, saw and square when not connected. |
| frequency | Number | 110 | Hertz. |
| position | Number | 0 | Where across the waves, 0 to 1. |
| positionModulation | Signal | — | Added to the position every sample: an envelope or LFO sweeping the timbre. |
| frequencyModulation | Signal | — | Hertz added every sample. |
Returns
| Signal | Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing
Stereo Width
FunctionA stereo image narrowed or widened: 0 is mono, 1 unchanged, above 1 wider.
Width(stereo: Stereo Signal, width: Number) -> Stereo Signal
StereoSignal Width(StereoSignal stereo, double width = 1.5)
Parameters
| name | type | default | description |
|---|---|---|---|
| stereo | Stereo Signal | — | The stereo signal. |
| width | Number | 1.5 | How wide. |
Returns
| Stereo | Stereo Signal |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Signals
- Package
- Audio Processing