# Signal Music, Clock Syncing
If you plan on performing your music, it is helpful to be able to sync your setup with someone else's, so that your sounds line up with theirs in a rhythmically sensible way.
Thankfully, if you use transport-locked ramp signals to drive your music, using `[phasor 4n @lock 1]` or similar, then it will only take minimal modifications to sync to an external clock.
There's a few ways to sync Max with the outside world, but MIDI clock sync seems to be widely supported while being fairly stable.
In this example patch, you can switch between the internal transport-driven `[phasor 4n @lock` 1] object and an externally-driven `[sync~]` object.
> [!example]
> ![[image-40.png]]
> A simple patch to alternate between internally-synced ramps and externally-synced ones.
I found Ableton Link also worked fairly well. It is important to use the provided `[link.phasor~]` object instead of `[phasor~ 4n @lock 1]`. I found I would get jittery signals if attempting to use the latter.