How do I synchronize metronomes going at different speeds? (Newbie question)

Dr. Spankenstein's icon

I'm currently trying to have 3 different metronomes running at the same time but all controlled by some strict timing procedure so that they will be synced up when playing.

Metronome 1=n
Metronome 2=n/2
Metronome 3=n/4

The patch I have included does not work and they slowly go out of sync with each other and then back in sync again.

Any suggestions?

Thanks

Eric Lyon's icon

If you don't mind using third party externals, you might want to check out my samm~ (sample accurate multiple metronomes) external. It does precisely what you described.

Eric

Dr. Spankenstein's icon

I definitely dont mind and will give it a go!

Thanks

Peter Castine's icon

In this case I'd just have one master metronome at the fastest speed,
and use counter objects to bang on every 2nd, 4th, incoming bang.
On 15-Dec-2006, at 0:48, Rhys Perkins wrote:

> Metronome 1=n
> Metronome 2=n/2
> Metronome 3=n/4
>
> The patch I have included does not work and they slowly go out of
> sync with each other and then back in sync again.

-------------- http://www.bek.no/~pcastine/Litter/ -------------
Peter Castine +--> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de

Steven Miller's icon

On Dec 14, 2006, at 4:48 PM, Rhys Perkins wrote:
> I'm currently trying to have 3 different metronomes running at the
> same time but all controlled by some strict timing procedure so
> that they will be synced up when playing.
>
> Metronome 1=n
> Metronome 2=n/2
> Metronome 3=n/4
>

This is a straightforward way to accomplish it with one metro and a
couple of counters.

Max Patch
Copy patch and select New From Clipboard in Max.

----
Steven M. Miller

Associate Professor of Contemporary Music
College of Santa Fe
Contemporary Music Program
1600 St. Michaels Drive
Santa Fe NM 87505
http://pubweb.csf.edu/~smill
(505) 473-6197

SFIFEM
Atrium Sound Space
OVOS

mzed's icon

Quote: Dr. Spankenstein wrote on Thu, 14 December 2006 15:48
----------------------------------------------------
> I'm currently trying to have 3 different metronomes running at the same time but all controlled by some strict timing procedure so that they will be synced up when playing.

Like:

Max Patch
Copy patch and select New From Clipboard in Max.

?

mz

Eric Lyon's icon

Or even

Max Patch
Copy patch and select New From Clipboard in Max.

?

Eric

Stefan Tiedje's icon

Rhys Perkins wrote:
> I'm currently trying to have 3 different metronomes running at the
> same time but all controlled by some strict timing procedure so that
> they will be synced up when playing.
>
> Metronome 1=n Metronome 2=n/2 Metronome 3=n/4

Standard solution would be to use one master metro, the slowest one and
create subdivisions with delays...

Stefan

Max Patch
Copy patch and select New From Clipboard in Max.

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

acouphenes's icon

easy. one metro. one counter. and select objects. that's all you need.

Max Patch
Copy patch and select New From Clipboard in Max.

vade's icon

why not use setclock and have a master clock they all sync to ?

On Dec 16, 2006, at 10:22 AM, Dominic Thibault wrote:

>
> easy. one metro. one counter. and select objects. that's all you need.
>
> max v2;
> #N vpatcher 15 55 728 499;
> #P window setfont "Sans Serif" 9.;
> #P comment 194 251 49 9109513 slow;
> #P comment 133 251 49 9109513 medium;
> #P number 279 179 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
> #P button 203 234 15 0;
> #P button 145 234 15 0;
> #P button 88 234 15 0;
> #P newex 145 181 57 9109513 select 0 2;
> #P newex 203 182 52 9109513 select 0;
> #N counter 3;
> #X flags 0 0;
> #P newobj 145 149 66 9109513 counter 3;
> #P toggle 145 67 15 0;
> #P newex 145 119 60 9109513 metro 250;
> #P comment 208 121 100 9109513 = fastest metro (n/4);
> #P comment 78 251 36 9109513 fast;
> #P fasten 2 0 7 0 150 143 93 143;
> #P connect 3 0 2 0;
> #P connect 2 0 4 0;
> #P fasten 4 0 6 0 150 176 150 176;
> #P connect 6 1 8 0;
> #P connect 6 0 8 0;
> #P fasten 4 0 5 0 150 173 208 173;
> #P connect 5 0 9 0;
> #P connect 4 0 10 0;
> #P pop;
> --
> Acouphenes.-.-.-.-.-.
>
>

v a d e //

www.vade.info
abstrakt.vade.info

Dr. Spankenstein's icon

Im not familiar with the set clock object in Max and wouldnt know how to go about doing this. If you care to shed some light on how to use it, I would be most grateful!

The alternatives are all great and I'm always happy to try out any new ideas to acheive syncronization as I've still got a lot to learn.

Dr. Spankenstein's icon

Ok so I've got the metronomes synced up but unfortunately this just confirmed the fact that it's a problem with the counters. Does anybody know of a way to sync up the counters as it is their output in this case, that drives the sequencer?

I've included the patch, the counters dont always hit 0 at the same time, i.e. second counter should hit 0 the same time as first but after cycling thru twice.

Sometimes they are synced but if they are all reset then the chances are they wont be next time?!