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

18
pub/level4.py Normal file
View file

@ -0,0 +1,18 @@
"""
Niveau 4
Jouer des accords
"""
import synth
encoder = synth.Encoder()
# Liste d'accords, sous la forme [durée, [note, note, note, ...]]
music = [
[2, [5, 9]],
[2, [4, 8]],
[1, [-12]],
[1, [0, 2, 4]],
[1, [-10]],
[1, [2, 4, 6]],
]