supercoil is a live codable modular synth in a single HTML file, inspired by SuperCollider.
You can use it here: https://felixroos.github.io/supercoil/
The HTML file is doughbeat with a minimal version of kabelsalat up front. You can look at the source code within doughbeat here ( might be out of date, but you get the idea )
Here's an example of an audio graph:
saw(55).lpf(sine(2).range(0.2, 0.8), 0.2).out();
In this example, we have a sawtooth wave at 55Hz going into a filter that is modulated with a sine wave.
You can chain any of the below functions. Make sure to end with .out()
.
-
saw(freq)
sawtooth oscillator -
sine(freq)
sine oscillator -
pulse(freq, duty)
pulse oscillator -
range(input, min, max)
scales bipolar signal to range -
delay(input, time)
delay signal by time - ad
-
add(a, b)
add -
adsr(input, a,d,s,r)
ADSR envelope - and
- apply
- ar
- audioin
- bpf
- brown
- bytebeat
- cc
- clockdiv
- cos
- debug
- delay
- distort
- div
-
dust(density)
random single sample impulses - exp
- floatbeat
- fold
- fork
- greater
- hold
- hpf
-
impulse(freq)
single sample oscillator - lag
- lfnoise
- log
-
lpf(input, freq, res)
low pass filter - map
- midicc
- midifreq
- midigate
- midinote
- mix
- mod
- module
- mouseX
-
mul(a, b)
multiply - [ ]
- more to come?