18 lines
244 B
Python
18 lines
244 B
Python
"""
|
|
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]],
|
|
]
|