Forums > MaxMSP

Metro and coll synchronization

October 4, 2010 | 9:40 am

Hello,

I made a little patch :

– Pasted Max Patch, click to expand. –

I would like to synchronize coll contents with the space bar playing.

How do you cope with the 5 ms limitation in the metro object ?

Do you have another methods to synchronize coll contents with users events ? (space bar)

Thanks a lot for your help and ideas,

Have a nice day,

Mathieu


October 4, 2010 | 3:49 pm

Hello mayou,

[qlist] ?

I’m not sure to understand well what you want to do ; could you explain "… synchronize coll contents with the space bar playing …" ?


October 5, 2010 | 9:18 am

Hello pizza olives,

By "synchronize coll contents with the space bar playing", I mean playing each event of the coll with space bar but the events are known. For example the event times could be the index of each line in the coll :

100 ms : event a
200 ms : event b
450 ms : event a + b
etc.

And then I play with space bar at the time I choose and it plays each event on my hits and it goes faster if I play faster, and slower if I play slower. (And it pauses if I don’t play, waiting for a space bar hit)

Do you have any ideas on this ?

Thanks :)

Mayou


October 5, 2010 | 9:49 am

you maybe better off using detonate for this application; you also need to articulate your problem better. is it more like this:
spacebar-> cue 1: [a series of timed events]-> finishes (does nothing, waits for spacebar)
spacebar->cue 2: [another different series of events ]-> finishes
etc?


October 5, 2010 | 12:01 pm

I’m sure there’s an easier way to do this, but I got stuck in this direction– is something like this what you’re after?

– Pasted Max Patch, click to expand. –

October 5, 2010 | 12:35 pm

Hello Mayou,

– Pasted Max Patch, click to expand. –

i am pretty sure this example doesn’t do what you try to achieve ;-)

But you said : "… goes faster if I play faster, and slower if I play slower … and it pauses if I don’t play, waiting for a space bar hit …" so that means you are driving event just by space bar ?!

IMHO You should have a look on [qlist] as you can edit a time sequence whit it, and modify the "tempo" during the process ; or [detonate] as Terry have suggested ???


October 5, 2010 | 1:29 pm

Thanks for your answers !!

@Terry : It is close to what I am looking for. I’ll try to explain the difference.

Here you have cues : 1 [list], 2 [list], etc. And each cue is launched by space bar, then it plays all the list, and then again with space bar.

What I need is delta time between expected cues and real play to refresh the progression in the cues. (With one cue < => one space bar hit)

Your work is great and quite close to what I’m after. If I change your list and I try for example:
1 0 60;
2 300 65;
3 1200 61;
4 1600 62;
etc.
It’s closer to what I expect.
The main difference is : if I play before the end of an event, in your patch it actually waits for the end and then go to the next one automatically. But I would like to press space bar and then it plays the next one (even if its not finished) and then tempo is increasing. (Maybe working with equal time intervalls first should be easier) and if I don’t press space bar, it waits for me (as you actually did).

@Pizza Olives: Love your text events =) What is really good in your patch is that we have a list of expected events and I can break the sequence with space bar when I want. But it would be really great if (even if events are expected @ known times) the system would wait for my space bar pressing before going to the next event. I mean I would like to put something like tempo prediction in it.

Really great jobs, I think my solution is somewhere in between or uses both of your works and something else ^^

Mayou


October 5, 2010 | 2:03 pm

Ps : @Pizza Olives : In fact 2 things added to your patch and its really great :
- the fact that the patch waits a little time for space bar hits. (or a long time)
- and the fact that when the sequence is launched, if I press for example 2 times or 3 more rapidly then the rest of the sequence will be speeded up too. (or slow down if I play slower). And all of this calculated from one event to one other. (I mean no tap tempo that calculates the mean on 3 or 4 hits).


October 5, 2010 | 9:29 pm

OK I misunderstood your problem– and I’m still not sure I understand it, but I am sure you could adapt either my patch or pizza’s to suit your needs.
T


October 6, 2010 | 1:10 pm

Yes Terry.
Thanks a lot for your help :)
Have a nice day
Mayou


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