# Sync loops in sequencer

**URL:** <https://in-thread.sonic-pi.net/t/sync-loops-in-sequencer/1454>\
**Category:** Support, Help & Resources\
**Created:** [August 31, 2018, 8:09am UTC](https://in-thread.sonic-pi.net/t/sync-loops-in-sequencer/1454 "2018-08-31T08:09:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Martin](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/martin/32/157_2.png) [@Martin](https://in-thread.sonic-pi.net/u/Martin)\
**Post date:** [August 31, 2018, 9:29am UTC](https://in-thread.sonic-pi.net/t/sync-loops-in-sequencer/1454/2 "2018-08-31T09:29:07Z")

</div>

Hi @keys,

from time to time there are questions about the `sync` command similar to yours. Here is a link to such a discussion, which will probably help: [First little diddy](http://in-thread.sonic-pi.net/t/first-little-diddy/1449/7)

Basically the `sync` will and can not `sync` to an event in the past. One way to cope with this in your case is to write your `sync` in the `live_loop` line such as

```ruby
live_loop :loop_chord, sync: :main do
  # code goes here ...
end

```

But I recommend to read the linked thread and the material in the tutorial to understand more fully what actually is going on.

Martin

---

_[View the full topic](https://in-thread.sonic-pi.net/t/sync-loops-in-sequencer/1454)._
