Commit 4727903ea02bf2bd9aaa5afb63e14cc4c177bd85
1 parent
5d787ba2
Ajout du dico pour les notes 07/03
Showing
1 changed file
with
0 additions
and
10 deletions
Show diff stats
python_midi.py
@@ -58,13 +58,3 @@ def midi_treatment_file(midi_file): | @@ -58,13 +58,3 @@ def midi_treatment_file(midi_file): | ||
58 | l+=1 | 58 | l+=1 |
59 | 59 | ||
60 | return (pitches,velocity,ticks) | 60 | return (pitches,velocity,ticks) |
61 | - | ||
62 | -def main(args): | ||
63 | - (p,v,t) = midi_treatment_file("python-midi/mary.mid") | ||
64 | - n = 0 | ||
65 | - while (n < len(p)): | ||
66 | - print("Note : " + str(p[n]) + "Velocite : "+ str(v[n]) + "Tick : " + str(t[n])) | ||
67 | - n+=1 | ||
68 | - print "\n" | ||
69 | - | ||
70 | -main(sys.argv) |