Product & API Development

AF Speech: Offline Speech-to-Text AI Desktop App

A Windows dictation application that runs Whisper locally, protects GPU resources and types into any active app.

PythonWhisperCUDACTranslate2CustomTkinterPyInstaller
AF Speech desktop application interface

At a glance

The system, briefly.

Problem

AF Speech is a Windows desktop application designed to eliminate manual typing completely, allowing users to write anywhere simply by speaking.

Solution

Unlike cloud‑based solutions:

Role

AI Software Developer · Product Designer

Stack

Python · Whisper · CUDA · CTranslate2 · CustomTkinter · PyInstaller

Industry

Productivity · Privacy-first AI

Outcome

A private, subscription-free dictation product that uses existing CPU and NVIDIA GPU resources.

01

Overview

Overview

AF Speech is a Windows desktop application designed to eliminate manual typing completely, allowing users to write anywhere simply by speaking.

The project was born from a real and common problem: most speech‑to‑text tools available today require monthly subscriptions, constant internet connection, and the transmission of audio data to external servers — resulting in higher costs, latency, and serious privacy concerns.

AF Speech completely reverses this approach by leveraging the local power of the user’s PC, especially CPU and NVIDIA GPU, to run artificial intelligence entirely offline. AF Speech is an intelligent dictation system that converts voice into text using advanced AI models executed entirely on the local machine.

Users can dictate text inside any application — browser, editor, CRM, chat, documents — through a global hotkey, without interrupting their workflow.

The application runs silently in the Windows system tray, includes a visual listening overlay, and features intelligent GPU resource management.

02

System detail

Zero recurring costs

Unlike cloud‑based solutions:

Once installed, the application uses hardware the user already owns, effectively turning the GPU into a personal AI accelerator.

  • no per‑minute fees
  • no subscriptions
  • no external APIs
03

System detail

Total privacy (100% offline)

All processing happens locally:

Voice data never leaves the user’s computer, making AF Speech ideal for professional, business, and privacy‑sensitive environments.

  • no audio is sent online
  • no servers involved
  • no remote logging
04

System detail

High performance

Thanks to CUDA acceleration:

The experience remains smooth even when using powerful models such as Whisper Large‑v3.

  • fast transcription even with large AI models
  • minimal latency
  • optimized VRAM usage
05

Stack

Tools Used / Stack

Area

Technology

AI Speech Engine

Faster‑Whisper (CTranslate2)

Model

Whisper Large‑v3

Acceleration

NVIDIA CUDA / cuBLAS / cuDNN

Audio

SoundDevice + PyAudio

GUI

CustomTkinter

System Tray

pystray

Global Hotkeys

keyboard

Packaging

PyInstaller (standalone EXE)

06

System detail

Smart voice dictation

  • global hotkey activation
  • automatic speech detection
  • text injected directly into the active application
07

System detail

Local AI execution

  • Whisper Large‑v3 running fully offline
  • multilingual support
  • high accuracy on complex sentences
08

System detail

VRAM Protection System

Designed for power users and gamers:

This allows AF Speech to coexist safely with games and heavy GPU workloads.

  • real‑time GPU memory monitoring
  • automatic AI pause above VRAM threshold
  • Free VRAM” action from the system tray
09

System detail

Native Windows integration

  • auto‑start with Windows
  • silent background execution
  • tray quick menu
  • listening overlay feedback
010

System detail

UI & User Experience

The interface follows a modern dark‑mode design, aligned with the Windows ecosystem and AF Automations branding.

Main elements include:

The goal is to deliver advanced AI power through a simple and intuitive interface.

  • AI model selection
  • microphone selection
  • auto‑start toggle
  • VRAM protection
  • text output area
  • animated listening overlay
011

System detail

Technical Metrics

Metric

Value

Average transcription time

2 seconds

Italian accuracy

98%

VRAM usage

3–4 GB (large‑v3)

Offline operation

100%

012

System detail

Technical Challenges Solved

  • reliable hot‑plug handling of audio devices
  • asynchronous AI model loading to avoid UI freezing
  • Unicode compatibility (accents and symbols)
  • global Windows hotkey integration
  • GPU stability via VRAM protection logic
013

Outcome

Outcome

AF Speech demonstrates how it is possible to build:

This project represents a concrete example of practical applied AI, leveraging consumer hardware to deliver real user value.

  • a fully local AI desktop application
  • with no recurring costs
  • focused on real‑world performance
  • maximum privacy
  • deep operating system integration

System views

Inside the build.

04 frames
AF Speech main window
AF Speech main window01
AF Speech settings
AF Speech settings02
AF Speech listening overlay
AF Speech listening overlay03
AF Speech Windows system tray menu
AF Speech Windows system tray menu04

Outcome

A private, subscription-free dictation product that uses existing CPU and NVIDIA GPU resources.

Next project

Voice Booking Agent