metrone

zarby's icon

how to have a regular metronome ?????

thank you
laurent

Floating Point's icon
zarby's icon

ok,
i know metro and i use it but how to make it regular?
for example when i play it slow down, it is influenced by what i am doing!!!!

here is the patch :

4604.testmetronome.maxpat
Max Patch
Floating Point's icon

make sure max is in overdrive, but more important is to drive the play with a phasor (or some other appropriate signal)-- that will ensure sample-accurate playback.

zarby's icon

ok, it's better here is my new patch
it's stable but as you can see i multiply the output signal from phrasor to go in the play (i don't know why, perhaps it's the speed)
but i have 2 sound the first one is multiply by 800 and the second by 4000 if i want the real sound (or nearest possible)
can you tell me why?

4608.testmetronome.maxpat
Max Patch
brendan mccloskey's icon

Hi
if your question is "why does the [phasor~] signal need multiplied by differing amounts in order to drive [play~]" then the answer is simple. The [phasor~] is outputting a ramp from 0. - 1., [play~] expects a signal representing millisecond playback, therefore the 'raw' (0-1) signal from phasor would only play the first millisecond of any file. Multiply the ramp by 500 and you will hear the first 500ms of a file.

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

Divide 1000(ms) by the length of your file (in ms) to give an appropriate frequency value for the phasor:

Brendan

zarby's icon

yes, but i don't want to modify the frequence because it's for a metronome....

zarby's icon

coucou!!

Floating Point's icon

have a look at this thread-- it has various solutions to having a constant-gradient ramp with interruption, ie variable interonset time, which is what you need.