112 Commits

Author SHA1 Message Date
Alex McLean
f827201ee0
Switch 'operators' from .whatHow to .what.how, and make sure there are toplevel curried functions for all of them. Rename util.mod to util._mod, to make room for toplevel 'operator' of that name. (#285) 2022-12-07 19:07:55 +00:00
Felix Roos
4dd08268dc implement collect + arp function 2022-12-04 11:38:11 +01:00
Felix Roos
e2898ee5bf add eslint + fix lint errors 2022-11-24 15:30:11 +01:00
Alex McLean
e1a532500e
Tidying up core (#256)
* remove _ prefixes except for functions to be patternified
* categorise pattern methods
* experimental support for `.add.squeeze` and friends as alternative to `.addSqueeze`
* `every` is now an alias for `firstOf` with additional `lastOf` (which every will become an alias for next)
2022-11-22 08:51:25 +00:00
Felix Roos
8304993481 fix: #194 2022-11-21 21:59:08 +01:00
Felix Roos
f279c61792 fix: each example 2022-11-17 10:19:04 +01:00
Felix Roos
ff5d14fb63 can now have multiple triggers
+ Pattern.log now makes sense
2022-11-12 16:52:00 +01:00
Felix Roos
ea3e9de7ab feat: can now set a string parser for reify 2022-11-08 21:16:23 +01:00
Felix Roos
3033acadbb remove log 2022-11-03 14:57:46 +01:00
Felix Roos
e9544f8f92 test all in source examples 2022-11-03 14:47:27 +01:00
Felix Roos
1a6743dba9 hotfix: #241 2022-11-03 12:52:01 +01:00
Felix Roos
a0bd5bdd35 simplify asNumber 2022-11-01 21:45:40 +01:00
Felix Roos
fbf7c6293f get rid of asNumber on arithmetic functions 2022-11-01 21:38:16 +01:00
Felix Roos
e128b02da1 support object arithmetic 2022-11-01 21:31:39 +01:00
Alex McLean
24328ee8ae
Fix zero length queries WIP (#234)
* failing tests for zero-width queries

* support zero width timespans in splitArcs. Fixes one test, breaks a load more..

* fix fastGap
2022-10-29 23:23:10 +01:00
Felix Roos
08c4c641ec add note calls everywhere 2022-10-29 17:38:54 +02:00
Felix Roos
ecc4e1803c remove all occurrences of .out() 2022-10-27 19:47:07 +02:00
Alex McLean
5f381cf153
Patternify range (#231)
* patternify range

* patternify range

* fix test
2022-10-26 22:53:49 +01:00
Felix Roos
2ed290a214
Merge pull request #228 from tidalcycles/just-another-docs-branch
Just another docs branch
2022-10-26 21:42:12 +02:00
Felix Roos
603c55fda7 doc: in source value modifiers 2022-10-26 20:29:12 +02:00
Alex McLean
a5bf8f6732
fix fastgap for events that go across cycle boundaries (#225) 2022-10-06 21:35:45 +01:00
Felix Roos
04973d153b doc: legato gain velocity 2022-09-25 22:39:16 +02:00
Felix Roos
b64cf197f2 doc: improve chop + loopAt examples 2022-09-25 21:57:56 +02:00
Felix Roos
985de36647 Merge remote-tracking branch 'origin/main' into just-another-docs-branch 2022-09-25 21:16:05 +02:00
Alex McLean
513e0d748d
focus tweak for squeezeJoin - another go at fixing #216 (#221)
Fixes squeezeJoin, and in the process struct/keepif. fixes #216

Co-authored-by: Felix Roos <flix91@gmail.com>
2022-09-24 23:27:25 +01:00
alex
5b56fbed97 adjust use of focus in squeezeJoin - fixes #216 2022-09-23 08:00:53 +01:00
alex
dfdd918ea0 attempt at fixing #216 2022-09-22 22:52:02 +01:00
Felix Roos
df2c7ec1a1 doc: chop + loopAt 2022-09-22 23:20:15 +02:00
Felix Roos
227ad332b8 add missing params to echo 2022-09-19 23:42:04 +02:00
Felix Roos
5d699496ca doc: chunk + chunkBack 2022-09-19 23:30:37 +02:00
Felix Roos
e4f4fe81ae doc: iterBack 2022-09-19 23:21:55 +02:00
Felix Roos
abe28367fb doc: iter 2022-09-19 23:19:39 +02:00
Felix Roos
cc394d9f74 doc: echo + echoWith 2022-09-19 23:13:36 +02:00
Felix Roos
a14c7233d4 fix: tests 2022-09-17 23:40:56 +02:00
Felix Roos
c786d77b07 make polyrhythm alias of stack #211 2022-09-17 23:38:42 +02:00
Felix Roos
dfd33bab8e dedupe accumulation modifiers 2022-09-17 23:16:13 +02:00
Felix Roos
19b8f073b1 dedupe most of core api doc 2022-09-17 22:46:30 +02:00
Felix Roos
b38b16f70e doc: early, late, each, every, rev + doc structure 2022-09-17 21:45:39 +02:00
Felix Roos
decd2d6625 fixes #130 + #156 2022-08-05 16:10:37 +02:00
Felix Roos
a42ebd7aaf log helpers 2022-07-28 23:46:30 +02:00
Lars Kobbe
82728be44b remove edit and pipe function (duplicate of layer and apply) 2022-07-25 22:20:06 +02:00
Felix Roos
196d9db3fa log core version + add warning to isPattern 2022-06-27 22:40:50 +02:00
alex
363895761e Merge branch 'main' of github.com:tidalcycles/strudel 2022-06-18 13:19:38 +01:00
alex
c191accc64 add top-level chop 2022-06-18 13:19:14 +01:00
Felix Roos
3e1e92a6f1 add onTrigger helper 2022-06-16 21:01:35 +02:00
Felix Roos
4acdabe439 can now generate mdx from nunjucks 2022-05-24 00:03:59 +02:00
Felix Roos
f2a70396d1 add autogenerated api doc to bottom of tutorial 2022-05-20 21:56:55 +02:00
Felix Roos
b50daed0d0 Merge remote-tracking branch 'origin/main' into in-source-doc 2022-05-20 21:46:14 +02:00
Felix Roos
999251e137 Merge remote-tracking branch 'origin/main' into repl-package 2022-05-15 22:55:31 +02:00
Felix Roos
55d5cc9308 fix asNumber 2022-05-15 22:55:12 +02:00