Repository navigation
fix: stop the phaser scream from holding after Stop - #237
Merged
Merged
Conversation
Metal distortion was feeding the scream loop a positive offset. After Stop the loop latched to a DC rail, so the speakers rattled and a WAV of that tail recorded as a flat full-scale line. Highpasses block the offset, and an envelope closes the feedback when the dry sound goes quiet. Full feedback still screams while a note is held. Co-authored-by: Ed Finkler <coj@funkatron.com>
Co-authored-by: Ed Finkler <coj@funkatron.com>
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.
The recording after Stop was a flat line at full scale. The chips were still playing a normal mix, and the speakers were passing the music, but metal distortion was feeding the phaser feedback a positive offset. Once the notes stopped, that loop latched to DC. The speakers rattled on the offset, and the WAV tap clamped every sample to +32767, so the file could not show the noise.
The feedback loop and the insert output now high-pass at 20 Hz, which is low enough to leave a kick alone. An envelope taken from the dry sound opens the feedback while notes are playing and closes it when they stop, so a scream can still happen on a held note and then drains instead of holding.
Checklist
npm test, 633 passed)