Commit graph

3444 commits

Author SHA1 Message Date
Felix Roos
91ad3d729f
feat: osc add --debug flag to log messages + log errors 2025-09-18 20:36:40 +02:00
Felix Roos
a0c2edad30
fix: add clamp function 2025-09-18 10:54:41 +02:00
Felix Roos
82c9047195
fix: unstable filter 2025-09-18 10:47:23 +02:00
Matthew Pocock
f51ad2cb7e Merge branch 'main' into feature/autocomplete-sound-names 2025-09-17 23:08:06 +01:00
Felix Roos
663229ecde
bump osc to 1.2.8 2025-09-17 13:50:02 +02:00
Felix Roos
cdb623cb66
overhaul osc readme 2025-09-17 13:39:35 +02:00
Felix Roos
28d7e0e489
export osc function to be able to do all(osc) 2025-09-17 13:39:28 +02:00
Felix Roos
aba594b72a
fix: bin field 2025-09-17 12:52:42 +02:00
Felix Roos
5d7c6c3e4b
fix: add node shebang + bump osc to 1.2.6 2025-09-17 12:47:41 +02:00
Felix Roos
820744dc27
bump osc to 1.2.5 2025-09-17 12:42:11 +02:00
Felix Roos
5445f0812f
configurable port for osc bridge + add bin field 2025-09-17 12:41:46 +02:00
Dr Mathew R Pocock
49868fc119 Merge branch 'main' into feature/autocomplete-sound-names 2025-09-16 21:00:40 +02:00
Jade (Rose) Rowland
a68c784753 rm unessecary change 2025-09-16 11:55:31 -04:00
Jade (Rose) Rowland
f2b2f9f959 format 2025-09-16 11:53:19 -04:00
Jade (Rose) Rowland
53dd53553a Merge branch 'main' into fix_time 2025-09-16 11:52:54 -04:00
Jade (Rose) Rowland
89b7eac789 fix test 2025-09-16 11:52:36 -04:00
Jade (Rose) Rowland
9cdba1a50e Working 2025-09-16 11:36:21 -04:00
Matthew Pocock
cb2dc6304f Merge branch 'feature/autocomplete-sound-names' of ssh://codeberg.org/drdozer/strudel into feature/autocomplete-sound-names 2025-09-16 14:51:50 +01:00
Matthew Pocock
edb6c0db2e Reordered handlers to be a bit more organised. 2025-09-16 14:45:22 +01:00
Dr Mathew R Pocock
a46a055246 Merge branch 'main' into feature/autocomplete-sound-names 2025-09-16 15:42:35 +02:00
Jade (Rose) Rowland
9a8f8a051c rm comment 2025-09-16 01:48:37 -04:00
Jade (Rose) Rowland
3eb40ee7d3 working in dev 2025-09-16 01:44:01 -04:00
Jade (Rose) Rowland
4cc453c640 fix test 2025-09-15 22:09:05 -04:00
Jade (Rose) Rowland
74e27ca94f coerce in correct place 2025-09-15 21:57:56 -04:00
Jade (Rose) Rowland
7dfd7dbcdc rmconsole 2025-09-15 21:47:40 -04:00
Jade (Rose) Rowland
2cba1dcb31 working 2025-09-15 21:46:37 -04:00
Switch Angel AKA Jade Rose
48a6a12648 Merge pull request 'Bug Fix / Feature: Updates to duck to avoid clicks and allow configuration over release/attack' (#1514) from glossing/strudel:glossing/ducking-click into main
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1514
2025-09-16 03:19:36 +02:00
Dr Mathew R Pocock
71dd45cd4b Merge branch 'main' into feature/autocomplete-sound-names 2025-09-16 02:13:26 +02:00
froos
6bbf7cbe32 Merge pull request 'Feat: Enhance scale function to quantize notes to a named scale' (#1492) from glossing/strudel:glossing/scale-for-notes into main
Reviewed-on: https://codeberg.org/uzu/strudel/pulls/1492
2025-09-15 23:36:30 +02:00
Matthew Pocock
6ebe84e096 Added completion for chord. 2025-09-15 21:34:15 +01:00
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
Aria
ab74ccfe7c Merge branch 'main' into glossing/ducking-click 2025-09-14 18:28:00 -05:00
Aria
92b2013cf6 Correctly handle silences for non-notes 2025-09-14 17:04:39 -05: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
Aria
23aa8ef509 Add ability for LFOs to target.. other lfos :devil emoji: 2025-09-13 14:49:36 -05:00