Dear OM friends,
Here is some functions for the tempomap class.
This could help us to get following informations from a tempomap class:
– beatmap (format: list of (measure-index beat-index ts tempo onset))
– tempo-list (per beat, in the format of voice object, should be perfectly synchronized with chord-seq)
– time-signature-list (eventually for a quantification)
The reason to make this is to import the tempo map from logic pro with exact tempo change, and synchronize the imported xml voice by input a correct tempo expression list for the accelerando or ritardando.
This can help to generated some more intelligent Click Track as well.
(attention: the input tempo map has to contain an initial tempo with onset of 0, otherwise, this will not work… should be carefully exported from something like Logic Pro. To check this, just view the first line of mini view of tempomap object)
A small question about omquantify: I realized that the tempo input is only per measure for the quantification, this is not easy for a linear or non linear tempo change (accelerando or ritardando). Would it be possible to add a module to make it possible with the input of tempo expression in voice?
something like:
((1/4 60)
(((0 1) (1/4 70 nil)) ((1 0) (1/4 140 nil)) ((20 0) (1/4 60 nil)) ))
Thanks a lot for testing and help!
Best wishes, also for 2023
Jialin
quantification-tempo-change.omp (225.0 KB)
tempomap-functions.lisp (6.0 KB)
test-midi-track.mid (4.7 KB)