tidal-looper icon indicating copy to clipboard operation
tidal-looper copied to clipboard

qtrigger complaining about argument

Open claytharrison opened this issue 1 year ago • 1 comments

Hi, this looper is super cool! It's all working great for me, except when I try to use qtrigger. If I write my code as such:

linput = pI "linput"
lname = pS "lname"

d1 $ qtrigger 1 $ s "looper"

I get the following error in the tidal console:

<interactive>:392:6: error:
    • Couldn't match expected type: ControlPattern -> Pattern ValueMap
                  with actual type: Pattern a0
    • In the first argument of ‘($)’, namely ‘qtrigger 1’
      In the second argument of ‘($)’, namely ‘qtrigger 1 $ s "looper"’
      In the expression: d1 $ qtrigger 1 $ s "looper"

Do you see anything I might be doing wrong? I feel like it must be something simple

claytharrison avatar Dec 17 '23 12:12 claytharrison

Oh dear, I apologize for only reading your message now. In newer version, TidalCycles doesn't expect the stream id anymore. So the code should be simply d1 $ qtrigger $ s "looper" now. I planned to update my documentation and planned to do some improvements in the midi control of the looper this year. But hopefully this will solve your issue for now.

thgrund avatar Mar 09 '24 11:03 thgrund