I am new to TidalCycles. Been working on it for a few weeks. So far the tutorials at tidalcycles.org have been great. However, I have run into some issues while exploring MIDI. Specifically this code:
d2 $ gain "1*16" # ccv (scale 30 90 $ slow 2 sine) # ccn 78 # s "midi" # midichan 12
I get the following error:
* Couldn't match expected type `Pattern Double -> Pattern Double' with actual type `Pattern Double' * The first argument of ($) takes one argument, but its type `Pattern Double' has none In the first argument of `ccv', namely `(scale 30 90 $ slow 2 sine)' In the second argument of `(#)', namely `ccv (scale 30 90 $ slow 2 sine)'
It seems I run into a problem when attempting to do anything beyond a simple integer with ccv. This evaluates successfully without error:
once $ ccv 90 # ccn 78 # s "midi" # midichan 12
I don't know how to check the TidalCycles version I have installed. However I can confirm I am running GHCi, version 8.4.3 if that helps.
Any thoughts? Looking forward to engaging y'all as I progress.