On Sat, Apr 4, 2020 at 4:57 PM Jakob Laue jakkesprinter@web.de wrote:
Hey Martin, thanks for the hint. When I read a recorded file that should actually have some recorded notes in it and then load it again with the midifile-read-help-patch, then I get this (verbosity = 3)
midifile_open_path (absolute): /Users/wbjc/Desktop/mp2.mid
midifile: opened /Users/wbjc/Desktop/mp2.mid midifile: Header chunk type: MThd midifile: Header chunk length: 6 midifile: Header chunk format: 0 (Single multichannel track) midifile: Header chunk ntrks: 1 midifile: Header chunk division: 0xE714: 25 frames per second, 20 ticks per frame other_meta: frames_per_sec 25 other_meta: ticks_per_frame 20 midifile: Track chunk 0 type: MTrk, length 35
Does not look like something has been recorded, right?
The last line shows the track chink is 35 bytes long. Did you play it to the end? The third outlet of [midifile] emits a bang when it gets to the end. If you waited a while after starting to record there may be a long pause before something happens. The [dump 0( message should output the entire track to the Pd window.
Martin