stt-speed-test / index.html
Saidwire's picture
Speed test: big number is processing time, full breakdown below (owner-approved 11-01)
6982366 verified
Raw History Blame Contribute Delete
3.53 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>STT speed test</title>
<meta name="description" content="Talk into your microphone and see how fast Saidwire returns the final transcript after you stop.">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="wrap" id="main">
<section class="hero">
<p class="kicker">Saidwire · Speed test</p>
<h1>How fast is your speech-to-text?</h1>
<p class="lead">Click Talk and say a sentence or two. Each time you pause, the stopwatch shows how long the final transcript took to come back.</p>
</section>
<section class="sp-card" aria-label="Speed test">
<div class="sp-watch" aria-live="polite">
<div class="sp-num"><span id="sp-ms">&ndash;</span><span class="sp-unit">ms</span></div>
<p class="sp-cap" id="sp-cap">processing time in our speech service</p>
<p class="sp-break muted small" id="sp-break">Say a sentence and pause. The full breakdown appears here.</p>
</div>
<div class="sp-controls">
<button class="btn" id="sp-btn" type="button">Talk</button>
<div class="sp-meter" aria-hidden="true"><i id="sp-level"></i></div>
<span class="muted small" id="sp-time"></span>
</div>
<div class="sp-bar" aria-hidden="true"><i id="sp-bar"></i></div>
<p class="sp-status" id="sp-status" role="status">Your browser will ask to use the microphone. English only.</p>
<div class="sp-log" id="sp-log" aria-live="polite"></div>
<p class="sp-sum small" id="sp-sum"></p>
<p class="sp-claim">35&nbsp;ms median after Finalize, measured in US East; your network adds to what you see.</p>
<p class="sp-others small">Other providers publish about 300&ndash;350&nbsp;ms for final transcripts.</p>
</section>
<section class="sp-cta">
<p><b>Get 120 free hours:</b> <a href="https://saidwire.com/dev" target="_blank" rel="noopener">https://saidwire.com/dev</a></p>
<p class="muted small">No card. English. $0.30 per audio hour after that. <a href="https://saidwire.com/docs/api" target="_blank" rel="noopener">API docs</a></p>
</section>
<section class="sp-how">
<h2>How the stopwatch works</h2>
<ol>
<li>The page listens for a short pause (0.35&nbsp;s) to decide you have finished. Voice agents choose this pause themselves, so it is not counted.</li>
<li>At that moment the page sends a <code>Finalize</code> message. Our demo server starts a clock when it passes <code>Finalize</code> to the speech service, and stops it when the final transcript comes back.</li>
<li>Part of that time is the network trip between our demo server and our speech servers. We measure that trip on every try and subtract it. What is left is the big number: the processing time in our speech service.</li>
<li>Under the big number is the full sum: processing, plus the trip between our servers, plus your own internet round trip (timed in your browser, from sending <code>Finalize</code> to getting the final), equals what you felt.</li>
</ol>
<p class="muted small">This page is static: there is no API key in it. It talks to our demo proxy at saidwire.com. Limits: 5 tries an hour, up to 30 seconds each, English only. Your audio is streamed to the speech service and is not stored. We keep only the time of each try, its length and the speed numbers, not what you said.</p>
</section>
</main>
<script src="app.js"></script>
</body>
</html>