From Microphone to Insight in Milliseconds

    SnapRoomScore transforms your device into a noise analysis tool using standard web technologies. Here's exactly what happens at each stage — and why your data stays completely under your control.

    1. Microphone Access

    When you tap 'Start Measuring,' your browser prompts for microphone permission via the getUserMedia API. This is a standard browser capability — the same one used by video calls and voice memos. You can revoke access at any time through your browser's site settings.

    2. Real-Time Audio Analysis

    The microphone stream feeds into a Web Audio API AnalyserNode that computes the root-mean-square amplitude of each audio frame. This mathematical operation runs natively in your browser's audio processing thread at hardware-accelerated speed — typically completing each analysis cycle in under 1 millisecond.

    3. Decibel Conversion & Classification

    The RMS amplitude is converted to an approximate decibel reading using a logarithmic scale (20 × log₁₀). SnapRoomScore then maps this value to one of six noise tiers — from Whisper Zone to Chaotic — each with tailored recommendations based on acoustic health research and workplace guidelines.

    4. Actionable Feedback

    Based on your tier classification, SnapRoomScore surfaces contextual tips. A Moderate reading in a bedroom triggers sleep-optimization suggestions. The same reading in an office context might highlight focus strategies. Tips are curated from environmental health research and acoustic engineering best practices.

    5. Session Tracking

    When you stop a measurement, the session summary (average dB, peak dB, minimum dB, duration) is saved to your browser's localStorage. This builds your personal trend history — visible on the Trends page — without any data ever leaving your device.

    6. Share & Compare

    Generate a visual score card summarizing your measurement. Share it via clipboard, social media, or save it as an image. The card includes your average dB, noise tier, and session timestamp — useful for comparing rooms, tracking improvements, or showing a landlord your noise conditions.

    Architecture & Data Flow

    SnapRoomScore is a fully static Progressive Web App. The entire application — HTML, CSS, JavaScript, and assets — is served from a CDN and cached locally by a service worker. There is no application server, no database, and no API endpoint involved in the measurement flow.

    The data flow is strictly one-directional: Microphone → Web Audio API → AnalyserNode → JavaScript calculation → Screen render. At no point does audio data touch the network stack, the file system, or any persistent storage. Session summaries (numerical values only — never raw audio) are optionally written to localStorage when the user ends a measurement.

    localStorage is sandboxed per origin — no other website can read SnapRoomScore's stored data.

    A Note on Accuracy

    Consumer device microphones are designed for speech intelligibility, not calibrated sound pressure measurement. SnapRoomScore provides approximate decibel readings that are most reliable in the 40–90 dB range — the range that covers typical indoor environments from quiet bedrooms to busy restaurants.

    For best results, hold your device at arm's length with the microphone facing the sound source. Avoid covering the microphone with your fingers or placing the device on a vibrating surface. Consistent positioning between sessions is the key to meaningful trend comparisons.

    For scenarios requiring certified accuracy — occupational health assessments, legal noise complaints, or building code compliance — always use a calibrated Class 1 or Class 2 sound level meter. SnapRoomScore is an awareness tool, not a replacement for professional instrumentation.

    Frequently Asked Questions

    Do I need to install an app to use SnapRoomScore?+

    No. SnapRoomScore runs entirely in your browser using the Web Audio API. There's nothing to download or install — just open the page and click Start.

    Does SnapRoomScore record or upload my audio?+

    Never. All audio analysis happens locally on your device. No raw audio, recordings, or microphone data ever leaves your browser or is sent to any server.

    How accurate is a browser-based decibel meter?+

    SnapRoomScore is typically within ±3–5 dB of a calibrated Class 2 meter in the 45–85 dB range — accurate enough for everyday use like checking sleep environments, offices, or rooms. It's not certified for occupational compliance reporting.

    Why does it ask for microphone permission?+

    The browser requires explicit microphone access to read live audio levels. We use only the volume signal — no recording is created or stored.

    Can I use SnapRoomScore offline?+

    Yes. Install it as a Progressive Web App (PWA) and it will work offline after the first visit.

    See it in action