Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
notepat: fix `pf is not defined` ReferenceError in sample wave blip master
playWaveSound("sample") referenced `pf` (pitch factor), a local binding that only exists inside playZoo / playLaser / playPercussion — not in playWaveSound's scope. Switching wavetype to "sample" threw a ReferenceError on the very first synth call, which the error display surfaced as "act: pf not defined" because the act() handler is what invokes setWave() → playWaveSound(). The pitch-factor is meaningless for a 30 ms UI-confirmation click, so drop the multiplication and use the literal 800 Hz tone. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author prompt.ac/@jeffrey Co-author Claude Opus 4.7 (1M context) Date (Apr 20, 2026, 11:23 PM UTC) Commit 0f2ec9be 0f2ec9be858ce1af2a3342d2632fc4b5ce31d47d Parent 64df76fe 64df76fef82858744958f1a3a86c10f9cd438a4a