TetaTricks/code/bipenv.ck

13 lines
269 B
Plaintext
Raw Normal View History

2021-10-20 04:07:28 +11:00
// 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;