Felix Roos
f40b57ee48
hotfix: remove log
2023-07-06 09:59:20 +02:00
Felix Roos
34176ab5f8
refactor:
...
- dedupe flash / highlighting logic
- codemirror logic now lives only in codemirror package
- remove old highlighting logic
- use codemirror package in react package
- cleanup CodeMirror6.jsx
- pull setMiniLocations into useHighlighting
- migrate MiniRepl, nano-repl + Repl to new highlighting
2023-07-04 21:49:39 +02:00
Felix Roos
7f12ce9b45
fix: format
2023-07-04 18:47:44 +02:00
Matthew Kaney
f5b092acf2
Split up highlighting logic and add progress flash
2023-07-03 17:06:39 -04:00
Matthew Kaney
ba9562f000
Remove highlights when code stops
2023-07-03 10:52:06 -04:00
Felix Roos
0b5d905120
fix: adaptive highlighting
...
- transpiler now uses m function with globalOffset
- patternifyAST now accepts global offset
- patternifyAST now calls .withLoc with global leaf location
- .withLoc replaces .withLocation + .withMiniLocation
- simple locs (offsets) are now used everywhere
- some tests fail, seems some haps have reordered...
- wip: Repl still uses hardcoded updateMiniLocations
- todo: find way to call updateMiniLocations dynamically
2023-07-03 05:15:32 +02:00
Felix Roos
63c23736ad
wip: adaptive highlighting
2023-07-02 18:33:44 +02:00
Felix Roos
8c9e06c329
- clip now works like legato in tidal
...
- supports floats
- hap.duration now respects clip value
- hap.endClipped is now end*clip
- visualizations show clipped length
- clip(0) will now be silence
2023-06-12 22:39:32 +02:00
Felix Roos
fc06181217
- add claviature flag to minirepl
...
- bring back option+dot on macos
- consume more editor settings in minirepl
2023-05-27 13:30:57 +02:00
Felix Roos
55c533c947
improve initial loading + wait before eval
2023-03-23 21:56:20 +01:00
Felix Roos
1f7e293204
add setcps to global scope
2023-02-28 23:56:11 +01:00
Felix Roos
ead5942ef0
implement cps + add baasic tempo control ui
2023-02-28 13:00:35 +01:00
Felix Roos
70f7e73b9a
store footer tab + latest code in nanostore
2023-02-22 22:23:54 +01:00
Felix Roos
632e8e9634
use css var for highlighting color
2023-02-19 20:03:12 +01:00
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