# Modulate cps in real time?

**URL:** <https://forum.toplap.org/t/modulate-cps-in-real-time/1477>\
**Category:** TidalCycles\
**Created:** [17 October 2020 21:39 UTC](https://forum.toplap.org/t/modulate-cps-in-real-time/1477 "2020-10-17T21:39:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![speedo19](https://forum.toplap.org/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@speedo19](https://forum.toplap.org/u/speedo19)\
**Post date:** [17 October 2020 21:39 UTC](https://forum.toplap.org/t/modulate-cps-in-real-time/1477/1 "2020-10-17T21:39:41Z")

</div>

Is there a way to dynamically modulate the cps of a session with tidal functions? eg

`setcps (range 0.2 0.3 (slow 6 tri))`

---

<div class="post-metadata">

**Author:** ![yaxu](https://forum.toplap.org/user_avatar/forum.toplap.org/yaxu/32/3_2.png) [@yaxu](https://forum.toplap.org/u/yaxu)\
**Post date:** [17 October 2020 22:32 UTC](https://forum.toplap.org/t/modulate-cps-in-real-time/1477/2 "2020-10-17T22:32:38Z")

</div>

Hi @speedo19,

This should work:

`d1 $ cps (segment 32 $ range 0.2 0.3 (slow 6 tri))`

By the way [https://club.tidalcycles.org](https://club.tidalcycles.org) is the most active tidal forum.

---

<div class="post-metadata">

**Author:** ![speedo19](https://forum.toplap.org/letter_avatar_proxy/v4/letter/s/d78d45/32.png) [@speedo19](https://forum.toplap.org/u/speedo19)\
**Post date:** [20 October 2020 01:29 UTC](https://forum.toplap.org/t/modulate-cps-in-real-time/1477/3 "2020-10-20T01:29:20Z")

</div>

> [@yaxu](#):
>
> `d1 $ cps (segment 32 $ range 0.2 0.3 (slow 6 tri))`

Ah - thanks alex. I will try that!
