Commit graph

3132 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
Aria
fd03d1fdfb Update conditional to allow to control user waveforms 2025-10-15 15:14:31 -05:00
Aria
35016b5847 Mention range in docstring 2025-10-15 14:56:20 -05:00
Aria
0fe7edc157 Some examples 2025-10-15 14:53:07 -05:00
Aria
d6de160224 Merge branch 'main' into glossing/partials 2025-10-15 13:19:57 -05:00
alex
ba93bd1bc5 Fix onPaint for widgets 2025-10-15 18:54:02 +01:00
Aria
3c1a8c8bdb Format 2025-10-14 11:41:11 -05:00
Aria
b7e941c649 Merge branch 'main' into glossing/wrap-phase-typo 2025-10-14 11:40:29 -05:00
Aria
ac7e9c6978 Typos on envelope values 2025-10-14 11:37:41 -05:00
Aria
c13a726129 Merge branch 'main' into glossing/filter-lfo 2025-10-14 11:24:49 -05: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
Switch Angel AKA Jade Rose
99b3c04a76 Merge branch 'main' into glossing/filter-lfo 2025-10-13 07:04:51 +02:00
Erik Fox
72eaf96b4f fix: repair REPL sample sources and URL concat (#1640) 2025-10-12 12:30:36 -04:00
Aria
57fac57677 Remove todo 2025-10-09 22:23:28 -05:00
Aria
a3b803c3f3 First pass 2025-10-09 18:28:59 -05:00
Aria
6f703e48e7 Merge branch 'main' into glossing/wrap-phase-typo 2025-10-08 16:44:35 -05: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
Felix Roos
319a2d7289
fix: tests 2025-10-07 23:05:00 +02:00
Felix Roos
3a7d50924d
refactor: add op_precedence to express & with desugar_ops 2025-10-07 22:59:50 +02:00
Felix Roos
f33db5f07f
- refactor bjork -> bjorklund
- refactor e -> bjork
- flip & desugared arguments
2025-10-07 22:35:29 +02:00
Tristan de Cacqueray
b7fa440bda mondough: interpret & 2025-10-07 18:10:24 +02:00
Tristan de Cacqueray
3dc9b3524c mondo: add & sugar 2025-10-07 17:19:27 +02:00
dtricks
f48f8e46e5 fix empty catches 2025-10-06 15:53:44 +02:00
dtricks
a79fc3db5b remove unnecessary comments 2025-10-06 15:53:44 +02:00
dtricks
30a2e14959 weird permission change 2025-10-06 15:53:44 +02:00
dtricks
46ba165c7e remove gcc 2025-10-06 15:53:44 +02:00
dtricks
73a9834959 codeformat 2025-10-06 15:53:44 +02:00
dtricks
be9368e8a2 feat(codemirror): add Vim :w evaluate, :q stop, and gc/gcc toggle comment via custom events; docs: add Vim shortcuts page and link from REPL manual 2025-10-06 15:53:44 +02:00
Aria
1ae773acc4 Merge branch 'main' into glossing/wrap-phase-typo 2025-10-05 18:21:05 -05:00
Jieren Chen
0d08225983 change the trigger handler to match new hap 2025-10-05 21:45:23 +02:00
Aria
cc4452ce58 Working version of partials and phases 2025-10-04 20:33:25 -05:00
Aria
11dd8a318a Cleanup 2025-10-04 02:13:42 -05:00
Aria
3ef6c7c921 Handle scale-for-notes when n also supplied 2025-10-04 02:07:35 -05:00
Aria
120f89d57f Handle detune in the presence of pitch envelope 2025-10-04 01:37:57 -05: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
Dr Mathew R Pocock
908a703b7f Merge branch 'main' into feature/autocomplete-sound-names 2025-10-02 10:32:16 +02:00
Aria
99e14dae5c Consistency 2025-10-02 01:12:42 -05:00
Aria
ac582b4d40 Wrap properly when phase === 1 2025-10-02 01:06:29 -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