Repository navigation
feat: add partial configuration updates and scalar events - #66
Closed
google-labs-stitch[bot] wants to merge 3 commits into
Closed
google-labs-stitch[bot] wants to merge 3 commits into
google-labs-stitch[bot] wants to merge 3 commits into
Conversation
- Add Processor::update_config for atomic configuration updates. - Add serde default deserialization for all configuration structs. - Export the DeepPartial type from the Wasm and TypeScript APIs. - Accept partial configurations in Tunelet and updateConfig. - Add RetuneMs, PitchRatio, FormantShift, DryMix and ReverbMix events. - Document the new APIs and scalar events in rustdoc and README.md.
- Keep the asynchronous Wasm import in src/index.ts. - Keep the DeepPartial type export in src/index.ts.
- Include the v0.3.1 release, CI workflows and formant updates. - Keep the partial configuration updates and scalar control events.
Contributor
byteland-app
deleted the
stitch/partial-config-and-scalar-events-jm1-55928a1b-b129-4260-becd-dd4139e61859
branch
November 25, 2026 08:05
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change adds partial configuration updates and scalar automation events across the Rust, WebAssembly and TypeScript APIs.
Processor::update_configso Rust callers copyself.config, edit fields and applyset_configatomically without heap allocation.serdedefault deserialization forProcessorConfig,ResynthesisConfig,CorrectionConfig,PitchConfig,FormantConfig,HarmonyConfigand all four effect configuration structs whileconfig()anddefaultConfig()still return completeProcessorConfigtypes.DeepPartial<T>fromsrc/wasm.rsandsrc/index.ts, acceptDeepPartial<ProcessorConfig>innew Tunelet(...)and addTunelet.updateConfig(patch).updateConfigwhen fields are absent orundefined, replace fixed-size arrays atomically and throw a JavaScriptErroronnull, wrong types or invalid ranges before processor state or an active drain changes.ControlEvent::RetuneMs,ControlEvent::PitchRatio,ControlEvent::FormantShift,ControlEvent::DryMixandControlEvent::ReverbMixwith range validation and zero-allocation updates inProcessor::apply.README.mdin ASD-STE100 Simplified Technical English.Verification
cargo build --locked --release,cargo fmt --check,cargo clippy --locked --lib -- -D warningsandcargo doc --locked --no-deps.cargo clippyandcargo docforwasm32-unknown-unknown --features wasmand rannpm run build(wasm-packandtsc).cargo tree --locked) and kepttest = falseinCargo.toml.ControlEventvariants and full-stage events in Rust and Wasm.Automated PR initiated by user @byteland-app via Stitch Loop.