seq or detonate?

Apr 14, 2013 at 10:03am

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

#67700
Apr 14, 2013 at 1:40pm

“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

#243520
Apr 14, 2013 at 5:02pm

Thanks, I’m trying yo use [detonate] with seq~… It strange there is not possible to choice the start point in terms of bars.

#243521
Apr 14, 2013 at 6:23pm

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.

#243522
Apr 14, 2013 at 7:49pm

Thanks broc.

#243523
Apr 19, 2013 at 9:40am

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?????

#243524
Apr 19, 2013 at 2:26pm

Have a look at the ‘bach’ project.

http://www.bachproject.net/

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.

#243525
Apr 21, 2013 at 7:44am

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…

#243526
Apr 22, 2013 at 9:37am

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:

Attachments:
  1. SeqPlayer2.2.zip
#243527
Apr 24, 2013 at 12:20pm

Thanks ctrlzjones,
that’s prefect!!! I had never heard of it.
Best
fv

#243528

You must be logged in to reply to this topic.