18 Commits

Author SHA1 Message Date
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
ead5942ef0 implement cps + add baasic tempo control ui 2023-02-28 13:00:35 +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
49bcb5e19f fix minor bugs 2023-01-13 16:35:24 +01:00
Felix Roos
e2898ee5bf add eslint + fix lint errors 2022-11-24 15:30:11 +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
372bdf8be7 fix: highlighting sync 2022-11-10 17:15:10 +01:00
Felix Roos
7b0c80c8be getTime callback for highlighting time 2022-08-23 21:23:01 +02:00
Felix Roos
307afa5c52 fix: #108 2022-06-01 18:19:57 +02:00
Felix Roos
0d63ec9146 basic react package 2022-05-14 20:27:05 +02:00