513 Commits

Author SHA1 Message Date
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
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
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
0fee279e3d rename fay to fit 2023-06-29 12:05:31 +02:00
Felix Roos
d126c28b85 fix: loopAt with cps 1 for fallback 2023-06-28 22:25:49 +02:00
Felix Roos
c1649b9dc0 - fix: loopAt for non default cps value
- add fay to repitch samples to fit hap duration
- add setcpm function
2023-06-28 22:13:05 +02:00
Felix Roos
eaab36b051 add spiral viz 2023-06-25 14:23:18 +02:00
Felix Roos
92da70a7ae Merge remote-tracking branch 'origin/main' into clip-support-floats 2023-06-15 10:46:10 +02:00
Felix Roos
09b14a5702 add ratio function 2023-06-14 23:19:04 +02:00
Felix Roos
260b831815 refactor: legato -> clip 2023-06-14 00:22:55 +02:00
Felix Roos
16aeb7e12c docs: update clip entry 2023-06-12 23:11:07 +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
190fe37a9f move solmization logic from midi2note to sol2note 2023-06-11 19:55:24 +02:00
Felix Roos
623661f8d2 Merge remote-tracking branch 'upstream/main' into branch-daria 2023-06-11 19:54:55 +02:00
Felix Roos
f31bc3f8c5
Merge pull request #591 from tidalcycles/fix-fast0
fix: division by zero
2023-06-11 19:45:00 +02:00
Felix Roos
7850fb727e fix: allow f for flat notes like tidal 2023-06-11 13:23:45 +02:00
Felix Roos
9b3122837e fix: division by zero 2023-06-11 13:15:52 +02:00
Felix Roos
3ccbd35fad add label support to pianoroll 2023-06-09 00:25:54 +02:00
Felix Roos
0edd7e14b7 add compound adsr + ds controls 2023-05-29 12:39:36 +02:00
Felix Roos
8679dc63be pianoroll: also reflect gain in transparency 2023-05-29 02:18:27 +02:00
Felix Roos
9971867e2f clamp function 2023-05-28 12:41:53 +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
Daria Cotocu
b63f4eb503 Update solmization.test.js 2023-05-24 18:58:11 +01:00
Daria Cotocu
cd7bc09f9c Update solmization.test.js 2023-05-24 18:43:24 +01:00
Daria Cotocu
ccf775e976 Format code 2023-05-24 17:57:05 +01:00
Daria Cotocu
811346e83d Solmization added 2023-05-24 17:24:34 +01:00
Felix Roos
d3240a75d0 fix: dupe style.css to Repl.css
for some reason they were missing after update
+ darken line backgrounds
+ change preview port to keep workbox out of dev server
2023-05-12 11:56:50 +02:00
Felix Roos
db79c05d9a bump web pkg dependencies 2023-05-10 12:11:51 +02:00
Felix Roos
6e02bf59e9 Revert "refactor: remove old draw logic"
This reverts commit 95719654f3bfc5d3cc98c33816b402e2c0e38bd7.
2023-05-10 11:44:55 +02:00
Felix Roos
12228c56d9 improve api for web package 2023-05-07 22:36:26 +02:00
Felix Roos
692fc4e11d revert rename core package 2023-05-05 23:52:04 +02:00
Felix Roos
b52f65c4d7 rename core package + bump to 0.8.0 2023-05-05 23:50:06 +02:00
Felix Roos
9ec7109dc8 + simplify vanilla setup drastically
+ move repl + drawer boilerplate inside StrudelMirror
2023-05-05 23:43:07 +02:00
Felix Roos
5b67fccb1b vanilla-repl-cm6: draw first frame 2023-05-05 16:17:22 +02:00
Felix Roos
9807c4b7a1 move Framer + Drawer to core
... from vite-vanilla-repl-cm6
2023-05-05 16:06:11 +02:00
Felix Roos
b5b0156e08 fix: codemirror reeval 2023-05-05 15:31:04 +02:00
Felix Roos
f5075906e2 add codemirror package
+ use it in vite-vanilla-repl-cm6
2023-05-05 15:13:17 +02:00
Felix Roos
a6f57bced8 prettier 2023-05-05 12:00:13 +02:00
Felix Roos
d35bf9591c vanilla-repl-cm6: better theme 2023-05-05 11:54:09 +02:00
Felix Roos
d96f3f9dd4 vanilla-repl-cm6: style + codesplitting 2023-05-05 11:09:44 +02:00
Felix Roos
1f4c2f8c5a draw scheduler in vanilla js 2023-05-05 10:52:21 +02:00
Felix Roos
95719654f3 refactor: remove old draw logic
+ pianoroll now uses .onPaint
2023-05-05 09:52:07 +02:00
Felix Roos
4b921c47f5 vanilla-repl-cm6: add flash effect 2023-05-05 09:11:40 +02:00
Felix Roos
f069f53fae vanilla-repl-cm6: add keybindings 2023-05-05 09:06:27 +02:00
Felix Roos
1494cc38fc add vite-vanilla-repl-cm6 2023-05-05 08:55:43 +02:00
Felix Roos
5c6fa1c82b update vite to v4 2023-04-29 08:10:12 +02:00
Felix Roos
fd81867e7b fix: controls import broke on ssr 2023-04-29 07:45:21 +02:00
Felix Roos
a0ed25d373 use vitests@^0.28.0 in packages 2023-04-28 12:12:05 +02:00
Felix Roos
6de2feff05 fix: reset time on stop 2023-03-29 22:05:13 +02:00