2392 Commits

Author SHA1 Message Date
Felix Roos
78dcab2778 fix: control interference 2023-07-13 11:24:57 +02:00
Felix Roos
e05f74cef1 docs + rename under -> duck, quak quak 2023-07-13 10:49:08 +02:00
Felix Roos
3d8724c90d snapshot 2023-07-13 01:11:31 +02:00
Felix Roos
ffeda19ce5 snapshots + fix default anchor for lefthand 2023-07-13 01:09:53 +02:00
Felix Roos
70fe8f14e3 refactor: voicings -> voicing in tunes 2023-07-13 01:09:29 +02:00
Felix Roos
a639d9f49f fix: remove log 2023-07-13 00:25:24 +02:00
Felix Roos
e5251422fe revert changing existing addVoicings
+ add registerVoicings for the new logic
2023-07-13 00:20:28 +02:00
Felix Roos
d8f80c058d can now set mode and anchor on voicing dictionary 2023-07-12 23:47:13 +02:00
Felix Roos
4cf3655c08 voicing modes: below, under, above 2023-07-12 23:32:27 +02:00
Felix Roos
58fc786462 noteToMidi: adjustable default octave
+ pull out static objects
2023-07-12 23:32:02 +02:00
Felix Roos
81b142704c change call signature of renderVoicing
+ pull logic in from voicings function
2023-07-12 22:55:34 +02:00
Felix Roos
b0cbeda796 fix: support existing voicing dicts in new logic
+ rename voiceBelow to renderVoicing
2023-07-12 22:38:44 +02:00
Felix Roos
0b3a8a5f65 - make dictionary a control
- standalone voicing function
- simplify voicing control names
2023-07-11 22:49:34 +02:00
Felix Roos
d5c0309885 feat: support n for voicing scales
+ simplify voicing logic
2023-07-09 22:11:40 +02:00
Felix Roos
36fa9d81fb fix: pianoroll isActive still used whole.end 2023-07-09 18:51:26 +02:00
Felix Roos
35f5a5d11a feat: add voiceOffset (2) 2023-07-09 16:53:41 +02:00
Felix Roos
d1fe50e271 feat: add voiceOffset 2023-07-09 16:53:29 +02:00
Felix Roos
110e179e9e wip: new voicing function 2023-07-08 12:41:17 +02:00
Felix Roos
9438c69bed comment 2023-07-06 09:58:57 +02:00
Felix Roos
70d6f3000a move tonleiter 2023-07-06 09:58:48 +02:00
Felix Roos
d47fd0cf18
Merge pull request #639 from tidalcycles/delete-old-packages
Delete old packages
2023-07-04 23:50:30 +02:00
Felix Roos
40117fbe54 package-lock 2023-07-04 23:47:37 +02:00
Felix Roos
7466d8a1de delete webdirt 2023-07-04 23:44:36 +02:00
Felix Roos
ce09443e48 delete tone 2023-07-04 23:43:49 +02:00
Felix Roos
1718dbe94e delete eval package 2023-07-04 23:41:29 +02:00
Felix Roos
69894db206
Merge pull request #634 from tidalcycles/highlight-ids
Adaptive Highlighting
2023-07-04 23:38:41 +02:00
Felix Roos
6e4c873248 remove tests from soon removed package 2023-07-04 22:17:44 +02:00
Felix Roos
64693ffd26 fix: remove test flag 2023-07-04 22:16:02 +02:00
Felix Roos
66f8ca72c1 refactor: remove old location methods
docs: update repl chapter to reflect new transpiler behavior
2023-07-04 22:13:40 +02:00
Felix Roos
c82f7bd8fe
Merge pull request #636 from mindofmatthew/highlight-ids
More work on highlight IDs
2023-07-04 21:55:57 +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
Felix Roos
9e1b9f7f5c Merge remote-tracking branch 'upstream/main' into highlight-ids 2023-07-04 18:46:05 +02:00
Felix Roos
23e949de1c
Merge pull request #637 from tidalcycles/snapshots-sort-haps-by-part
snapshot tests: sort haps by part
2023-07-04 18:44:47 +02:00
Felix Roos
00bd60a855 snapshot tests: sort haps by part 2023-07-04 18:43:26 +02:00
Felix Roos
dacd9afac0 comment out opacity logic for now 2023-07-04 18:34:22 +02:00
Felix Roos
3fc5bb31d0 fix: do not recreate haps mapping on update 2023-07-04 18:22:22 +02:00
Felix Roos
78770888a5 remove mock positions 2023-07-04 18:16:58 +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
Matthew Kaney
aded178ab7 Pass mininotation locations into highlight state 2023-07-03 03:55:49 -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
08abec8fd5 fix: init phase 2023-07-02 18:37:56 +02:00
Felix Roos
63c23736ad wip: adaptive highlighting 2023-07-02 18:33:44 +02:00
Felix Roos
f7bd373ce6 update package-lock 2023-07-02 14:17:15 +02:00
Felix Roos
8e717d2ea1 - transpiler now always returns an object
- emit transpiler metadata from evaluate / afterEval
- currently logging miniLocations from Repl.jsx
2023-07-02 14:15:54 +02:00
Felix Roos
5f271ed127 add emitMiniLocations flag to transpiler 2023-07-02 13:42:41 +02:00
Felix Roos
d686b65dbe add 2 more tests 2023-07-01 23:55:41 +02:00
Felix Roos
c7e882e001 mini: leaf location retrieval
- add onEnter callback for patternifyAST
- add leaf node location helpers
- add tests
2023-07-01 23:52:31 +02:00
Felix Roos
f07859996e
Merge pull request #631 from tidalcycles/fix-canvas-resize
fix: update canvas size on window resize
2023-06-30 22:47:39 +02:00