Studio Effects
4 nodes
On this page 4
Phaser
FunctionSweeps notches through a clip's spectrum with a chain of allpass stages - the swirl of a phaser pedal.
Signature
Phaser -> AudioBuffer
audio: AudioBuffer
rate: Number
minimum: Number
maximum: Number
stages: Integer
wet: NumberAudioBuffer Phaser(
AudioBuffer audio,
double rate = 0.5,
double minimum = 200,
double maximum = 2000,
int stages = 4,
double wet = 0.5)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to process. |
| rate | Number | 0.5 | Sweeps per second. |
| minimum | Number | 200 | The lowest frequency the notches reach, in Hz. |
| maximum | Number | 2000 | The highest, in Hz. |
| stages | Integer | 4 | Allpass stages: more stages, more notches. |
| wet | Number | 0.5 | How much of the effect is mixed in. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Studio Effects
- Package
- Audio Processing
Studio Reverb
FunctionPlaces a clip in a room: a Schroeder network of damped combs and diffusing allpasses, with the pre-delay and stereo width a studio reverb offers, and its tail rendered past the clip's end.
Signature
StudioReverb -> AudioBuffer
audio: AudioBuffer
roomScale: Number
decay: Number
damping: Number
wet: Number
dry: Number
preDelay: Number
width: Number
tail: NumberAudioBuffer StudioReverb(
AudioBuffer audio,
double roomScale = 1,
double decay = 1.6,
double damping = 0.4,
double wet = 0.25,
double dry = 0.8,
double preDelay = 20,
double width = 1,
double tail = 1.5)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to reverberate. |
| roomScale | Number | 1 | The room's size, from 0.5 (a booth) to 2 (a hall). |
| decay | Number | 1.6 | Seconds for the tail to fall away. |
| damping | Number | 0.4 | How quickly high frequencies die in the tail, 0 to 1. |
| wet | Number | 0.25 | Level of the reverberation. |
| dry | Number | 0.8 | Level of the original. |
| preDelay | Number | 20 | Milliseconds before the reverberation starts. |
| width | Number | 1 | Stereo width of the tail, 0 (mono) to 1. |
| tail | Number | 1.5 | Seconds added after the clip for the tail; 0 keeps the clip's length. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Studio Effects
- Package
- Audio Processing
Vocoder
FunctionMakes one clip speak with another's voice: the modulator's spectral envelope, band by band, shapes the carrier - a synth pad that talks, a voice made of chords.
Signature
Vocoder -> AudioBuffer
carrier: AudioBuffer
modulator: AudioBuffer
bands: IntegerAudioBuffer Vocoder(
AudioBuffer carrier,
AudioBuffer modulator,
int bands = 16)Parameters
| name | type | default | description |
|---|---|---|---|
| carrier | AudioBuffer | — | What is heard: usually a harmonically rich synth or chord. |
| modulator | AudioBuffer | — | What shapes it: usually speech; heard over the carrier's length. |
| bands | Integer | 16 | Frequency bands; more bands, more intelligible. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Studio Effects
- Package
- Audio Processing
Wah
FunctionSweeps a resonant band-pass up and down a clip - the vowel of a wah pedal.
Signature
Wah -> AudioBuffer
audio: AudioBuffer
rate: Number
minimum: Number
maximum: Number
q: Number
wet: NumberAudioBuffer Wah(
AudioBuffer audio,
double rate = 1,
double minimum = 300,
double maximum = 2500,
double q = 2,
double wet = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to process. |
| rate | Number | 1 | Sweeps per second. |
| minimum | Number | 300 | The lowest centre frequency, in Hz. |
| maximum | Number | 2500 | The highest, in Hz. |
| q | Number | 2 | How sharp the resonance is. |
| wet | Number | 1 | How much of the effect is mixed in. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Studio Effects
- Package
- Audio Processing