Reference
Tags
math (31) envelope (4) logic (8) meta (11) source (11) external (8) fx (16) filter (9) noise (6) clock (1) trigger (4) distortion (2) limiter (1) multi-channel (5) regular (7) midi (4) waveform (5) sequencer (1)Functions
abs acos ad add adsr and apply ar argmax argmin asin atan audioin bipolar bool bpf brown bytebeat cc ceil clamp clip clockdiv cos debug delay distort div dust exp floatbeat floor fold fork greater hold hpf ifelse impulse lag lcgnoise lfnoise log lower lpf map max midicc midifreq midigate midinote midivel min mix mod module mouseX mouseY mul n noise not or out pan perc pick pink pow pulse qapf qbpf qf qhpf qlpf qnf range rangex raw register remap round saw scope select seq sign signal sin sine slew split sub tan thru time tri trig unipolar xor zawabs
returns the absolute value of the signal
acos
calculates the acos of the input signal
ad
AD envelope
add
sums the given signals
adsr
ADSR envelope
and
returns 1 if both inputs are 1
apply
Applies the given function to the Node. Useful when a node has to be used multiple times.
ar
AR envelope
argmax
returns the index of the maximum of the given signals
argmin
returns the index of the minimum of the given signals
asin
calculates the asin of the input signal
atan
calculates the atan of the input signal
audioin
External Audio Input, depends on your system input
bipolar
convert unipolar [0,1] signal to bipolar [-1,1]
bool
returns 1 signal is non zero. inspired by genish
bpf
high pass filter
brown
Brown noise source
bytebeat
Bytebeat node, expects numbers from 0 to 255
cc
CC control
ceil
Rounds the signal up
clamp
Clamps the signal to stay within the given range
clip
Hard limits the signal between lo and hi.
clockdiv
Clock signal divider
cos
calculates the cosine of the input signal
debug
Logs the node to the console
delay
Delay line node
distort
Overdrive-style distortion
div
adds the given signals
dust
Generates random impulses from 0 to +1.
exp
raises e to the power of the input signal
floatbeat
Raw code node, expects numbers from -1 to 1
floor
Rounds the signal down
fold
Distort incoming audio signal by "folding"
fork
split the signal into n channels
greater
returns 1 if input is greater then threshold
hold
Sample and hold
hpf
high pass filter
ifelse
if control is 1, a is returned, otherwise b
impulse
Regular single sample impulses (0 - 1)
lag
Smoothes a signal. Good for slide / portamento effects.
lcgnoise
Lcg white noise source.
lfnoise
low frequency stepped noise.
log
calculates the logarithm (base 10) of the input signal
lower
returns 1 if input is lower then threshold
lpf
low pass filter
map
Applies the given function to all ins if it's poly node. Otherwise it applies the function to itself.
max
returns the maximum of the given signals
midicc
Outputs bipolar value of given midi cc number. initValue can be set to be the output before getting first cc message.
midifreq
Outputs frequency of midi note in. Multiple instances will do voice allocation
midigate
outputs gate of midi note in. Multiple instances will do voice allocation
midinote
convert midi number to frequency
midivel
outputs velocity of midi note in. Multiple instances will do voice allocation
min
returns the minimum of the given signals
mix
mixes down multiple channels. Useful to make sure you get a mono or stereo signal out at the end. When mixing down to 2 channels, the input channels are equally distributed over the stereo image, e.g. 3 channels are panned [-1,0,1]
mod
calculates the modulo
module
Creates a module. Like `register`, but the graph viz will hide the internal complexity of the module.
mouseX
X position of mouse, bipolar range
mouseY
Y position of mouse, bipolar range
mul
Multiplies the given signals.
n
Constant value node. Turns a number into a Node.
noise
White noise source
not
returns 1 if input is 0, otherwise 0
or
returns 1 if one or both inputs are 1
out
Sends the node to the audio output
pan
pans signal to stereo position. splits signal path in 2
perc
percussive envelope. usable with triggers or gates
pick
picks input of given index
pink
Pink noise source
pow
raises the input to the given power
pulse
Pulse wave oscillator
qapf
biQuad All Pass Filter
qbpf
biQuad Band Pass Filter
qf
biQuad Filter.
qhpf
biQuad High pass filter
qlpf
biQuad Low Pass Filter
qnf
biQuad Notch Filter
range
Scales the incoming bipolar value to the given range.
rangex
exponential range
raw
Raw code node, expects floats between -1 and 1
register
Registers a new Node function. Sets it on the prototype + returns the function itself. Like `module` but doesn't hide complexity in graph viz.
remap
Remaps input from one value range to another
round
Rounds the signal to the nearest integer
saw
Sawtooth wave oscillator with anti aliasing
scope
renders an an oscilloscope of the current point in the graph. expects values between -1 and 1. warning: this feature is still experimental! when using it, make sure to not switch tabs, as it might fry your browser.
select
Find the first occurence of the given type up in the graph and returns the match. Useful to exit a feedback loop at another point.
seq
Trigger controlled sequencer
sign
Returns 1 if positive and -1 if negative. uses Math.sign
signal
sin
calculates the sine of the input signal
sine
Sine wave oscillator
slew
Limits the slope of an input signal. The slope is expressed in units per second.
split
apply fn to an array of signals, one for each channel in input
sub
subtracts the given signals
tan
calculates the tan of the input signal
thru
time
Returns elapsed time in seconds
tri
Triangle wave oscillator
trig
Emits a trigger impulse whenever the signal becomes positive. Useful to turn gates into triggers.
unipolar
convert bipolar [-1,1] signal to unipolar [0,1]
xor
returns 1 if exactly one of the inputs is 1
zaw
Sawtooth wave oscillator with sharp edges. Use saw for anti aliased variant.