Discovery: boost mic sensitivity and filter noise via real-time capture constraints
autoGainControl (sensitivity - boosts a quiet/distant snippet) and noiseSuppression (filters steady background noise) are now requested on the getUserMedia call, plus a 44.1kHz sampleRate hint since some phones default the mic to a voice-optimized rate that hurts music fingerprint matching. echoCancellation is explicitly off - it's built for cancelling a device's own call/speaker output, not relevant here, and can color music it doesn't need to touch. Chose this over any server-side denoising step deliberately: these are real-time browser/WebRTC audio-pipeline features applied during capture, not post-processing, so they add zero time on top of the fixed 5-second recording window - the exact opposite of what a backend audio-processing pass would do to the "must stay ~5s total" budget. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9