Commit graph

2970 commits

Author SHA1 Message Date
jeromew
47c85f8540 fix interoperability of all with hydra
Hydra add methods on Array.prototype which breaks the Array enumeration with for...in.
Use for...of instead
cf https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of#difference_between_for...of_and_for...in for details on the issue

without this fix, it is impossible to use both `await initHydra()` and `all` in the same strudel code. Strudel errors with "Error: got "undefined" instead of pattern."

example code: https://strudel.cc/#YXdhaXQgaW5pdEh5ZHJhKCkKCmFsbChwaWFub3JvbGwpCgokOiBzKCJiZCIp
2025-10-16 14:06:33 +02:00
Switch Angel AKA Jade Rose
ded91fab7d Merge pull request 'Feature: Distortion Modes' (#1561) from glossing/strudel:glossing/distortion-modes into main
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1561
2025-10-13 07:26:50 +02:00
Switch Angel AKA Jade Rose
d5833dd475 Merge branch 'main' into glossing/wavetable-fm 2025-10-13 07:05:24 +02:00
Erik Fox
72eaf96b4f fix: repair REPL sample sources and URL concat (#1640) 2025-10-12 12:30:36 -04:00
Alex McLean
64f16c4f33 placate format gods 2025-10-08 15:35:34 +01:00
Alex McLean
ffbbc43c89 add cyclist version to the query metadata 2025-10-08 15:34:51 +01:00
Alex McLean
086596c47c fix setControls to do union with existing controls 2025-10-08 14:52:00 +01:00
Alex McLean
fdde05e751 add pattern id to query state controls 2025-10-08 14:51:21 +01:00
Alex McLean
694162a7b1 fix purity of 'withState' so it returns a new pattern 2025-10-08 14:13:33 +01:00
Jieren Chen
0d08225983 change the trigger handler to match new hap 2025-10-05 21:45:23 +02:00
Aria
d496919fe5 Import 2025-10-02 22:48:41 -05:00
Aria
f369de13d7 Hook up FM to wavetables 2025-10-02 22:45:48 -05:00
Switch Angel AKA Jade Rose
e500ebe268 Merge branch 'main' into glossing/wavetable-optimizations 2025-10-01 08:54:53 +02:00
Aria
72298c5f03 Docstring cleanup 2025-10-01 00:45:26 -05:00
Aria
c885d84785 Add comment 2025-10-01 00:39:44 -05:00
Aria
a14bf4d97b Add aliases for distort types 2025-10-01 00:36:59 -05:00
Aria
c5f1085bd9 WIP 2025-09-30 23:51:59 -05:00
Aria
ccbf28f2db Merge branch 'main' into glossing/distortion-modes 2025-09-30 23:25:57 -05:00
Aria
3a7ec18d46 Move invsr to constructor 2025-09-30 23:19:55 -05:00
Aria
a2b8407fbb Add back mipmaps; add caching 2025-09-30 23:08:28 -05:00
Jade (Rose) Rowland
9f8143e062 format 2025-09-30 19:46:53 -04:00
Jade (Rose) Rowland
cdc5e5f3f3 working 2025-09-30 19:45:30 -04:00
Aria
bad498a1e5 Remove unused var 2025-09-30 16:21:28 -07:00
Aria
4de0c11f8c Remove mipmaps, fix clamping of parameters 2025-09-29 14:15:50 -07:00
Jade (Rose) Rowland
d94f145649 fix vib 2025-09-28 15:23:58 -04:00
Jade (Rose) Rowland
bf3fe605d9 fix unison gain 2025-09-28 15:21:06 -04:00
Jade (Rose) Rowland
54ebc97ddc fix tests 2025-09-28 15:07:35 -04:00
Jade (Rose) Rowland
c689874bb4 simplify modulators 2025-09-28 14:57:12 -04:00
Jade (Rose) Rowland
23d4bfa9d9 rename controls 2025-09-28 09:19:39 -04:00
Aria
5838ade740 Merge branch 'main' into glossing/wavetable-synth 2025-09-27 13:17:05 -07:00
Aria
917d01c47d Add LFOs and envelopes 2025-09-27 12:48:37 -07:00
Jade (Rose) Rowland
774372a339 format 2025-09-27 15:29:55 -04:00
Jade (Rose) Rowland
626a99ba5b supports old documented way of loading wavetables: 2025-09-27 15:22:54 -04:00
Aria
c5c05ebadc Clean up to align with other PR 2025-09-27 11:02:57 -07:00
Aria
a8918d55fb Actually update normalizer 2025-09-27 10:45:30 -07:00
Aria
07e3ddbe40 Merge branch 'main' into glossing/distortion-modes 2025-09-27 10:25:51 -07:00
Jade (Rose) Rowland
a9957b45e5 suppoert existing wt_ api 2025-09-27 13:22:21 -04:00
Jade (Rose) Rowland
4bd103e612 gain adj 2025-09-27 11:31:43 -04:00
Aria
466234bad6 Merge branch 'main' into glossing/wavetable-synth 2025-09-26 21:22:45 -07:00
Aria
97beaec25a Added examples, fixed samplerate issue on import, added to settings tab, fixed spread, added default wavetables, change default phaserand to 0 2025-09-26 20:46:10 -07:00
Jade (Rose) Rowland
2b3b638943 sample source for WT 2025-09-26 21:47:45 -05:00
Jade (Rose) Rowland
266cb614a8 add better example 2025-09-25 23:44:32 -07:00
Jade (Rose) Rowland
dfc4a0818c res adjust 2025-09-25 23:39:08 -07:00
Jade (Rose) Rowland
236ff577a6 Merge branch 'main' into djf 2025-09-25 23:18:22 -07:00
Aria
8b2c35b7a3 Cleanup 2025-09-25 01:10:41 -07:00
Aria
f8f42565ae Typo - add back slight delay in cleanup 2025-09-25 00:40:25 -07:00
Aria
96981c3c1d A bit more cleanup 2025-09-25 00:36:28 -07:00
Aria
bd8d207a3d Typo 2025-09-25 00:17:13 -07:00
Aria
e3741ae8fa Add control over phase randomization and fix a bug with supersaw 2025-09-25 00:05:50 -07:00
Switch Angel AKA Jade Rose
ef87f65bef Merge branch 'main' into glossing/wavetable-synth 2025-09-25 07:21:17 +02:00