# Synchronize end of sample with new cycle

**URL:** <https://uzu.lurk.org/t/synchronize-end-of-sample-with-new-cycle/3102>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [28 April 2021 12:00 UTC](https://uzu.lurk.org/t/synchronize-end-of-sample-with-new-cycle/3102 "2021-04-28T12:00:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kindohm](https://uzu.lurk.org/user_avatar/uzu.lurk.org/kindohm/32/395_2.png) [@kindohm](https://uzu.lurk.org/u/kindohm)\
**Post date:** [28 April 2021 15:31 UTC](https://uzu.lurk.org/t/synchronize-end-of-sample-with-new-cycle/3102/2 "2021-04-28T15:31:46Z")

</div>

I think you could do this with `loopAt` and `# speed "-1"`, as `loopAt` will align the sample start/end with the cycle boundaries. However, this will also likely change the pitch of the sample depending on the tempo.

I can't really think of another way without using nudging the timing as you suggested.

---

_[View the full topic](https://uzu.lurk.org/t/synchronize-end-of-sample-with-new-cycle/3102)._
