Hey,
Just wondering if there is a way of commenting out a line - so I don't have to retype it.
For example if I wanted to stop and start d1 every now and then using d1 silence
Thanks!
Hey,
Just wondering if there is a way of commenting out a line - so I don't have to retype it.
For example if I wanted to stop and start d1 every now and then using d1 silence
Thanks!
Just put two hyphens (i.e. â ) at the beginning of the line.
Bryan
Single line comments in TidalCycles are the same as in Haskell, which is to say, that you prepend the text that you wish to comment out with --
So you would do:
-- d1 $ silence
or
d1 $ s "bd*32" -- a comment here
Hi @Paul,
If you have a look at the âbasic interationâ video, I try to explain that itâs not the whole file youâre editing that gets ârunâ - itâs only the block of text that your cursor is on. You can see the block âflashâ when you run it - thatâs the only bit that gets sent to tidal.
So while what @bcgreen and @eris says it true, you wouldnât actually need to comment out d1 silence - it doesnât have any effect until you send it to tidal.
Thanks all for your replies - really helpful
@yaxu Iâll take another look a the basic interaction vid -really enjoying everything so far!