Skip to content

fix: stop the phaser scream from holding after Stop - #237

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/fx-stop-noise-fa36
Nov 29, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
cursor/fx-stop-noise-fa36

Conversation

@funkatron

Copy link
Copy Markdown
Owner

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

  • Unit tests, including the new high-pass and closed-follower assertions (npm test, 633 passed)
  • Lint
  • Offline render: full feedback still jumps in level while a note is held, the mean stays near zero, and the tail is silent about a second after the note stops
  • iPad listening: play with distortion and phaser feedback up, hit Stop, and confirm the rattle is gone and the scream does not hold
Open in Web Open in Cursor 

cursoragent and others added 2 commits November 29, 2026 22:29
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>
@cursor
cursor Bot merged commit 9a40768 into main Nov 29, 2026
1 check passed
@cursor
cursor Bot deleted the cursor/fx-stop-noise-fa36 branch November 29, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants