88 Commits

Author SHA1 Message Date
Felix Roos
0fb478a7c8 no autocomplete until upstream merge 2023-02-11 20:55:35 +01:00
Felix Roos
9694ecf55b autocomplete dark / light 2023-02-11 13:02:04 +01:00
Felix Roos
fe80478b8a Merge remote-tracking branch 'origin/main' into docs 2023-02-10 23:18:04 +01:00
Felix Roos
a500f983f5 Merge branch 'main' into themes 2023-02-10 22:59:52 +01:00
Felix Roos
3579b6f8f3 dynamic highlight color
+ refactor hooks
2023-02-10 22:52:34 +01:00
Felix Roos
14cb954213 themed minirepl
+ add strudelTheme
+ add lineBackground with opacity
+ add some missing light flags
+ add fallback css variables for non js context
2023-02-10 21:42:27 +01:00
Felix Roos
0b994a1b0f switchable css variables for theming 2023-02-10 11:32:36 +01:00
Felix Roos
3209afa4ff minirepl: add keyboard shortcuts 2023-02-09 19:20:44 +01:00
Felix Roos
f02a41b675 fix param description 2023-02-09 18:44:41 +01:00
Felix Roos
f497d7b212 reactify autocomplete info 2023-02-09 18:37:29 +01:00
Felix Roos
0f18f5eb81 remove logs 2023-02-09 14:16:37 +01:00
Felix Roos
97cbdc6b0f use jsdoc in autocomplete, still not context aware
+ add noAutocomplete flags
+ add superdirtOnly flags
2023-02-09 12:19:38 +01:00
Felix Roos
30b149053c basic theme switcher 2023-02-08 18:54:34 +01:00
Felix Roos
6f5f8cc7d8 fix: minirepl styles 2023-02-01 22:30:24 +01:00
Felix Roos
08350d00be remove sc prefix to fix build 2023-02-01 15:35:21 +01:00
Felix Roos
ea2d8b2773 use workspace protocol everywhere 2023-01-28 20:37:56 +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
7b43ed702e only start animation loop when canvas is visible
+ add some placeholder files
2022-12-26 22:59:41 +01:00
Felix Roos
2d1b62a978 begin reimplementing draw logic for parallel use 2022-12-26 20:58:57 +01:00
Felix Roos
bf1ba6efc0 code format 2022-12-13 21:32:03 +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
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
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
0485632e22 Merge remote-tracking branch 'origin/main' into general-purpose-scheduler 2022-11-06 11:06:32 +01:00
Felix Roos
b372161874 update vite in react package 2022-11-04 20:58:36 +01:00
Felix Roos
6129f9afe8 fix: mini repl test tune 2022-11-04 20:13:25 +01:00