<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>open-source neural text-to-speech synthesis &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/open-source-neural-text-to-speech-synthesis/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Sun, 13 Sep 2026 01:48:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>open-source neural text-to-speech synthesis &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>Open-Source Browser Extension Dubs Any Web Video in Real Time</title>
		<link>https://scienmag.com/open-source-browser-extension-dubs-any-web-video-in-real-time/</link>
		
		<dc:creator><![CDATA[Denise Maddox]]></dc:creator>
		<pubDate>Sun, 13 Sep 2026 01:48:54 +0000</pubDate>
				<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[audio-video synchronization]]></category>
		<category><![CDATA[browser extension]]></category>
		<category><![CDATA[browser extension for arbitrary website video dubbing]]></category>
		<category><![CDATA[browser-based speech translation and voice cloning]]></category>
		<category><![CDATA[customizable voice cloning for live dubbing]]></category>
		<category><![CDATA[industry applications of AI-powered live]]></category>
		<category><![CDATA[live multilingual video dubbing technology]]></category>
		<category><![CDATA[low-latency speech recognition and synthesis]]></category>
		<category><![CDATA[machine translation]]></category>
		<category><![CDATA[multi-speaker voice consistency in dubbing]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[open-source neural text-to-speech synthesis]]></category>
		<category><![CDATA[open-source software]]></category>
		<category><![CDATA[open-source software for real-time media translation]]></category>
		<category><![CDATA[Polyglot]]></category>
		<category><![CDATA[real-time audio capture and translation in browsers]]></category>
		<category><![CDATA[real-time dubbing]]></category>
		<category><![CDATA[Real-time open-source video dubbing extension]]></category>
		<category><![CDATA[speaker diarization]]></category>
		<category><![CDATA[speech-to-speech translation]]></category>
		<category><![CDATA[streaming speech recognition]]></category>
		<category><![CDATA[synchronization of dubbed audio with video playback]]></category>
		<category><![CDATA[text-to-speech synthesis]]></category>
		<category><![CDATA[voice matching]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=200580</guid>

					<description><![CDATA[An open-source browser extension called Polyglot translates the audio of any web video in real time, assigns each speaker a distinct voice, and keeps the dub synchronized with the picture.]]></description>
										<content:encoded><![CDATA[<p>Imagine opening a lecture, a live sports broadcast, or a panel discussion in any language and hearing it dubbed into your own within seconds, with each speaker keeping a distinct, consistent voice and the picture staying in step with the sound. That is the promise of Polyglot, an open-source browser extension described in a new paper in the journal SoftwareX by Molly Sandler and Puneet Agarwal. The system captures the audio of any tab in a Chromium browser, translates it on the fly, synthesizes a dubbed soundtrack in which every speaker has their own voice, and delays the video itself so that lips and dub do not drift apart. Unlike commercial dubbing platforms tied to specific apps or platforms, Polyglot works on arbitrary video on arbitrary websites, and its entire codebase is published under the MIT license for anyone to inspect, fork, and extend.</p>
<p>The motivation comes from a gap the authors identify in a rapidly maturing industry. Streaming automatic speech recognition, low-latency neural text-to-speech, and zero-shot voice cloning have all reached production quality in the last few years, and commercial systems now dub live sports and broadcasts in real time. CAMB.AI&#8217;s DubStream dubs Major League Soccer and Ligue 1 matches, Microsoft Edge ships native real-time video translation, and YouTube rolled out auto-dubbing to all creators in February 2026. But each of these offerings is locked to its own surface. Edge&#8217;s feature works only inside Edge, YouTube&#8217;s dubbing is creator-gated and limited to video-on-demand uploads in 27 languages, and Windows Live Captions produce text but no dubbed audio. No existing system lets a viewer translate whatever they want, wherever they want, and none publishes its architecture, latency budget, or synchronization mechanism for the research community to study.</p>
<p>Polyglot closes those gaps with a two-part design: a Chromium Manifest V3 extension on the user&#8217;s machine and a stateless Python backend that orchestrates three cloud services. The extension is split into four cooperating browser contexts, each required by Chrome&#8217;s security model. A side panel hosts the interface with language pickers and color-coded per-speaker captions; a service worker coordinates the session; an offscreen document handles all audio and network work, downsampling captured tab audio to 16-kilohertz PCM in 200-millisecond chunks; and a content script injected into the page manages video synchronization. The backend is a FastAPI WebSocket server that streams the audio to Deepgram&#8217;s Nova-3 speech recognition, translates the resulting transcript with Google Translate, and synthesizes the dub with ElevenLabs&#8217; Flash v2.5 text-to-speech model. Each service sits behind a thin adapter, so any one can be swapped without touching the rest of the pipeline. The default translation path is free and requires no API key, and the backend can run locally at no hosting cost or be deployed to the user&#8217;s own Modal account.</p>
<p>The most delicate engineering problem is speaker awareness. Deepgram&#8217;s diarization labels drift over long sessions and occasionally merge two speakers into one, so Polyglot recomputes a per-utterance speaker fingerprint using ECAPA-TDNN, a learned speaker-embedding model from the speaker-verification literature, and clusters utterances into stable identities downstream. Each detected speaker is then matched to one of roughly 25 stock ElevenLabs voices by estimated pitch, gender, and energy, with the assignment locked once about three seconds of that speaker&#8217;s audio has accumulated. When a new voice appears mid-broadcast, as when a sports feed cuts to a sideline interview, playback briefly pauses in a re-buffer phase while the analysis completes, with a five-second timeout preventing indefinite stalls. The authors validated the matching heuristic with Speaker Embedding Cosine Similarity, a standard voice-cloning metric: on a multi-speaker TEDx clip, matched voices scored a mean similarity of 0.108 against the source speakers, roughly four times the 0.026 obtained from random assignment, showing the heuristic picks up genuine acoustic signal.</p>
<p>Synchronization is the second hard problem, and the one the authors say the field has largely ignored. A cascaded pipeline takes several seconds to produce translated audio, so if the dub simply plays over an undelayed video, the picture races ahead by the full pipeline latency, typically five to twelve seconds, far outside the roughly two-second tolerance for audio-late stimuli established in classic human-perception studies. Polyglot&#8217;s primary fix is a canvas overlay: for unprotected video, the content script hides the original player, captures every rendered frame into a rolling buffer using the browser&#8217;s requestVideoFrameCallback API, and redraws each frame onto an overlay canvas exactly the measured pipeline delay late. The viewer sees a frame-accurate copy of the video, shifted in time to match the dub. For DRM-protected players such as Netflix, where the browser cannot read protected frames, the extension detects the black canvas and falls back to a one-shot seek-back that rewinds the player by the buffer duration. In both modes, a drift-correction loop nudges the video&#8217;s playback rate between 0.65 and 1.15 times normal speed, inaudibly, whenever picture and audio diverge.</p>
<p>The empirical evaluation is, to the authors&#8217; knowledge, the first of an in-browser speech-to-speech translation system to measure screen-versus-audio offset directly. Translation quality was assessed with the SimulEval toolkit on four English-source pairs spanning three language families and two scripts: Spanish, French, and German from the Europarl-ST corpus of parliamentary speech, and Hindi from the FLEURS evaluation set. Text-level COMET-22, a neural metric that correlates best with human judgments, landed between 0.66 and 0.73 across the European pairs, in the mid-tier production range. Crucially, the drop from text-level to speech-level quality, which includes the text-to-speech synthesis and a Whisper re-transcription round-trip, was at most 0.011 on the European pairs, meaning the dub preserves nearly all the semantic content of the translation. The Hindi pair showed a wider gap, which the authors attribute to Whisper&#8217;s weaker accuracy on synthesized Devanagari speech rather than to the dub itself.</p>
<p>On synchronization, in-browser telemetry sampled the offset between the frame the viewer sees and the audio position they hear at five to ten hertz. Across three English-to-Spanish sessions on the TEDx clip, the drift-correction loop held mean offset between 1.2 and 3.5 seconds, with the best session averaging 1.23 seconds and a 99th percentile under two seconds, inside the classical acceptability bound. The canvas-overlay path itself contributes zero variance, so all residual offset comes from the controller compensating for pipeline jitter. Translation latency, measured as Average Lagging, came to roughly six seconds on the European pairs and 9.4 seconds on Hindi, dominated by the speech recognizer&#8217;s silence-end finalization and the text-to-speech model&#8217;s first-chunk synthesis time. The authors note that cutting latency further would require replacing the cascaded cloud architecture with an end-to-end streaming model, but they emphasize that latency shifts the experience a few seconds behind live without affecting whether the dub is watchable.</p>
<p>Beyond the headline capability, the system is designed for robustness and modest cost. The frame buffer is hard-capped at about 300 frames, roughly 469 megabytes, and the overlay loop costs about 0.55 milliseconds per frame, under two percent of one CPU core at 30 frames per second. Network traffic is a single WebSocket carrying about 256 kilobits per second upstream and 64 downstream. Running costs are pass-through usage on the user&#8217;s own backend: at current self-serve prices, speech recognition costs about $0.29 per hour of audio while text-to-speech dominates at roughly $4 per hour, with translation free by default. A second capture mode runs the same pipeline on microphone input, producing a downloadable, caption-synchronized translated voice memo for short cross-language conversations, with live playback suppressed to avoid a feedback loop. Coverage spans 19 languages in the intersection of the three services, yielding 342 directional language pairs.</p>
<p>The authors are candid about limitations. The synchronization evaluation focused on talking-head video, end-to-end latency is bounded by the three cloud services, the seek-back fallback for DRM content is perceptually inferior to the canvas overlay, and the translation tests ran at smoke scale on four target languages. The extension also runs only on desktop Chromium, since the required side-panel, offscreen-document, and tab-capture APIs are unavailable on mobile. Future work includes streaming wait-k translation models to push latency below one second, Bluetooth latency compensation, isochronous text-to-speech for non-talking-head content, and per-speaker voice cloning, which the voice-agnostic synthesis layer can already accommodate without upstream changes. The team also plans a Chrome Web Store listing with a hosted backend so non-technical users can install the extension without configuring API keys.</p>
<p>For now, Polyglot stands as an open, citable counterpart to a category of closed, business-to-business dubbing systems. By publishing the full latency budget, the synchronization telemetry, and reusable components including the streaming message protocol, the speaker re-clustering layer, and the canvas frame-delay technique, the authors give researchers in streaming translation, automatic dubbing, and web platforms a working codebase to read, replicate, and build upon. And for viewers, it shifts a quiet power: what gets translated, and into which language, is decided no longer by a platform or a content owner, but by the person watching.</p>
<p><strong>Subject of Research:</strong> Real-time, speaker-aware speech-to-speech translation of web video in the browser</p>
<p><strong>Article Title:</strong> Polyglot: An open-source browser extension for real-time, speaker-aware speech-to-speech translation of web video</p>
<p><strong>Article References:</strong> Sandler, M., &amp; Agarwal, P. (2026). Polyglot: An open-source browser extension for real-time, speaker-aware speech-to-speech translation of web video. <em>SoftwareX, 36</em>, Article 103026. <a href="https://doi.org/10.1016/j.softx.2026.103026" rel="noopener noreferrer">https://doi.org/10.1016/j.softx.2026.103026</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.1016/j.softx.2026.103026" rel="noopener noreferrer">10.1016/j.softx.2026.103026</a></p>
<p><strong>Keywords:</strong> speech-to-speech translation, browser extension, real-time dubbing, speaker diarization, audio-video synchronization, streaming speech recognition, text-to-speech synthesis, voice matching, machine translation, open-source software, Polyglot, open-source</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">200580</post-id>	</item>
	</channel>
</rss>
