On Sat, Aug 04, 2012 at 11:50:17AM +0300, Yotam Medini ???????? ?????????? wrote: > Hello Midish gurus -A > Is it possible, and could you please give an example of using midish > to extract a time-segment from a midi-file.A Something so I could write a > wrapper > to be used like the following: > A A midish-wrapper A -iA BACH_BMINOR_MASS_1_04GLORIA_ten.mid -o > osana.midi -tbegin 0:42 -tend 1:33 > This would extract from: > A A BACH_BMINOR_MASS_1_04GLORIA_ten.mid > a sub-midi file: > A A A osana.midi -tbegin > starting after 42 seconds and end after 1-minute + 33 seconds of the > original. Hi, Midish can use only measure numbers as time units. If this is OK for you, you can use 'mcut' to remove parts of the midi file you don't want. Example, to select measures 17..33 import "input.mid" g 33 sel [mend] mcut g 0 sel 17 mcut export "result.mid" -- AlexandreReceived on Sat, 4 Aug 2012 13:22:04 +0200
This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:23 CET