Repository navigation
feat: align dry tap and add global mix, bypass and Alien mix - #100
Closed
google-labs-stitch[bot] wants to merge 1 commit into
Closed
google-labs-stitch[bot] wants to merge 1 commit into
google-labs-stitch[bot] wants to merge 1 commit into
Conversation
- Read the resynthesis dry tap at the 1,593-frame latency - Blend direct and reversed stereo frames with AlienConfig::mix in Q14 - Add global mix and bypass controls to ProcessorConfig - Delay the input before Punch by 1,593 frames for mix and bypass - Clear the processor dry buffer in Processor::reset - Make the new configuration fields optional in WebAssembly - Document the 1,593-frame dry delay and the new controls
Contributor
byteland-app
deleted the
stitch/align-dry-tap-global-mix-bypass-jm0-67c34580-d344-45b3-adc9-a794b2467dda
branch
November 25, 2026 08:04
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
dryinsrc/resynthesis.rsfromself.rawatLATENCY_FRAMES(1,593frames) while keepingOVERLAP_FRAMES(1,543frames) for period lookup.mix(0.0..=1.0, default1.0) toAlienConfigand blend direct and boundary-faded reversed stereo frames inQ14.mix(0.0..=1.0, default1.0) andbypass(bool, defaultfalse) toProcessorConfig.Punchby1,593frames inProcessorfor globalmixand directbypass(-32767..=32767PCM clip), and clear the dry buffer inProcessor::reset.mix,bypass, andalien.mixoptional withserdedefaults andtsify(optional)forwasm32, and update the documentation.Verification
resynthesis.dry_mix(0.0..=1.0), globalmix(0.0..=1.0), andbypass = trueemit one impulse at frame1,593(0frames offset) at44.1 kHzand48 kHz.220 Hz..882 Hz(440 Hz,441 Hz, and480 Hzincluded) measure0.00 dBcomb loss atdry_mix = 0.5and globalmix = 0.5(-72.98 dBnotch removed).v0.3.2PCM renders across44.1 kHzand48 kHzproduce identical FNV-1a digests at defaultmix = 1.0andbypass = false.0heap allocations afterProcessor::new,-32768clipping to-32767inbypass,Processor::resetdry buffer clearing, andError::InvalidConfig/Error::InvalidEventpreflight rejection whenalien.enabledisfalseorbypassistrue.cargo fmt --check, native andwasm32cargo clippy -- -D warnings, native andwasm32RUSTDOCFLAGS="-D warnings" cargo doc,cargo package --list --locked, andnpm run verify:pack.Automated PR initiated by user @byteland-app via Stitch Loop.