CPS don't work on my tidal

Hi.
I have problem.
First is my bad English and second is my tidalcycle can’t change CPS.
and here is the error message.
any advice?

GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help
Prelude> Prelude>
Listening for controls on 127.0.0.1:6010

:70:1: error:
? Couldn’t match expected type �e(Pattern ControlMap -> IO ())
-> ControlPattern -> t�f
with actual type �ePattern ControlMap�f
? The function �ecps�f is applied to two arguments,
but its type �ePattern Double -> Pattern ControlMap�f has only one
In the expression: cps (200 / 60 / 4) d1
In the expression: cps (200 / 60 / 4) d1 $ sound “bd bd bd sn”
? Relevant bindings include it :: t (bound at :70:1)

Welcome @111,

This changed in tidal version 1.x

Use setcps instead, e.g. setcps 1.1

Hi yaxu.

It worked!
Sorry i couldnt find about setcps.
Thank you so much!

1 Like