Initial commit

This commit is contained in:
Pascal Engélibert 2025-02-27 00:41:31 +01:00
commit 778fe31c38
35 changed files with 1849 additions and 0 deletions

12
stage/level2.py Normal file
View file

@ -0,0 +1,12 @@
"""
Niveau 2
Jouer des notes
"""
import synth
import math
encoder = synth.Encoder()
for note in range(13):
for t in range(16000):
encoder.write(math.sin(t/16000 * 220 * 2**(note/12) * 2*math.pi))