Glicol is a musical notation created in 2020 by Qichao Lan.
#568on PLDB | 4Years Old |
git clone https://github.com/chaosprint/glicol
Graph-oriented live coding language and music/audio DSP library written in Rust
~gate: speed 2.0
>> seq 60 _60 _~a 48;
~a: choose 48 48 48 72 0 0 0
~amp: ~gate >> envperc 0.001 0.1;
~pit: ~gate
>> mul ##Math.pow(2, (60-69)/12) * 440#
// mix js to get 261.63
~lead: saw ~pit >> mul ~amp >> lpf ~mod 5.0
>> meta `
output = input.map(|x|x*0.1);
output
` // rhai script, same as "mul 0.1"
~mod: sin 0.2 >> mul 1300 >> add 1500;
out: ~lead >> add ~drum >> plate 0.1 // optinal semicolon
~drum: speed 4.0 >> seq 60 >> sp \808bd;
// live drag and drop your sample ^^^