72 Commits

Author SHA1 Message Date
Felix Roos
98f91607cd allow await + refactor locations 2022-03-21 19:47:58 +01:00
Felix Roos
67c54c07c2 always stringify fraction param 2022-03-19 19:27:26 +01:00
Felix Roos
3e33427bcf revert un-memoization 2022-03-19 14:05:43 +01:00
Felix Roos
61e81a4e60 now running smooth without memoization 2022-03-19 12:03:26 +01:00
Felix Roos
d13bfa9220 add memoized version of fraction.js 2022-03-19 00:19:34 +01:00
Felix Roos
682462ca07 fix: slow fractions 2022-03-19 00:18:04 +01:00
Felix Roos
d973d56ef6 fix tests (always bootstrap on define) 2022-03-18 22:00:43 +01:00
Felix Roos
733994f9b5 cleanup constructor 2022-03-18 17:36:56 +01:00
Felix Roos
a3fa476c7f add floor ceil and segment 2022-03-17 16:12:15 +01:00
Felix Roos
5d8ccdff25 add silent flag to asNumber 2022-03-13 11:41:39 +01:00
Felix Roos
af81626f43 Merge remote-tracking branch 'origin/main' into notes-and-numbers 2022-03-06 19:23:24 +01:00
Felix Roos
fbc629c6da add Pattern.velocity 2022-03-06 14:38:49 +01:00
Felix Roos
7e0b6d7f2a add duration + legato 2022-03-06 10:35:23 +01:00
Felix Roos
0ef62708ab add Pattern.round 2022-03-04 00:07:00 +01:00
Felix Roos
52da8552ef add Pattern.len 2022-03-04 00:06:26 +01:00
Felix Roos
9b3f77f4f5 Merge commit '63eb9124340ee1a650b5bf695493d025e4069a97' into notes-and-numbers 2022-02-28 22:56:25 +01:00
alex
921b23e9f0 Fix resolveState 2022-02-27 23:30:00 +00:00
Felix Roos
420a955314 fix tests 2022-02-27 21:36:35 +01:00
Felix Roos
8a7e49780a added _asNumber + interprete numbers as midi 2022-02-27 21:24:23 +01:00
Felix Roos
634d4f1099 Merge commit '1375932c05cea422500a9328fec3207ac4e1a64c' into stateful-events 2022-02-27 15:05:17 +01:00
alex
34872b3a02 Add stateful flag to hap, add sketch of resolveState to hap. Also firstCycle now strips the context by default. 2022-02-26 23:45:53 +00:00
Felix Roos
508767278f merge contexts 2022-02-25 21:41:33 +01:00
Felix Roos
067c0bfe70 simplify 2022-02-25 20:47:44 +01:00
Felix Roos
f1362b1c94 use state query in repl
+ move locations to context
2022-02-25 20:10:49 +01:00
Felix Roos
5fb31c2a9f Merge branch 'main' of https://github.com/tidalcycles/strudel 2022-02-25 16:26:56 +01:00
Felix Roos
755e2dcbd2 comment out logging + add pipe for legacy... 2022-02-25 16:26:47 +01:00
alex
29bdfb2d90 _withContext() 2022-02-25 11:19:12 +00:00
alex
fc739d1283 fix new things up to use state 2022-02-25 11:07:45 +00:00
alex
1b6d3734cf Merge branch 'main' into stateful-events 2022-02-25 10:59:41 +00:00
alex
912c36d590 Add event/hap context 2022-02-25 10:59:33 +00:00
alex
b323855b69 fix off() 2022-02-24 22:53:13 +00:00
Felix Roos
8bf7a6ba6e fix pure with number arg in shapeshifter 2022-02-24 23:20:02 +01:00
Felix Roos
914d12115c remove pipe + fix examples + add new tunes 2022-02-24 20:17:32 +01:00
alex
37a240ee2d Fix show() to show sign, fix off() 2022-02-24 11:48:08 +00:00
Alex McLean
ef877a40ca
Merge pull request #15 from tidalcycles/apply-an--layer
add apply and layer, and missing div/mul methods
2022-02-23 21:15:11 +00:00
alex
14a4a4492b add apply and layer, and missing div/mul methods 2022-02-23 21:13:29 +00:00
Alex McLean
0418517c3e
Merge branch 'main' into stateful-events 2022-02-23 20:20:35 +00:00
alex
a9a4cd2f5c Make pattern a function of state, not just time. 2022-02-23 20:18:03 +00:00
Felix Roos
522005a7ab patterns with double quotes and backticks
+ improved highlighting
+ many shapeshifter fixes
+ add highlighting to minirepl
+ add error handling to minirepl
2022-02-22 00:27:38 +01:00
Felix Roos
9a480344de Merge branch 'main' of https://github.com/tidalcycles/strudel 2022-02-21 01:20:51 +01:00
Felix Roos
fd5ac5898c make offset pure 2022-02-21 01:19:57 +01:00
Alex McLean
6bbe759f74
Merge pull request #13 from tidalcycles/continuous-functions
Add continuous signals (sine, cosine, saw, etc)
2022-02-21 00:02:06 +00:00
alex
fd8f70d914 Tweaks and a couple of tests for signals 2022-02-20 23:59:16 +00:00
Felix Roos
3b248ae94c fix mini notation multiline highlight
+ started operator overloading
2022-02-21 00:57:17 +01:00
alex
b4b303a2d9 Add continuous signals (sine, cosine, saw, etc) 2022-02-20 22:47:00 +00:00
Felix Roos
acd07c31ff started mini notation highlighting
currently deactivated by addMiniLocations flag
2022-02-20 23:46:45 +01:00
Felix Roos
cf5ae93638 add withLocation 2022-02-20 20:29:20 +01:00
alex
0039b60020 Fix struct() and add mask() 2022-02-19 17:14:11 +00:00
alex
7b34f3f524 struct() and invert()/inv() 2022-02-19 16:54:44 +00:00
Felix Roos
f95f181301 fix could not play after pressing pause
+ some notes
2022-02-18 11:12:08 +01:00