Matthew Pocock
cb011c8bb0
Add autocomplete for mode function
...
- Added modePreColonHandler for autocomplete of mode values (below, above, duck, root)
- Added modeAfterColonHandler for pitch name completion after colon in mode:anchor syntax
- Follows same pattern as sound/bank/scale handlers for complex expressions
- Supports expressions like '<above [below root]>' with proper fragment matching
- Uses regex pattern (?:[\s\[\{\()<])([\w:]*)$ to handle delimited expressions
2025-09-15 18:44:30 +01:00
drdozer
c8875b29c1
Improve autocompletion behavior
...
- Refactored handlers to use consistent early return pattern for better readability
- Added blocking behavior for unquoted contexts (sound(, scale(, bank()) to guide users toward correct syntax instead of showing irrelevant fallback completions
- Fixed soundHandler to show all sounds when fragment is empty (e.g., sound(""))
- Simplified bankHandler by removing complex quote handling logic in favor of consistent blocking pattern
- Made scale handler regex patterns consistent (removed leading dots)
- All handlers now follow same structure: block unquoted contexts, provide completions for quoted contexts
2025-09-15 14:27:59 +01:00
drdozer
978616833a
Merged autocomplete.mjs conflict.
2025-09-15 13:01:16 +01:00
Felix Roos
df1934f87b
add some typechecking + fix delay
2025-09-14 23:54:51 +02:00
froos
d3472feb5c
Merge pull request 'added plyWith/plyWithClassic functions' ( #1571 ) from Dsm0/strudel:add_plyWith into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1571
2025-09-14 12:42:57 +02:00
Dsm0
addb6db1c7
updated names + snapshot
2025-09-14 02:21:25 -07:00
froos
e57bd98da0
Merge branch 'main' into feature/592-sound-alias
2025-09-14 10:34:47 +02:00
Dsm0
f5c4373f99
added plyWith/plyWithClassic functions
2025-09-13 17:21:19 -07:00
froos
e762291bb7
Merge pull request 'Bug Fix: Allow penv values to be falsy' ( #1559 ) from glossing/strudel:glossing/penv-with-zeros into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1559
2025-09-14 01:20:14 +02:00
Felix Roos
2d2b238da9
fix: use template element for string to html
2025-09-14 01:03:14 +02:00
froos
f0839e02eb
Merge pull request 'Feature: Synonyms in autocomplete and reference' ( #1535 ) from glossing/strudel:glossing/synonyms-in-autocomplete into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1535
2025-09-14 00:49:16 +02:00
Aria
709b654ed3
Add synonyms to autocomplete
2025-09-13 16:21:09 -05:00
drdozer
cd659ac2a1
feat: sound autocomplete matches anywhere in name using includes()
2025-09-13 21:36:24 +01:00
drdozer
ed182d4b3f
Updated the codemirror packages to be able to access additional imports.
2025-09-13 21:36:24 +01:00
drdozer
90614612e2
feat: add E# and B# to pitchNames for complete enharmonic coverage
2025-09-13 21:36:24 +01:00
drdozer
0b67473bd3
refactor: modularize autocomplete context handlers using strategy array
2025-09-13 21:36:24 +01:00
drdozer
d87ce960d2
feat: implement context-aware autocomplete
...
Adds context-sensitive autocompletion for:
- Sound names in s("...") and sound("...") after the opening quote or after whitespace/bracket
- Bank names in bank("...") with quote handling and live filtering
- Scale types in .scale("...") after the colon, inserting colon-form for multi-word names
- Pitch names (C, C#, Db, etc.) for scale keys on explicit completion (Ctrl+Space) before the colon
- Blocks fallback completions in scale context before colon to avoid function list cross-talk
2025-09-13 21:36:24 +01:00
froos
e57f240e70
Merge branch 'main' into docs/xen/added-tune
2025-09-13 20:00:35 +02:00
Felix Roos
a46617f3f0
hotfix: use ?audioworklet for supradough worklet import
2025-09-12 10:16:37 +02:00
Felix Roos
d164b5e7f5
Revert "Revert "Merge pull request 'supradough poc' ( #1362 ) from supradough into main""
...
This reverts commit c0bf86d11e .
2025-09-12 10:08:55 +02:00
Felix Roos
c0bf86d11e
Revert "Merge pull request 'supradough poc' ( #1362 ) from supradough into main"
...
This reverts commit 6f06683d70 , reversing
changes made to 637d714ab2 .
2025-09-11 23:19:22 +02:00
Switch Angel AKA Jade Rose
6f06683d70
Merge pull request 'supradough poc' ( #1362 ) from supradough into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1362
2025-09-11 22:52:29 +02:00
Felix Roos
637d714ab2
Publish
...
- @strudel/mondo@1.1.4
2025-09-11 19:14:00 +02:00
Felix Roos
c42d00f048
hotfix: export mondo getLocations
2025-09-11 19:11:45 +02:00
Felix Roos
702e558d1a
Publish
...
- @strudel/mondo@1.1.3
2025-09-11 17:30:38 +02:00
Felix Roos
27339715b7
fix: exclude mondough dependencies
2025-09-11 17:22:06 +02:00
Felix Roos
5e2e6411e5
Publish
...
- @strudel/codemirror@1.2.5
- @strudel/repl@1.2.6
2025-09-11 08:26:20 +02:00
froos
0fac16e769
Merge pull request 'add basicSetup for keybindings' ( #1462 ) from Dsm0/strudel:codemirror-keymap-fix into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1462
2025-09-11 00:27:20 +02:00
Felix Roos
d0ce82e3cd
Publish
...
- @strudel/codemirror@1.2.4
- @strudel/core@1.2.4
- @strudel/csound@1.2.5
- @strudel/draw@1.2.4
- @strudel/gamepad@1.2.4
- @strudel/hydra@1.2.4
- @strudel/midi@1.2.5
- @strudel/mini@1.2.4
- @strudel/mondo@1.1.2
- @strudel/motion@1.2.4
- @strudel/mqtt@1.2.4
- @strudel/osc@1.2.4
- @strudel/repl@1.2.5
- @strudel/sampler@0.2.3
- @strudel/serial@1.2.4
- @strudel/soundfonts@1.2.5
- superdough@1.2.5
- @strudel/tonal@1.2.4
- @strudel/transpiler@1.2.4
- @strudel/web@1.2.5
- @strudel/webaudio@1.2.5
- @strudel/xen@1.2.4
2025-09-10 23:08:16 +02:00
Aria
38ce593c60
Allow penv values to be falsy
2025-09-09 20:47:09 -05:00
Jade (Rose) Rowland
5e5e7730c1
rm errorlogger console
2025-09-07 23:29:24 -04:00
Jade (Rose) Rowland
89e7d52308
fixed
2025-09-07 23:28:18 -04:00
froos
34b41fc26f
Merge pull request 'Allow flattening of dirs with sample server' ( #1529 ) from glossing/strudel:glossing/sample-server-with-flat into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1529
2025-09-07 21:27:28 +02:00
Jade (Rose) Rowland
2511dcc09e
working
2025-09-07 15:02:13 -04:00
Felix Roos
0a96fa5896
hotfix: comment out tauri stuff to fix osc
2025-09-06 00:42:36 +02:00
Antipathie
56b1ea3fa5
Add soundAlias function
2025-09-03 00:47:45 +02:00
Aria
c199b51645
Update autocomplete name to be the label and update ref to use main name as a synonym
2025-09-02 16:29:01 -05:00
Aria
8d2a368da9
Add some more synonyms to controls docs
2025-09-02 16:14:50 -05:00
Aria
439a7dc5e6
Include synonyms in autocomplete
2025-09-02 16:05:40 -05:00
froos
06ebcbff8c
Merge pull request 'Padding for tooltips, preserving linebreaks in descriptions, not closing autocompletes on click' ( #1521 ) from glossing/strudel:glossing/tooltip-padding-and-paragraphs into main
...
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1521
2025-09-02 08:42:41 +02:00
Jade (Rose) Rowland
b8e1b8d7ac
Merge branch 'main' into supradough
2025-08-31 22:42:07 -04:00
Jade (Rose) Rowland
6527c68cda
Merge branch 'main' into irspeed
2025-08-31 12:51:28 -04:00
Aria
189e650a73
Add flat flag, automatic json saving; filter out non-audio at base dir
2025-08-29 12:18:28 -05:00
Aria
a5886bb9d4
Use white-space instead; fix scrolling; don't close autocomplete tooltips on click
2025-08-26 14:14:00 -05:00
Aria
877bc95a58
Switch to more specific class and fix p->div
2025-08-26 12:54:39 -05:00
Aria
d64a0ef0eb
Lint requires no empty blocks: pass comment
2025-08-25 02:31:21 +02:00
Aria
659071a4ee
Ensure zeroGain is cleaned up after use; move start/stop to after callback assigned for safety
2025-08-25 02:31:21 +02:00
Aria
64f7bc4442
Working version of duck on iOS safari
2025-08-25 02:31:21 +02:00
alex
b8c98736c5
fix benchmarks
2025-08-23 17:29:15 +01:00
Felix Roos
42a903ecc0
add --yes flag to readme, making sure first run works
2025-08-21 20:36:42 +02:00