explaining a groove~ sync concept

astevens's icon

Hi all,

I've managed to loop a groove~ and my patch works fine but I'm slightly puzzled on the how it works.

From the bottom right outlet of groove~ I go into delta~ then into

This all works fine and achieves my goal but I would love to know how the signal flows from the 0. to 1 outlet of groove~
ending up with a bang from the edge object.

I found this chain of events via the sync option of the groove~ help menu but can't work out how it flows form the groove~ to edge.

Slightly perplexed in understanding the delta and

Yes, I should be content with it working successfully but I'm interested.

Can anyone enlighten?

Many thanks.

leafcutter's icon

Try starting at the groove sync outlet and attaching number~ and scope~ objects all the way down the chain to work it out for yourself. This combined with the references and help files will get you the knowledge you require. In my opinion this is much more valuable and enlightening than having someone explain it in text.

astevens's icon

Thanks Leafcutter,

I understand what comes out of the groove sync outlet and can see the 0 to 1 samples in the number~ and the rising value in scope~
I get no value change from the number~ at all from delta~
I see a sharp increase in scope~ signal when the loop starts. I can't seem to get my head around how the sharp spike in scope relates to 'the difference in each incoming sample value' from the input signal.

Would that spike be the difference between 0 and 1?
if so what sets the default as an integer? Can't see the default to integer in the preferences.

I guess I should be just content it's all working and not worry about the inner workings.

I'll continue my quest,

Thanks again..

leafcutter's icon

yes you got delta correct, you get a low positive value as the loop runs forward and as it flips from near 1. back to 0. you get something close to -1 out of delta. This marks the end of a loop. The reason you don't see it in number~ is because it happens too fast for number~ box to catch the value. All edge~ does is generate a bang on these kind of sharp signal transitions (edges).

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

You can measure the size of the jump like this - minmax~ is very useful in these kind of investigations:

I don't understand what you mean with the default integer thing - maybe you should post a patch?

astevens's icon

Thanks for your time Leafcutter.

The penny has dropped!