X-Git-Url: https://scm.cri.minesparis.psl.eu/git/minwii.git/blobdiff_plain/346a9b8e1fcfe30629f0d1ee4675e9e8f89890cf..4c4732c6ed8cb0aaa70fb2d4c6e5a958868c5349:/src/mxmMidi/example_print_file.py?ds=sidebyside diff --git a/src/mxmMidi/example_print_file.py b/src/mxmMidi/example_print_file.py deleted file mode 100644 index 4fcd531..0000000 --- a/src/mxmMidi/example_print_file.py +++ /dev/null @@ -1,19 +0,0 @@ -""" -This is an example that uses the MidiToText eventhandler. When an -event is triggered on it, it prints the event to the console. - -It gets the events from the MidiInFile. - -So it prints all the events from the infile to the console. great for -debugging :-s -""" - - -# get data -test_file = 'test/midifiles/minimal-cubase-type0.mid' - -# do parsing -from MidiInFile import MidiInFile -from MidiToText import MidiToText # the event handler -midiIn = MidiInFile(MidiToText(), test_file) -midiIn.read()