Step-by-Step with Detonate

Oct 19, 2013 at 3:35am

Step-by-Step with Detonate

Hi –

I’m having a problem with Detonate and I was hoping someone here could help.

I’d like to play back a polyphonic MIDI file, one note/chord at a time, using a Bang coming from the a Spacebar trigger.

This works most of the time, but some notes seem to get their durations shortened and they sound “flubbed”, and I’m not sure what’s causing that or what could be done to fix it.

I could try to upload a MIDI, if people seem to think the problem is starting there. Is Sendspace OK on the forum?

Thank you so much!

#268448
Oct 19, 2013 at 7:03am

It seems possible that triggering multiple notes in the same tick of the scheduler might be causing [detonate] to malfunction. You might try deferring the re-triggering of the ‘next’ message, by putting either a [deferlow] or [delay 0] object after the [sel 1]. Other than that, your program looks like it should work.

#268455
Oct 19, 2013 at 7:58am

dont know if that helps you, but have you tried using ’1′,’2′,’3, 4, 5′ instead of ‘next’ and ‘bang’?

#268459
Oct 19, 2013 at 8:02am

‘a’ “a” ’1′ “1″

what the heck is the forum doing to these characters now.

looks like the closing apostrophes would be of a bigger font size.

an why are they different when they are around a number character.

‘a’ “a” ’1′ “1″

‘a’ “a” ’1′ “1″

‘a’ “a” ’1′ “1″

‘a’ “a” ’1′ “1″

‘a’ “a” ’1′ “1″

only as code it is normal:

'a' "a" '1' "1"

weird.

-110

#268460
Oct 19, 2013 at 9:17am

If your MIDI has overlapping notes of the same pitch (re-triggering), the second note may be shortened by note-off from the first note. This could be solved with the @repeatmode attribute of [makenote].

#268463
Oct 19, 2013 at 2:57pm

Hmmmm…I tried all of the changes, but nothing seems to be doing it.
Here’s the updated patch.
I’ve also been trying MIDI from this website: http://www.garyrog.50megs.com/midi.html

Are there maybe some externals that could do this better?

Maybe it has something to do with note durations in respect to specified tempo also?

#268476
Oct 19, 2013 at 3:09pm

Oh, it looks like that Counter-stepped version won’t work – because it can’t do chords. Here’ another quick update.

#268478
Oct 20, 2013 at 3:21am

> Maybe it has something to do with note durations in respect to specified tempo also?

In my experience detonate ignores the tempo specified in a MIDI file and always assumes standard tempo 120. So if the file has tempo x, you may need to adjust the durations, ie. multiply with factor (120./x).

#268495
Oct 20, 2013 at 11:39pm

I’m not sure that is the problem, though – because it seems like the note “blunting” happens only occasionally.
Are there any other possible fixes for this? No one else has run into this problem? The application doesn’t seem that specialized.

#268569
Oct 21, 2013 at 1:50am

I’m using detonate for continuous playback of MIDI files without any problem. So there seems something wrong with your step-by-step trigger and chord recognition. For investigating the issue it would be most helpful to find a reproducible scenario.

#268576
Oct 22, 2013 at 1:30am

Yes – detonate works well for simply playing back a MIDI file – but triggering it step-by-step is where the problem occurs – I attached the patch I was working with in the above thread and a link to various MIDI files that demonstrate the problem.

It’s a truly frustrating problem!

#268710
Oct 23, 2013 at 2:36am

Is there a way to route the output to some sort of polyphonic voice selector?

#268857
Jan 10, 2014 at 4:45pm

Hi, Lizzy (or anyone) – I wonder if you might be able to help me? I’ve been using this application for a couple of years now, to do all sorts of exciting performer-based things, ultimately triggered by audio hits and used to trigger musical notes, one at a time, and video, in real time.

Great! The trouble is, my mac died recently and the application – Tapper – will not work in OS X 10.8 as it’s power pc. I’m really desperate to find something that will do the same job in 10.8, but so far, to no avail. M sounded like it might do the trick, but I can’t find a way to load midi files into it (it’s greyed out in the menu). Thew closest thing anywhere is your example above using detonate. The thing is – I’m completely new to Max and I’m feeling very stupid…I’ve tried and tried to find a satisfactory way to use a midi input to do the job of the space bar – but I can’t seem to filter out the original note info – it seems like at least three notes are playing together.

If you – or anyone – might be able to show me how that bit of midi input ought to fit into the examples above, I’d be very very grateful – I’ve got shows coming up that require it – and equipment built around the concept!

So…here’s hoping!

#277973

You must be logged in to reply to this topic.