Closed VijayIyer closed 2 years ago
Question: Let's say I have a MIDI file which when played is 20 seconds long. Is there a way to split it into 2 smaller MIDI files of length 10 (in seconds).
You can use adjust_times for that, see e.g. https://github.com/craffel/pretty-midi/issues/149
adjust_times
Question: Let's say I have a MIDI file which when played is 20 seconds long. Is there a way to split it into 2 smaller MIDI files of length 10 (in seconds).