water
Wherein we show no vacillation on the importance of oscillation.
Hz.Osc
is a standalone CLAP plugin that is also a component of
other Hz plugins. We provide the standalone for those circumstances
where more complex synthesis nodes are overkill. For example,
in the Hubble example, we instantiate
30 or more Hz.Oscillators to provide the droning background sounds derived
from the astronomical image.
Hz.Osc
is a powerful oscillator component that can form the backbone
of your audio synthesis toolkit.
Hz.Osc
can be configured as either a mono
or stereo
anode via:
Let node = ascene.NewAnode("Hz.Osc", {cfg: "stereo"});
Hz.Osc
has a single optional input port that accepts a mono
audio
signal for controlling phase modulation
. So you can use one
Hz.Osc
to drive an other like:
Let pm = ascene.NewAnode("Hz.Osc", {cfg: "mono"});
Let osc = ascene.NewAnode("Hz.Osc", {cfg: "stereo"});
ascene.Connect(pm, osc);
Most of Hz.Osc's
parameters can be controlled by its Webview GUI.
This can be made to appear in the hzplugins
tab of your layout via
osc.Show();
revealing:
Parameters are divided into three groups: Osc, ADSR (/adsr) and Voice (/voice).
Name | Id | Description | Range |
---|---|---|---|
Waveform |
100 | Selects oscillator waveform | 0-13 (0) * |
Amplitude |
101 | Maximum unsigned amplitude | 0-24 (1) |
Transpose |
102 | Transpose (semitones) | -48-48 (0) |
PMScale |
103 | Phase Modulation Scale Factor | 0-10 (1) |
UnisonVoices |
104 | 1-16 (1) | |
UnisonDetune |
105 | 0-24 (0) | |
UnisonSpread |
106 | Stereo Spread (valid only for stereo config) | 0-1 (0) |
Frequency |
107 | Override Frequency, when nonzero we ignore notes | 0-20000 (0) |
WaveformVariant |
108 | Selects the custom wavetable variation (Waveform must be CustomTab) | 0-1 (0) |
-- | |||
/adsr/Active |
212 | Controls whether ADSR is active | 0,1 (1) |
/adsr/A |
200 | Attack, in Seconds | 0-4 (.1) |
/adsr/D |
201 | Decay, in Seconds | 0-4 (.2) |
/adsr/H |
202 | Hold, in Seconds | 0-4 (.1) |
/adsr/S |
203 | Sustain, in pct of Ampltude | 0-1 (.8) |
/adsr/R |
204 | Release, in Seconds | 0-4 (.3) |
/adsr/T |
205 | Tail (after release), in Seconds | 0-12 (0) |
/adsr/VelocitySensitivity |
206 | 0-1 (1) | |
/adsr/TremoloGain |
207 | 0-1 (.1) | |
/adsr/TremoloFreq |
208 | in Hz | 0-10 (.0) |
/adsr/Apow |
209 | Attack power exponent | -5-5 (-3) |
/adsr/Dpow |
210 | Decay power exponent | -5-5 (-3) |
/adsr/Rpow |
211 | Release power exponent | -5-5 (-3) |
-- | |||
/voice/Transpose |
10000 | Transpose (semitones), combines with osc Transpose | -24-24 (0) |
/voice/Vibrato |
10001 | Vibrato Scale | 0-3 (0) |
/voice/VibratoRate |
10002 | Vibrato Rate in Hz | 0-10 (0) |
/voice/GlidePeriod |
10003 | Glide Period in Seconds | 0-4 (0) |
/voice/GlidePower |
10004 | Power Curve Exponent, 0 is linear | -5-5 (0) |
/voice/GlideTarget |
10005 | 0:Last, 1:Recent, 2: LastHeld | 0-2 (0) |
Value | Waveform | Description |
---|---|---|
0 | SineTab | Sine Wavetable |
1 | SquareTab | Square Wavetable |
2 | SawTab | Saw Wavetable |
3 | TriangleTab | Triangle Wavetable |
4 | NoiseTab | Noise Wavetable |
5 | CustomTab | Custom Wavetable |
6 | Sine | |
7 | Square | (aliasing) |
8 | Saw | (aliasing) |
9 | Triangle | (aliasing) |
10 | Hyper | Hyper shape (aliasing) |
11 | Hydrogen | Sound of Hydrogen |
12 | WhiteNoise | |
13 | PinkNoise |
Waveforms Example | Phase Modulation Example | Miscellenous Examples