• Aryan Noshirvnai's avatar
    Discovery: boost mic sensitivity and filter noise via real-time capture constraints · fabeaa47
    Aryan Noshirvnai authored
    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: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    fabeaa47
Name
Last commit
Last update
public Loading commit data...
src Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.oxlintrc.json Loading commit data...
README.md Loading commit data...
index.html Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
tsconfig.app.json Loading commit data...
tsconfig.json Loading commit data...
tsconfig.node.json Loading commit data...
vite.config.ts Loading commit data...