46 Commits

Author SHA1 Message Date
Felix Roos
3579b6f8f3 dynamic highlight color
+ refactor hooks
2023-02-10 22:52:34 +01:00
Felix Roos
5aa983b45b do less work when not drawing 2023-01-15 23:11:49 +01:00
Felix Roos
2732d64beb fix: another dependency array 2023-01-14 10:58:30 +01:00
Felix Roos
88684d6d9e fix dependency array 2023-01-14 10:48:52 +01:00
Felix Roos
49bcb5e19f fix minor bugs 2023-01-13 16:35:24 +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
ea0e0b4396 reset canvas when pattern changes
+ rename noteroll -> punchcard
2023-01-13 12:57:35 +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
2d1b62a978 begin reimplementing draw logic for parallel use 2022-12-26 20:58:57 +01:00
Felix Roos
e2898ee5bf add eslint + fix lint errors 2022-11-24 15:30:11 +01:00
Felix Roos
f1ae8a17cf fix: could play multiple mini repl at once 2022-11-17 10:07:19 +01:00
Felix Roos
4313fe670d hotfix: fix share #261 2022-11-13 21:32:46 +01:00
Felix Roos
c92cb1c096 better draw cleanup + began reference tab 2022-11-13 14:50:48 +01:00
Felix Roos
8f31fbe275 proper draw cleanup 2022-11-13 13:58:36 +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
0b9d59bf0e logger works now outside of react
+ dynamic sample loading logs
+ remove old sampler code
2022-11-12 11:50:39 +01:00
Felix Roos
45c7b29a96 big style update + new log system 2022-11-11 22:46:20 +01:00
Felix Roos
1a1363ef77 scheduler error handling 2022-11-10 22:25:58 +01:00
Felix Roos
b5c51e231b lazy midi init + remove useWebMidi hook 2022-11-10 22:25:28 +01:00
Felix Roos
823ab73585 cleaner error when midi is unsupported 2022-11-10 22:04:02 +01:00
Felix Roos
dde7dff870 fix: hash urls 2022-11-10 21:11:25 +01:00
Felix Roos
372bdf8be7 fix: highlighting sync 2022-11-10 17:15:10 +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
a761aa9a37 use new transpiler in nano-repl 2022-11-08 20:53:47 +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
Felix Roos
7e7e299bce Merge remote-tracking branch 'origin/main' into general-purpose-scheduler 2022-10-29 17:56:30 +02:00
Felix Roos
60616a5228 remove old defaultSynth 2022-10-27 21:19:17 +02:00
Felix Roos
5c230c2d65 use webaudio output by default 2022-10-27 19:40:00 +02:00
Felix Roos
4f8a2a0900 another round of scheduling 2022-08-26 23:58:39 +02:00
Felix Roos
7b0c80c8be getTime callback for highlighting time 2022-08-23 21:23:01 +02:00
Felix Roos
29029714ee expose pattern form useStrudel 2022-08-23 21:22:28 +02:00
Felix Roos
11a9f3ced3 no top level await + no evaluate on mount 2022-08-23 18:04:35 +02:00
Felix Roos
9497c99e9e merge evaluator and scheduler hooks + use getTime 2022-08-21 11:21:19 +02:00
Felix Roos
a7562c3803 add useKeydown helper 2022-08-18 16:15:44 +02:00
Felix Roos
04502b05d4 better default tune + fix dirty state 2022-08-18 15:16:29 +02:00
Felix Roos
e3e3a8404a nano-repl add modules + proper eval 2022-08-18 00:27:16 +02:00
Felix Roos
bc345b569b add hooks for scheduler and evaluator 2022-08-17 23:57:49 +02:00
Felix Roos
913416a9d5 style fixes + hide-console option
- thicker highlighting outline
- only shade actual characters, not whole lines
- strudel hide-console will now hide console
2022-07-29 00:00:41 +02:00
Felix Roos
cac5d96c16 remove cycle + delta from onTrigger 2022-06-16 20:38:21 +02:00
Felix Roos
307afa5c52 fix: #108 2022-06-01 18:19:57 +02:00
Felix Roos
999251e137 Merge remote-tracking branch 'origin/main' into repl-package 2022-05-15 22:55:31 +02:00
Felix Roos
0d63ec9146 basic react package 2022-05-14 20:27:05 +02:00