thgrund / tidal-looper

Different looper variants for SuperDirt to provide live sampling in TidalCycles.
GNU General Public License v3.0
94 stars 2 forks source link

qtrigger complaining about argument #14

Open claytharrison opened 11 months ago

claytharrison commented 11 months ago

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

thgrund commented 8 months ago

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.