1126 Commits

Author SHA1 Message Date
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
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
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
Felix Roos
dc2ff83fa5 do not flash when empty 2023-06-30 22:38:14 +02:00
Felix Roos
1b85aa713b fix: update canvas size on window resize 2023-06-30 16:03:56 +02:00
Felix Roos
90a58858ca Publish
- @strudel/codemirror@0.8.4
 - @strudel.cycles/core@0.8.2
 - @strudel.cycles/csound@0.8.0
 - @strudel.cycles/eval@0.8.0
 - @strudel.cycles/midi@0.8.0
 - @strudel.cycles/mini@0.8.2
 - @strudel.cycles/osc@0.8.0
 - @strudel.cycles/react@0.8.0
 - @strudel.cycles/serial@0.8.0
 - @strudel.cycles/soundfonts@0.8.2
 - @strudel.cycles/tonal@0.8.2
 - @strudel.cycles/tone@0.8.0
 - @strudel.cycles/transpiler@0.8.2
 - @strudel/web@0.8.3
 - @strudel.cycles/webaudio@0.8.2
 - @strudel.cycles/webdirt@0.8.0
 - @strudel.cycles/xen@0.8.0
2023-06-30 08:17:19 +02:00
Felix Roos
8149b85a55
Merge pull request #627 from tidalcycles/fix-clock-drift
fix: midi clock drift
2023-06-30 08:14:40 +02:00
Felix Roos
e79b6c514a
Merge pull request #621 from tidalcycles/tauri-fs
desktop: play samples from disk
2023-06-29 22:02:27 +02:00
Felix Roos
b55721f16f fix: midi clock drift 2023-06-29 21:58:15 +02:00
Felix Roos
0fee279e3d rename fay to fit 2023-06-29 12:05:31 +02:00
Felix Roos
fb3ca9f960 feat: register fn for sample prefix handling 2023-06-29 10:46:32 +02:00
Felix Roos
cc6997baec - encapsulate sample map handling
- add resolveUrl param
2023-06-29 02:00:59 +02:00
Felix Roos
d126c28b85 fix: loopAt with cps 1 for fallback 2023-06-28 22:25:49 +02:00