---
id: 18163
lang: en
title: "Developer swaps Whisper for GigaAM v3 in an ETS2 radio companion: speech recognition drops from 7.4 to 0.4 s"
published_at: "2026-11-25 08:26:18"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1111962/?utm_campaign=1111962&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18163"
categories: ["llm", "research"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Developer swaps Whisper for GigaAM v3 in an ETS2 radio companion: speech recognition drops from 7.4 to 0.4 s

> **Краткая суть (BLUF):** In a companion app for Euro Truck Simulator 2 (ETS2), the in-game radio answered the player after 12–13 seconds. Whisper could not keep up with speech recognition while the game and a stream were eating the CPU. The author replaced it with Sber's Russian-language GigaAM v3, and recognition of a short phrase under load fell from 7.4 to 0.4 seconds, 20–25 times faster. For short utterances in a single language on a busy CPU, a narrow model beats a general-purpose one.  • Whisper small: 5.8 s without load, 7.4 s under load; GigaAM: 0.27 and 0.40 s • The meaning matched the reference in 14 of 20 clips; in 4 disputed cases GigaAM had the edge • In live use, the time from releasing the push-to-talk button to text is now 0.11–0.15 s instead of 7+ s

Picture this: you press the push-to-talk button on your wheel, say something into the radio, and the reply arrives 12–13 seconds later, when you have already forgotten what you asked. That is how the program "Kanal 15" behaved. It is a radio-play companion for Euro Truck Simulator 2 (ETS2) with eighteen made-up drivers on the air, and the right character answers each of the player's lines. Speech recognition runs locally, with no network, on the same processor as the game and the stream. Under that load, OpenAI's general-purpose Whisper model took 6–12 seconds to think. The author replaced it with Sber's Russian-language GigaAM v3 model. The median recognition time for a short phrase fell from 7.4 to 0.4 seconds, a speedup of 20–25 times.

## Why Whisper couldn't cope

The program used faster-whisper small in int8 mode (a compressed model), with 4 threads, beam_size=5 (the decoder weighs five candidate transcriptions) and a VAD silence filter. In lab measurements it finished in a couple of seconds. But in the cab, the game and the recording software occupy all the CPU cores, and recognition gets the leftovers. Live measurements reached 6.4–11.6 seconds, and on the previous stream 18 of 48 push-to-talk presses ended in a timeout.

The first reaction was the familiar one: raise the priority of the recognition thread. The author did that and rolled it back the same day. On Windows, child threads do not inherit the creator's priority, and the internal ctranslate2 pool stays at normal priority. Besides, a 12-second delay means the engine physically cannot keep up, so priority will not help. Raising the wait limit from 9 to 15 seconds was not an option either. The project has a rule against touching timeout constants: fix the cause, not the threshold.

## What GigaAM v3 offers

The way out was GigaAM v3, a Russian speech recognition model from Sber. It is supported by sherpa-onnx, and internally it uses a transducer rather than an autoregressive decoder like Whisper's. Radio lines are short, 2–5 seconds of speech, and at that length greedy decoding (taking the most probable option without searching alternatives) beats heavy beam search.

The author deliberately did not build a clean test bench. He took a stream recording and cut out 20 windows with speech. The microphone there is mixed with game noise and the radio chatter, and in places a navigator voice talks over the speaker. Volume is normalized the same way as in the production code. The medians came out as follows:

- faster-whisper small int8: 5.8 s on a partially loaded machine, 7.4 s under load;
- GigaAM v3 int8 via sherpa-onnx: 0.27 s and 0.40 s.

That is a 20–25x speedup. Under load, GigaAM slows down more in relative terms (by a factor of 1.5 versus ×1.27 for Whisper), but in absolute terms that is 0.2–0.7 seconds. This leaves a margin of more than eight times before the six-second timeout. Model load time at startup is nearly the same: 1.3 s versus 0.9 s.

On Russian, GigaAM turned out to be at least as accurate. The meaning matched the reference in 14 of 20 clips, in another 4 disputed cases GigaAM had the edge, and in 2 both engines got it wrong. Whisper heard "Добрый день, железяк. Вы же тебя хорошо" (roughly, "Good day, junkhead. You but you well"), while GigaAM wrote "Добрый день, Железяка. Слышу тебя хорошо" ("Good day, Zheleziaka. I hear you well"). For a radio, the most important thing is the names of the addressees, because the text goes into an intent matcher that decides who is being asked and about what. Here the score is 2:1: both engines recognized "Стас" (Stas), only GigaAM caught "Железяку" (Zheleziaka), and only Whisper caught "Янека" (Yanek). The table of name variants, which used to cover Whisper's errors, had to be extended for GigaAM.

## A two-stage setup and honest caveats

GigaAM writes English speech in Latin letters phonetically: "Thank you, stranger" turns into "Sankie Stranger". The author uses this as a free detector of foreign-language speech. The setup works like this: GigaAM goes first, and the request falls back to Whisper in three cases: the text came out in Latin letters, the result is empty, or the phrase is shorter than three words and the matcher found nothing in it. All of this sits behind a pilot flag that is off by default. At startup, the radio runs a self-benchmark on a control phrase and writes a warning to the log if recognition is too slow.

The pilot did not work at first: the sherpa_onnx package was installed in the test bench's virtual environment, while the production radio ran in another one. After the package was installed there, the time from releasing the push-to-talk button to text in live use came to 0.11–0.15 seconds instead of seven or more.

The author names the limitations himself: only 20 clips from a single stream, some with the radio chatter overlaid, and no full run inside the radio with VAD and the push-to-talk hold logic at the time of measurement.

## What follows from this

If the task is narrow (one language, short phrases, a weak, shared CPU), it is worth comparing general-purpose Whisper against a specialized model. Tweaking parameters and thread priorities may yield less than changing the decoder architecture. Still, keep the general-purpose model as a fallback: it covers the cases where the narrow one fails. And measure on real, dirty audio and with the metric that matters for the product. Here that is not word accuracy but correctly identifying who the player is talking to.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1111962/?utm_campaign=1111962&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18163
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
