[bug?] detonate

Mar 4, 2009 at 9:41pm

[bug?] detonate

A midi file with at least two tempo changes an a few meter changes will not be read properly by the detonate object. There’s not an easy way to test it. But exporting an existing file will affect it’s total duration. This patch and midi file help to investigate.

_
johan

[shortened version:]

– Pasted Max Patch, click to expand. –
#42663
Mar 5, 2009 at 8:06am

I didn’t really properly describe the problem, sorry. What I see is that upon the first tempo change, the old tempo will be used to calculate time values.

_
johan

(btw. how did it happen that a few objects generated hundreds of lines of code in the first post?)

#152731
Mar 5, 2009 at 8:28am
jvkr wrote on Thu, 05 March 2009 09:06
(btw. how did it happen that a few objects generated hundreds of lines of code in the first post?)

It’s the [detonate] instance that produce all this code. Look at the .maxpat, the [detonate] description has a very big “name” field, it looks like it contains the file you imported.

p

#152732
Mar 5, 2009 at 10:28am

Quote:It’s the [detonate] instance that produce all this code. Look at the .maxpat, the [detonate] description has a very big “name” field, it looks like it contains the file you imported.

Ah, of course, I should have re-instantiated the object. This is shorter. Thanks.

_
johan

– Pasted Max Patch, click to expand. –
#152733
Mar 27, 2010 at 10:08am

Hi!
Is there a way to know about the tempo (bpm) of a midi file or it’s duration?

best regards

#152734
Mar 28, 2010 at 9:50am

dont know about tempo, but this is what I use to reckon a file’s duration {input: file-path, output: time in seconds (f)}:

– Pasted Max Patch, click to expand. –
#152735

You must be logged in to reply to this topic.