seq or detonate?
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.
"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.
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.
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…
There has been an external called [SeqPlayer] for playing midi files, that allowed to define ‘in and ‘out points and therefore loop type 0.
I think Eric L Singer is the author.
It is still working for Intel …
I assume there is no objection if I post it here:
that’s prefect!!! I had never heard of it.