Forums > MaxMSP

transport

June 13, 2012 | 1:10 pm

Hi all, im using [transport] to trigger when a sample should start. The only problem is that transport automatically counts to 16 bars before resetting. Is there a message I can send it to make it reset its counter at 4 bars instead?

Thanks G.


June 13, 2012 | 3:24 pm

[transport] does not automatically reset itself.

Perhaps if you post a patch that exemplifies what you’re describing, and/or shows what you wish would happen, someone might be able to explain how to get the results you want.

Meanwhile, here’s an example patch that loops the transport through the first four bars.

– Pasted Max Patch, click to expand. –

June 14, 2012 | 1:43 pm

Hi Christopher, thanks for the help.

Sorry for not explaining myself fully before too.
Baically, I’m creating a patch which will play samples triggered by pressing keys on a midi keyboard.
I want to use this patch to help teach children about music.
I’m trying to work out a way that I can always trigger the samples on the first beat of the first bar even if the midi key (triggering the sample) is pressed out of time.

Any pointers or ideas would be greatly welcome.

Here is what I have so far.

Thanks again for the help.

G

– Pasted Max Patch, click to expand. –

June 14, 2012 | 2:14 pm

I’m still not entirely sure I know what you mean, but… If the general task is "When someone does a certain thing, wait till the next time the beat is 1.1.0, then respond," I’d say the [onebang] object will be most helpful. Something like this maybe?

– Pasted Max Patch, click to expand. –

June 14, 2012 | 3:27 pm

Thanks again.
yeah, that works great.

– Pasted Max Patch, click to expand. –

Viewing 5 posts - 1 through 5 (of 5 total)