24 Commits

Author SHA1 Message Date
Felix Roos
6e02bf59e9 Revert "refactor: remove old draw logic"
This reverts commit 95719654f3bfc5d3cc98c33816b402e2c0e38bd7.
2023-05-10 11:44:55 +02:00
Felix Roos
12228c56d9 improve api for web package 2023-05-07 22:36:26 +02:00
Felix Roos
95719654f3 refactor: remove old draw logic
+ pianoroll now uses .onPaint
2023-05-05 09:52:07 +02:00
Felix Roos
6a201be1fd Merge remote-tracking branch 'origin/main' into setcps-reset-only-on-shuffle 2023-03-23 22:35:57 +01:00
Felix Roos
8617b9164e do not reset cps before eval #517 2023-03-23 22:34:25 +01:00
Felix Roos
55c533c947 improve initial loading + wait before eval 2023-03-23 21:56:20 +01:00
Alex McLean
2d5064bd5b
Reinstate slice and splice (#500)
Reinstate slice/splice, fixing up "unit" param using new global cps
2023-03-02 14:44:41 +00:00
Felix Roos
436ba067bc reset cps before eval 2023-03-01 09:23:01 +01:00
Felix Roos
1f7e293204 add setcps to global scope 2023-02-28 23:56:11 +01:00
Felix Roos
b2c6d87633 MiniRepl: add punchcard flag for implicit vis
+ reintroduce editPattern
+ add punchcards to mini-notation.mdx
2023-01-13 15:13:39 +01:00
Felix Roos
1ac784dc7a localize draw logic 2023-01-13 12:03:34 +01:00
Felix Roos
69ecb7b54f support logs in mini repl
+ pass hap to logger
+ add editPattern hook to repl + useStrudel
+ do not throw when webaudio gets plain values
2023-01-09 23:26:20 +01:00
Felix Roos
4e3e533e13 repl: optional eval callbacks 2022-11-24 20:13:04 +01:00
Felix Roos
e769ed2fd8 move draw stuff from tone to core + fix getPhase 2022-11-13 01:42:00 +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
27fb2d2d5b remove onLog callbacks 2022-11-12 12:07:02 +01:00
Felix Roos
23e059a065 scheduler error handling + style 2022-11-11 23:35:46 +01:00
Felix Roos
45c7b29a96 big style update + new log system 2022-11-11 22:46:20 +01:00
Felix Roos
00550ddab5 pass all params to onTrigger 2022-11-10 22:02:08 +01:00
Felix Roos
eca92cf5b5 fix: web midi 2022-11-10 18:12:38 +01:00
Felix Roos
c7c90b0647 fix mini repl + improve repl api 2022-11-10 16:36:51 +01:00
Felix Roos
14c2da4fa2 started refac repl to new scheduler + transpiler 2022-11-10 12:07:36 +01:00
Felix Roos
09045d5387 add vite vanilla js repl example 2022-11-06 15:50:53 +01:00
Felix Roos
371af755df move evaluate logic without transpiler to core
+ breaking change: evalScope is now imported from core
+ breaking change: deprecated extend is now removed
+ add repl.mjs
2022-11-06 12:12:43 +01:00