Felix Roos
ce820c2314
update vitest
2023-07-17 23:37:51 +02:00
Felix Roos
8583ed0e5c
Merge pull request #647 from tidalcycles/tonleiter
...
stateless voicings + tonleiter lib
2023-07-17 23:34:33 +02:00
Felix Roos
f2c16a06a1
fix: note2oct
2023-07-17 23:10:13 +02:00
Bernhard Wagner
4298e582fb
FIXES: note2pc TODOs
2023-07-14 14:38:26 +02:00
Bernhard Wagner
b8929a0d18
FIXES: prettier formatting
2023-07-14 13:56:36 +02:00
Bernhard Wagner
0fa5832b63
FIXES: TODO in rotateChroma
2023-07-14 13:45:27 +02:00
Felix Roos
bbb29ebd7c
fix: duck mode with n
...
+ detect chord obj in rootNotes
2023-07-13 12:52:57 +02:00
Felix Roos
0fd9ac6da3
feat: support strings in voicing function
2023-07-13 12:13:00 +02:00
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
ffeda19ce5
snapshots + fix default anchor for lefthand
2023-07-13 01:09:53 +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
2d08b31f9a
fix: tests
2023-07-08 16:14:25 +02:00
Felix Roos
27643f4a48
doc: slice
2023-07-08 16:12:21 +02:00
Felix Roos
110e179e9e
wip: new voicing function
2023-07-08 12:41:17 +02:00
Felix Roos
fe6d99d4f1
slice array notation
2023-07-07 21:48:19 +02:00
Felix Roos
f40b57ee48
hotfix: remove log
2023-07-06 09:59:20 +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
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
6e4c873248
remove tests from soon removed package
2023-07-04 22:17:44 +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
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
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
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
63c23736ad
wip: adaptive highlighting
2023-07-02 18:33:44 +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
Felix Roos
bd8ad1ed1b
fix: out of range error due to rerender
2023-06-30 22:40:02 +02:00