seq or detonate?
Hi list,
does detonate (or seq) support time signature change???
I need to work with a midi file, choosing a specific bar which have a
specific time signature.
Thanks
fv
"choosing a bar" is probably for both objects already asked too much.
you could try using [filein] and search for byte FF 58 followed by a word 04 to read the signature. not sure how to find best at which time it occurs, or how to make us of that data later in [seq] or [detonate]
as long as the midi file is format 1 it should be possible to create a custom formatted tempo map (including tempo and signature changes , as long as they appear on MTrk 2 and above) from it within maxmsp for the use in maxmsp, but i dont have an example ready.
-110
Thanks, I'm trying yo use [detonate] with seq~... It strange there is not possible to choice the start point in terms of bars.
Detonate uses absolute timing (milliseconds) and doesn't know anything about bars.
But you can calculate milliseconds from bars (beats) and tempo (BPM).
1 beat = 60000/BPM milliseconds
Then skip all entries of detonate until the sum of delta times reaches the start time.
Thanks broc.
Unfortunately, it seems to be not possible skipping from a start point to another one!
Is there any object which allows to start at a precise point in a midi file?????
Have a look at the 'bach' project.
It provides a powerful set of objects for automatic composition including import/export of midi files. In particular it allows setting the start point of playback, eg. 'play(3)' will start at bar 3.
Thanks I will try it. It's very strange there is no possibility to start from a point in a midi sequence with seq or detonate...
Thanks ctrlzjones,
that's prefect!!! I had never heard of it.
Best
fv