ménage (par le vide)
[minwii.git] / src / mxmMidi / example_mimimal_type0.py
diff --git a/src/mxmMidi/example_mimimal_type0.py b/src/mxmMidi/example_mimimal_type0.py
deleted file mode 100644 (file)
index d8d1842..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-from MidiOutFile import MidiOutFile\r
-\r
-"""\r
-This is an example of the smallest possible type 0 midi file, where \r
-all the midi events are in the same track.\r
-"""\r
-\r
-out_file = 'midiout/minimal_type0.mid'\r
-midi = MidiOutFile(out_file)\r
-\r
-# non optional midi framework\r
-midi.header()\r
-midi.start_of_track() \r
-\r
-\r
-# musical events\r
-\r
-midi.update_time(0)\r
-midi.note_on(channel=0, note=0x40)\r
-\r
-midi.update_time(192)\r
-midi.note_off(channel=0, note=0x40)\r
-\r
-\r
-# non optional midi framework\r
-midi.update_time(0)\r
-midi.end_of_track()\r
-\r
-midi.eof()\r