Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qtrigger complaining about argument #14

Open
claytharrison opened this issue Dec 17, 2023 · 1 comment
Open

qtrigger complaining about argument #14

claytharrison opened this issue Dec 17, 2023 · 1 comment

Comments

@claytharrison
Copy link

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
Copy link
Owner

thgrund commented Mar 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants