Initial commit
This commit is contained in:
commit
778fe31c38
35 changed files with 1849 additions and 0 deletions
18
pub/level4.py
Normal file
18
pub/level4.py
Normal 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]],
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue