You can read the MIDI file with [mrpeach/midifile], output everything in a loop and save the MIDI messages in a [text] object. You just need to calculate the appropriate time delta between messages.
Christof
On 22.04.2023 07:46, Peter P. wrote:
Hi,
starting to use [text sequence] instead of [qlist] more and more, I am wondering how difficult it might be to write an external script that converts .mid file into .txt usable by [textfile sequence]?
Has anyone attempted something similar already? What would be the easiest language and/or libraries to do this on DebianGNU Linux?
Thanks! Peter
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list