train~ restart


    Apr 25 2006 | 7:30 pm
    how would you synchronize 2 trains?

    • Apr 27 2006 | 5:04 am
    • Apr 27 2006 | 9:39 pm
      While trying to solve this problem, I made this patch, which entertains the heck out of me.
      mzed
    • Apr 27 2006 | 10:09 pm
      I like this one, too.
      mzed
    • Apr 28 2006 | 10:33 pm
      On Apr 25, 2006, at 3:30 PM, Roman Thilenius wrote:
      > how would you synchronize 2 trains?
      Funny, it seems like if you set the interval to zero for a short period of time, they sync, although it's somewhat disruptive... :
    • Apr 28 2006 | 11:26 pm
      Use phasor~ and really easy to sync them.
      Peter McCulloch
    • Apr 29 2006 | 9:57 am
      Quote: David Stanford wrote on Fri, 28 April 2006 16:33 ---------------------------------------------------- > On Apr 25, 2006, at 3:30 PM, Roman Thilenius wrote: > > > how would you synchronize 2 trains? > > Funny, it seems like if you set the interval to zero for a short period > of time, they sync, although it's somewhat disruptive... :
      yea well i tried several things like that - like sending "0, n" to both trains - but the 0 cycle does not start before the current cycle is over. so ...
    • Apr 29 2006 | 10:00 am
      Quote: peter.mcculloch@gmail.com wrote on Fri, 28 April 2006 17:26 ---------------------------------------------------- > Use phasor~ and > really easy to sync them. > > Peter McCulloch
      sampleexact? phasor does not take signals for the phase input ..
    • Apr 29 2006 | 1:09 pm
      Yeah, so the syncing is slower than you need. I was afraid that might be the case.
      On Apr 29, 2006, at 5:57 AM, Roman Thilenius wrote:
      > yea well i tried several things like that - like > sending "0, n" to both trains - but the 0 cycle > does not start before the current cycle is over. > so ...
    • Apr 29 2006 | 4:12 pm
      You don't need two phasors~, or you can sync them using rate~, and the "sync cycle" method. While this isn't sample exact, in terms of specifying the exact sample when the sync signal happens, rate~ is generally more than adequate for any kind of sync problem. (try setting the rate to a multiple of the phasor~, and you'll see them snap together)
      Peter McCulloch
    • Feb 04 2017 | 10:25 am
      Thanks a lot for your answers, but your solutions are mostly hacks, they dont solve most problems and certainly not simple to use. train~ should be resynchronised with a simple message or a value. I really need a proper metro~ as well
      Negative values works, but for a very odd reason, it needs times.