59 Commits

Author SHA1 Message Date
alex
a8d676641b brak() fix 2022-05-09 17:24:49 +02:00
alex
4fd843f8cf Implement brak() 2022-05-09 16:56:08 +02:00
alex
5419b0896c more docs 2022-05-05 18:45:31 +02:00
alex
f8f744dd87 standardise on hap rather than event, especially in function names 2022-05-05 17:20:36 +01:00
Felix Roos
2739c89475 Merge remote-tracking branch 'origin/main' into in-source-doc 2022-05-03 08:10:19 +02:00
alex
6273b34254 Support string concatenation for add() and variants 2022-05-02 09:40:06 +01:00
alex
4779dd13c0 _asNumber: support old 'silent' parameter, renamed
as 'dropfails'
2022-05-02 09:22:00 +01:00
alex
469db7d5bd Add ption for asNumber to return original event
on fail.
Make numerical composers use asNumber.
2022-05-01 23:17:21 +01:00
alex
f81190bf35 try adding some pattern docs 2022-05-01 20:46:30 +01:00
alex
065f4191f0 Rename TrigZero -> Trigzero, + more composer tests 2022-05-01 17:34:47 +01:00
Felix Roos
2348d056cb test jsdoc 2022-05-01 15:40:54 +02:00
alex
3fe705427f binary composer fixes 2022-04-30 19:21:37 +01:00
alex
e40bdad6c3 Add binary composers 2022-04-30 19:12:24 +01:00
alex
026ae3c8e1 reset -> trig, restart -> trigZero, then alias reset -> keepTrig, restart -> keepTrigZero 2022-04-30 09:23:42 +01:00
alex
f7dedd6244 Try without the special case for reset/restart 2022-04-29 17:08:00 +01:00
alex
7af3c33814 Tidy and add 'keepif' 2022-04-29 17:03:38 +01:00
alex
8cd3be6f67 Merge branch 'main' into reset 2022-04-29 16:50:50 +01:00
alex
86e8ed2ac0 Trying a different naming scheme for composers 2022-04-29 16:46:17 +01:00
alex
ee514ee8ba redo headers 2022-04-28 14:38:41 +01:00
Felix Roos
23836e2345 fix reset / restart default method 2022-04-24 21:00:11 +02:00
alex
1a5c95d084 Merge branch 'more-functions' of github.com:tidalcycles/strudel into more-functions 2022-04-24 17:51:41 +01:00
alex
6a6464b0f7 Remove append, fixes #89 2022-04-24 17:51:31 +01:00
alex
60027e664f Try 'keep' instead of 'const' 2022-04-24 14:38:33 +01:00
alex
27ff329981 Prettify 2022-04-24 11:30:13 +01:00
alex
df5ffb4736 Tidy up composers, supporting function patterns 2022-04-24 11:27:52 +01:00
alex
5c3f095ef2 Experimental rejig of the pattern composers.
Now `restart` is `setRestart`, use `constRestart` for the old behavior.
Same for `reset`.
2022-04-24 01:02:32 +01:00
Felix Roos
9e2e5ce581 log + drawLine 2022-04-23 23:28:43 +02:00
Felix Roos
dd2552eda8 add seq to factories for highlighting 2022-04-23 20:27:16 +02:00
alex
ff418c9f0c seq -> sequence shorthand ref #87 2022-04-23 11:10:05 +01:00
alex
4c43d3d850 Make sequence a fastcat alias and change cat to be a slowcat ref #87 2022-04-23 11:01:12 +01:00
alex
a4cacc079e Support subpattern sequences in stack like slowcat in ref #87 2022-04-23 09:47:12 +01:00
alex
9df20fcbc5 support catting subpatterns, fixes #87 2022-04-23 09:38:05 +01:00
alex
f4dd549a41 Merge branch 'main' into more-functions 2022-04-23 09:21:47 +01:00
alex
cc445e89a3 cat/append/fastcat/slowcat as pattern methods 2022-04-23 09:21:40 +01:00
Felix Roos
ab14d70c6c rename to restart 2022-04-22 23:01:37 +02:00
Felix Roos
ecfc6fd31e simplify 2022-04-22 22:52:11 +02:00
Felix Roos
0fae8b2b10 first take at reset 2022-04-22 22:21:43 +02:00
alex
903c065e26 Use mathematical mod in slowcat, fixes #85 2022-04-22 17:02:21 +01:00
alex
1029f8674c fix the fix for echo 2022-04-22 12:35:43 +01:00
alex
c801660b2a use rational multiplication in echo 2022-04-22 12:30:16 +01:00
alex
8e441ecb19 fix striate: union -> set 2022-04-22 12:07:23 +01:00
alex
c305e82f5c Merge branch 'main' into pattern-composers 2022-04-22 11:52:36 +01:00
alex
2c224d5092 Make comparisons rational in _compress 2022-04-22 11:46:34 +01:00
alex
974503160d squeezeflip, tests for add including failing one.. 2022-04-22 09:51:44 +01:00
alex
b510ab0371 Make set work for primative patterns, allow ops accept sequence 2022-04-22 09:26:39 +01:00
Alex McLean
90c5605409
Merge pull request #76 from tidalcycles/more-functions
add `striate()`
2022-04-21 14:21:29 +01:00
alex
3ae6443c59 Tidy test and console logs 2022-04-21 14:17:28 +01:00
alex
b370c405da Add pattern composers, implements #82 2022-04-21 14:13:26 +01:00
alex
1d56d79757 add striate() 2022-04-17 23:18:01 +01:00
alex
30b7429169 Fix appLeft/appRight to discard nonmatching events 2022-04-17 18:28:55 +01:00