TetaTricks/code/bipenv.ck
2021-10-19 19:07:28 +02:00

13 lines
269 B
Plaintext

// Just a better beep
SinOsc s => Envelope e => dac;
// reglage de notre oscillateur
0.5 => s.gain;
440 => s.freq;
// reglage de notre enveloppe
200::ms => e.duration;
// hop !
e.keyOn();
2::second => now;
e.keyOff();
1::second => now;