Skip to content

About

Tonetta a real-time voice enhancement for sales calls. Confidence stabilization, WPM pacing, and noise removal routed invisibly into Zoom, Teams, Meet, and more.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tonetta

Real-time vocal optimization for sales professionals. Tonetta captures your microphone, enhances your voice with intelligent DSP, and routes it directly into any browser-based phone dialer — invisibly, in real time.

Voice calls only. Tonetta is built for browser phone dialers. Video calls are not supported — Zoom, Google Meet, Microsoft Teams, Webex, and other video-conferencing apps fall outside Tonetta's scope.


Supported Browser Dialers

Tonetta works with any browser-based phone dialer that uses a microphone input. Call auto-detection is built in for the dialers below; any other browser dialer still works manually (point its mic input at the Tonetta virtual device).

Dialer Auto-Detect (Win) Auto-Detect (macOS)
RingCentral ✓ ✓
Aircall ✓ ✓
OpenPhone ✓ ✓
JustCall ✓ ✓
Phone.com ✓ ✓
Google Voice ✓ ✓
Dialpad ✓ ✓
Vonage ✓ ✓
Nextiva ✓ ✓
8x8 ✓ ✓
Five9 ✓ ✓
Genesys Cloud ✓ ✓
Talkdesk ✓ ✓
Salesloft ✓ ✓
Outreach ✓ ✓
PhoneBurner ✓ ✓
CloudTalk ✓ ✓
HubSpot ✓ ✓
Kixie ✓ ✓
Apollo ✓ ✓
Nooks ✓ ✓
Orum ✓ ✓

Auto-detect scans all visible windows and background browser tabs every few seconds so a call is picked up the moment it starts. On macOS, background tabs in Chrome / Safari / Edge / Brave / Arc / Firefox / Opera are scanned via AppleScript even when unfocused.

Not supported (video apps): Zoom, Google Meet, Microsoft Teams, Webex, Discord video, FaceTime, BlueJeans, GoToMeeting, Whereby, Slack Huddles, or any other video-conferencing product. Tonetta is a voice tool only.


Features

Inflection Control

Anchors your voice to your calibrated baseline pitch whenever nervousness is detected. It applies very light PSOLA pitch correction so your delivery stays steady under pressure, without changing your timing, identity, or the way you sound.

  • Ordinary voiced speech stays dry; the pitch shifter only wakes up after an adaptive inflection threshold
  • Adaptive pitch anchoring engages around a 1.0-semitone rise above baseline and can correct up to 0.20 semitones at an 18% maximum blend
  • 140 ms fade-in / 340 ms fade-out handoff for smoother, artifact-free transitions

Think of it as camera stabilization, but for your voice.


Auto-Match WPM

If you naturally speak faster than 130 WPM, Tonetta time-stretches your audio in real time to bring it down to pace — pitch intact, no chipmunk effect.

  • WPM cap: 130 WPM
  • Rate formula: max(0.85, 130 / your_wpm) — max 15% slowdown
  • Algorithm: WSOLA (Waveform Similarity Overlap-Add) with NCC grain matching
  • VAD-gated: stretch only engages during active speech; silence passes through instantly
  • 30 ms attack / 60 ms release envelope for seamless transitions

Remove Background Noise

Removes silence and ambient noise between words without touching your voice audio.

  • RMS threshold gate: 0.015 RMS
  • 600 ms hold window — word endings, soft consonants, and breath pass through intact
  • Zero modification to audio above threshold — your voice is never processed
  • No spectral filtering, no fade, no artifacts

Prospect Interruption Mute

Detects when the prospect is speaking via your system audio and automatically mutes your microphone if you begin talking over them. A brief hold delay ensures a smooth return to your voice once the prospect finishes.

  • Monitors prospect audio on the system-capture channel (WASAPI loopback on Windows, ScreenCaptureKit on macOS)
  • Activates a digital mute on the mic output when the prospect is speaking and you begin to talk
  • Short hold window prevents choppy transitions during brief prospect pauses
  • Toggles independently of the other effects

Voice Sculpt EQ

A final-stage spectral polish applied to every call:

  • High-pass at 80 Hz (removes room rumble)
  • Low-shelf −4 dB at 200 Hz (trims proximity buildup)
  • Bell +3.5 dB at 2.5 kHz (restores presence)
  • High-shelf +2.5 dB at 8 kHz (restores air)
  • Harmonic exciter 4–8 kHz at 12 % wet (spectral clarity)
  • Gentle 2.5 :1 compressor (even loudness)

Call Auto-Detect

Tonetta watches for active calls in the background and can start/stop automatically. It scans all visible windows — including background browser tabs — so it catches your call the moment it starts.

  • State-aware: differentiates ringing from active-call so Tonetta engages exactly when speech begins
  • Auto Start/Stop: configurable per-user; opt out anytime in Settings
  • Auto-prompt before starting: configurable per-user; can be silenced for power users

See the Supported Browser Dialers table at the top for the full list.


Call Recording

Every call is recorded automatically to a WAV file (post-effects, stereo, 16-bit PCM). Recordings are stored via Supabase and accessible from your call history.

  • When Auto-Delete Short Calls is enabled in settings, calls under 1 minute are automatically discarded
  • The 30 oldest recordings are auto-deleted when the cloud limit is reached
  • Recordings can be played back inline from the dashboard

Call Report & Analytics

After each call, Tonetta generates a detailed performance report:

Pace & Timing

  • Average WPM and pace consistency score
  • Stretch engagement % (how often the WPM cap was active)
  • Silence ratio

Tone & Confidence

  • Pitch stability score
  • Warmth index (spectral centroid)
  • Volume dynamic range
  • Vocal energy (average RMS during speech)

Interactivity

  • Talk-to-listen ratio
  • Longest monologue duration
  • Interruption count
  • Pace delta vs. prospect (mirroring score)

Content & Clarity (via Whisper transcription)

  • Filler word count (um, uh, like, you know)
  • Question rate
  • Keyword hits
  • ASR clarity score

Voice Calibration

Before your first call, Tonetta runs a short voice setup that captures your:

  • Natural pitch baseline (F0 in Hz)
  • Pitch ceiling
  • RMS baseline
  • Instability profile (RMS variance, spectral spike ratio)
  • Natural WPM, breathiness, and volume range

All processing is personalized to your voice. The calibration is stored and reused across sessions.


Restart Audio Service (Windows only)

Settings → Audio includes a Restart Audio Service button on Windows. If your mic has issues — most often a wedged WASAPI session after another app crashed — this restarts the Windows audio service stack (AudioEndpointBuilder + Audiosrv) and Tonetta reconnects to your mic automatically. A small bundled Tonetta_Audio_Reset.exe performs the restart under a single UAC prompt.

Tonetta also triggers this restart automatically if the audio engine reports two stuck-stream events in a row.


Tony — AI Sales Coach

An in-app AI assistant available on every page. Tony answers questions about your calls, explains features, and surfaces coaching tips in context.

  • 20 messages per day — resets at midnight local time, tracked across app restarts
  • 5 messages per 60-second rolling window — rate limited to prevent API flooding
  • Chat history persists across page navigations during a session and is cleared when the app closes
  • Counter badge in the input row turns amber at 5 remaining, red at 0

Two Operating Modes

Background Mode — Tonetta runs silently in the background. Start/stop from the main dashboard. The floating popup shows live stats and toggles without controlling the call lifecycle.

Normal Mode — The popup is your primary control. It shows mic selection and a start button at idle, then switches to live stats and effect toggles when a call is active.

In both modes, all effect toggles auto-enable when a call starts and are locked when no call is active.


How It Works

Tonetta routes audio at the OS level. Your physical microphone feeds into the Tonetta DSP engine, which outputs to a virtual audio device (VB-CABLE on Windows, BlackHole on macOS). Your browser dialer is set to use that virtual device as its microphone input.

Physical Mic → Tonetta DSP Engine → VB-CABLE / BlackHole → Browser Dialer

The full processing chain per audio block (~21 ms at 48 kHz / 1024-sample blocks):

Mic Input
  → Noise Gate
  → Confidence (PitchAnchor: transparent PSOLA guardrail)
  → Resample (if needed)
  → Stereo Fan (mono → stereo)
  → WPM Time-Stretch (WSOLA)
  → Voice Sculpt EQ
  → VB-CABLE / BlackHole Output + WAV Recording

All DSP runs in Python (NumPy) at 48 kHz, float32, 1024-sample blocks. Latency is approximately 10–21 ms end-to-end. Bypass mode (no effects on, not in a call) sends raw mic audio straight to the virtual cable with zero added latency.


Platform Support

Platform Status
Windows 10 / 11 Supported
macOS (Apple Silicon + Intel) Supported

Virtual audio device required:

  • Windows: VB-CABLE — installer ships with Tonetta
  • macOS: BlackHole 2ch — installer ships with Tonetta

The installer prompts for the virtual cable on first launch if it isn't already installed.


Auth & Data

  • Login via Google OAuth (Supabase)
  • Auth tokens stored in OS keychain — never in plain text
  • Call recordings stored in Supabase Storage
  • Transcription processed via Whisper on a private AWS server
  • All audio processing happens on-device — your mic audio never leaves your computer except as a finished call recording

Repository Layout

DesktopApplication/
├── tonetta-popup/                # Main Electron app
│   ├── main.js                   # Electron main process + IPC + child process orchestration
│   ├── preload.js                # Context bridge to renderer
│   ├── src/                      # Renderer pages (dashboard, popup, settings, post-call, login, splash)
│   ├── audio/                    # Python DSP engines (audio_passthrough.py, system_audio_capture.py, list_mics.py)
│   ├── server/                   # FastAPI backend (Whisper transcription, tone analysis) — runs on AWS
│   ├── tools/audio-reset/        # Tonetta_Audio_Reset.exe source (Windows)
│   ├── extra-resources/          # Bundled binaries: BlackHole pkgs, Tonetta_Audio_Reset.exe
│   └── package.json              # electron-builder config (Win NSIS / macOS DMG)
├── documentation/                # Feature specs (WPM, Confidence, Audio Pipeline, Modes, Setup)
├── windows_installer/            # NSIS-related artefacts
├── build/                        # build helpers
└── README.md

Development

cd tonetta-popup
npm install
pip install -r requirements-audio.txt
npm start                         # launch Electron in dev mode

# Audio testing (without Electron)
python audio/audio_passthrough.py --list-devices
python audio/audio_passthrough.py <mic_index>

The audio_passthrough.py engine is long-lived: Electron spawns it once at app launch, drives it via stdin commands, and reads JSON-like status lines from stdout. The same process services idle passthrough and active call recording.


Building for Production

The production build replaces the raw Python scripts with PyInstaller-bundled EXEs (audio_passthrough.exe, list_mics.exe, system_audio_capture.exe) and packs the Electron renderer into an app.asar. Filenames and paths matter — main.js looks for the engine at specific locations and silently fails if they're wrong.

Windows installer

Prerequisites:

  • Python 3.11 or 3.12 with deps from tonetta-popup/build-windows/requirements-windows.txt installed in your venv
  • Node 18+ and npm install run inside tonetta-popup/
  • SafeNet / DigiCert USB code-signing token plugged in and unlocked (required by sign-win.js)
  • Windows SDK signtool.exe — sign-win.js looks at C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe by default; update that constant if your SDK version differs
  • Inno Setup 6+ installed for the final installer packaging
  • (Optional) Tonetta_Audio_Reset.exe built once via tonetta-popup/tools/audio-reset/build.bat — produces tonetta-popup/extra-resources/Tonetta_Audio_Reset.exe. The Settings → Restart Audio Service action falls back to PowerShell if this isn't present, but the named UAC prompt is nicer with the EXE.

Build pipeline:

cd tonetta-popup
npm run clean                     # wipes dist/ — recommended before any production build
npm run build:win

npm run clean removes dist/ so the next build can't accidentally package stale artifacts (e.g., a dist/win-unpacked/ from a previous iteration that's missing the latest PyInstaller output). Skip it only if you just successfully built and want to iterate on a single layer.

That one command runs three steps in sequence:

  1. build:python-win → node build-windows/build-python-win.js rebuilds the PyInstaller bundles. Outputs:
    • tonetta-popup/audio_passthrough/audio_passthrough.exe (PyInstaller --onedir — the folder includes the EXE plus PortAudio DLLs, scipy / numpy extension modules, and an _internal/ runtime)
    • tonetta-popup/list_mics.exe (single file)
    • tonetta-popup/system_audio_capture.exe (single file) You can skip this step (electron-builder --win --x64 && node build-windows/sign-win.js) if no Python changed since the last build — saves several minutes.
  2. electron-builder --win --x64 → packs main.js + renderer into dist/win-unpacked/resources/app.asar, unpacks the audio engines into dist/win-unpacked/resources/app.asar.unpacked/ per the asarUnpack config, copies extra-resources/ (BlackHole pkgs, Tonetta_Audio_Reset.exe) into the install root.
  3. sign-win.js → signs all five EXEs in one signtool call (one PIN prompt for the USB token). The five files signed are:
    • dist/win-unpacked/Tonetta.exe
    • dist/win-unpacked/resources/elevate.exe
    • dist/win-unpacked/resources/app.asar.unpacked/audio_passthrough/audio_passthrough.exe
    • dist/win-unpacked/resources/app.asar.unpacked/list_mics.exe
    • dist/win-unpacked/resources/app.asar.unpacked/system_audio_capture.exe

Smoke-test the build before packaging the installer:

dist\win-unpacked\Tonetta.exe

That launches the packaged build directly (no install). Verify in Task Manager that audio_passthrough.exe appears under the Tonetta process tree and that audio is reaching VB-CABLE.

Compile the installer:

  1. Open windows_installer\TonettaSetup-JoeyLaptop.iss in Inno Setup Compiler.
  2. Press F9 (or Build → Compile).
  3. Output: windows_installer\Output\TonettaSetup_<version>.exe.

The Inno script copies the entire dist\win-unpacked\ tree into {autopf}\Tonetta\ (admin-only, Program Files), prompts the user to install VB-CABLE if it isn't detected, and signs the resulting setup EXE if SignTool=evcode is uncommented in the [Setup] block. For production releases, uncomment the SignTool=evcode and SignedUninstaller=yes lines after configuring an evcode signtool definition in Inno's preferences.

Distribute: windows_installer\Output\TonettaSetup_<version>.exe is the file that ships to users. Upload it to your release host and update latest-windows.json so the in-app updater can find it.

macOS DMG

Prerequisites:

  • Python 3.11 or 3.12 with deps from tonetta-popup/requirements-audio-mac.txt
  • Xcode + the codesign / xcrun notarytool toolchain
  • A Developer ID Application certificate in your login keychain
  • An App Store Connect API key for notarisation, configured in your env per electron-builder's notarize docs

Build pipeline:

cd tonetta-popup
npm run build:mac

Runs:

  1. build:python-mac → PyInstaller produces tonetta-popup/audio_passthrough_mac/audio_passthrough_mac (the --onedir binary). The script does extensive --collect-all scipy / --hidden-import patching because scipy + sounddevice bundling is fragile on macOS.
  2. electron-builder --mac → produces dist/Tonetta-<version>.dmg. Signing is automatic via the mac block in package.json (hardenedRuntime: true, notarize: true, entitlements at entitlements.mac.plist). The afterSign hook (build-mac/sign-pyinstaller-bins.js) walks the bundled PyInstaller binaries and re-signs them so the hardened runtime is satisfied.

Distribute the .dmg; update latest-mac.json.

Common gotchas

  • Spawned audio_passthrough.exe not found in production — main.js's getPythonAudioScriptPath() looks for the --onedir layout first (audio_passthrough/audio_passthrough.exe) then falls back to --onefile (audio_passthrough.exe at the top level). If the build script ever changes between onedir and onefile, both paths are checked so it doesn't break silently.
  • "Unknown publisher" UAC prompt for Tonetta_Audio_Reset.exe — sign that EXE with the same code-signing cert used for the main app (signtool sign /fd SHA256 /t http://timestamp.digicert.com /a extra-resources\Tonetta_Audio_Reset.exe). See tools/audio-reset/README.md.
  • Stale dist/win-unpacked/ — electron-builder cleans its output by default, but if you've been iterating fast and want a guaranteed-fresh build, delete dist/ first or run npm run prebuild (which calls npm run clean).
  • .env not bundled in production — by design. generate-env-config.js (invoked by prebuild) bakes the env values into env-config.js, which IS bundled. If you change .env, re-run a full build — partial builds may reuse the old env-config.js.

About

Tonetta a real-time voice enhancement for sales calls. Confidence stabilization, WPM pacing, and noise removal routed invisibly into Zoom, Teams, Meet, and more.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages