Skip to main content

Speech recording application for creating high-quality speech datasets

Project description

Revoxx - Record Voices

This repository provides Revoxx, a graphical recording application for recording raw speech and generating datasets.

PyPI version Python Python Python Python Python CI Status Ask DeepWiki

Overview

Revoxx has been created by Grammatek ehf and is part of the Icelandic Language Technology Programme.

  • Category: TTS
  • Domain: Laptop/Workstation
  • Languages: Python
  • Language Version/Dialect:
    • Python: 3.9 - 3.13
  • Audience: Developers, Researchers
  • Origins: Icelandic EmoSpeech scripts

Status

Production

System Requirements

  • Operating System: Linux/OS-X, should work on Windows
  • Python: 3.9 - 3.13 with Tkinter support
  • Recording: Audio Interface, good voice microphone and headphones
  • Linux: Requires PortAudio library (sudo apt-get install portaudio19-dev on Ubuntu/Debian)
  • GUI: Tkinter (usually included with Python, see installation notes below)

Description

Revoxx is a graphical speech recorder specialized in recording TTS datasets quickly and reliably.
You can use this project to create emotional / non-emotional voice recordings on a Workstation / Laptop with suitable audio equipment. It has integrated support to easily transform raw recordings into datasets for training TTS voice models.
This tool is especially useful for recording many short utterances - up to an utterance duration of approx. 30-45 secs each. For longer texts, you need to split your input texts in appropriately sized chunks that would fit on the speaker screen.
Revoxx has been inspired by Icelandic EmoSpeech scripts, but has been vastly improved and is rewritten from scratch.

Screenshot:

screenshot1

We have condensed our experience from when we recorded Talrómur 3, the Icelandic emotional speech dataset, and created this tool to minimize hassle, valuable recording & post-processing time.

  • Revoxx makes recording of speech fast, reliable and convenient for the recording engineer and the voice talent
    • Integrates all necessary tools to check if recordings & equipment meet your expected requirements
    • Automatically analyzes and validates audio equipment compatibility, including Sample Rate, Bit Depth, and I/O channel configurations
    • Supports unlimited re-recording while maintaining a complete archive of raw recordings, even for deleted content
    • Text size is automatically adjusted according to available screen real-estate
    • Intuitive keyboard shortcuts for accessing core functionalities
  • Recordings are organized into Recording Sessions
    • Record emotional sessions for each speaker or record more traditional LJSpeech-style sessions
    • Seamless transitions between different recording sessions with automatic progress tracking: continue where you left-off
    • Offers advanced search and navigation capabilities for utterances, with flexible sorting and ordering by label, emotion, text content, text length and recorded takes
    • Consistent audio settings & metadata for all recordings
  • Real-time monitoring including toggable recording levels, mel spectrograms, maximum frequency detection, and more
    • Customizable industry-standard presets for Peak/RMS levels
    • Dedicated Monitoring mode for precise input calibration
  • Audio Editing directly in the spectrogram view
    • Set position markers to play from any point in the recording
    • Create selection ranges for partial playback
    • Delete ranges with automatic crossfade
    • Insert new audio at marker position
    • Replace selected ranges with new recordings
  • Multi-Screen Support
    • You can use multiple monitors to separate recording view from speaker view
    • We support Apple's Sidecar feature for a convenient dual screen setup with an external iPad
    • Each screen appearance can be individually configured
    • All screen layouts, placement & configuration are preserved at exit
  • Export Dataset
    • Facilitates batch export of multiple sessions into T3 (Talrómur3) dataset format
    • Groups different recording sessions of the same speaker into a common dataset
    • Add voice timestamps, if VAD is enabled

Installation

Prerequisites

Tkinter

Revoxx requires Tkinter for its graphical user interface. Tkinter is usually included with Python, but may need separate installation on some systems:

macOS: Tkinter should be included with Python.org installers and Homebrew Python, but integration issues can occur. If you encounter problems:

  • For Homebrew Python: Try brew install python-tk
  • For Python.org installers: Reinstall Python with the official installer
  • Consider using a virtual environment with a fresh Python installation

Linux:

# Ubuntu/Debian
sudo apt-get install python3-tk

# Fedora
sudo dnf install python3-tkinter

# Arch Linux
sudo pacman -S tk

Windows: Tkinter is included with the standard Python installer.

Verify Tkinter installation:

python3 -c "import tkinter; print('Tkinter is installed')"
Basic Installation

Using uv

uv is a fast Python package installer and resolver:

uv pip install revoxx         # From PyPI
uv pip install .              # From source
uv pip install revoxx[vad]    # With VAD support

Using pip

pip install revoxx           # From PyPI
pip install .                # From source
pip install revoxx[vad]      # With VAD support

From source

git clone https://github.com/icelandic-lt/revoxx.git
cd revoxx
# Then use either uv or pip as shown above

With Voice Activity Detection (VAD)

The VAD functionality requires PyTorch. You need only to install the PyTorch CPU-only version and save a lot of disk space in comparison to the CUDA-enabled version:

# Option 1: CPU-only PyTorch (recommended)
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install revoxx[vad]

# Option 2: Default PyTorch (often includes CUDA support > 2GB disk-space required)
pip install revoxx[vad]

Note: The VAD uses ONNX models and only requires CPU. The CPU-only version is much smaller and sufficient for all VAD operations.

Development Setup

For development

Using uv (recommended)

git clone https://github.com/icelandic-lt/revoxx.git
cd revoxx

# Create and activate virtual environment
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install in editable mode with dev dependencies
uv pip install -e .[dev]
# With VAD support:
uv pip install -e .[dev,vad]

Using pip (traditional)

git clone https://github.com/icelandic-lt/revoxx.git
cd revoxx

# Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install in editable mode with dev dependencies
pip install -e .[dev]
# With VAD support:
pip install -e .[dev,vad]

Development dependencies include:

  • black: Code formatter (pinned to 25.x for Python 3.9 compatibility)
  • isort: Import statement organizer
  • flake8: Code linter
  • pytest: Testing framework
  • pytest-cov: Code coverage reporting

Note: Black is pinned to version 25.x because Black 26+ requires Python 3.10+ and introduces the "2026 stable style" with different formatting rules. This ensures consistent formatting across all supported Python versions (3.9-3.13).

Running code quality checks

# Format code
black revoxx/ scripts_module/ tests/

# Check code style
flake8 revoxx/ scripts_module/ tests/

# Run tests
pytest tests/

# Run tests with coverage
pytest tests/ --cov=revoxx --cov-report=html

Running Revoxx

After installation

Once installed, you can run Revoxx using:

revoxx

macOS Note: The first launch may take longer than usual as macOS verifies the application (Gatekeeper security check). Subsequent launches will be faster.

During development (without installation)

Run as a Python module:

python -m revoxx

In PyCharm or other IDEs

Configure your run configuration with:

  • Module name: revoxx (not script path)
  • Working directory: Project root directory

Command-line tools

The package includes additional utilities:

revoxx-export    # Export sessions to dataset format
revoxx-vadiate   # Voice Activity Detection tool (requires [vad] option)

Note: The revoxx-vadiate tool requires the VAD dependencies. Install with pip install revoxx[vad] or pip install .[vad] to use this tool.

Command-line arguments

revoxx --help                    # Show all available options
revoxx --show-devices            # List available audio devices
revoxx --session path/to/session # Open specific session

Usage

For a guide on using Revoxx, please see the User Guide.

Prepare recordings

Before you start recording, you need to prepare an utterance script with the utterances you want to record. This can be simplified by using the "Import Text to Script" Dialog:

Raw text import dialog

This dialog takes an input script of raw text and converts it into an utterance script. You can redo this for the same input text as many times you want, e.g. if you want to use separate emotional levels for different speakers.

Utterance script format

A script file follows Festival-style format. The script should be a simple text file with one utterance per line. The utterances can be in any language you want.

For a script with emotion levels:

( <unique id> "<emotion-level>: <utterance>" )

For a script without emotion levels. This format was used for recording our non-emotional "addendas":

( <unique id> "<utterance>" )

You can see for both formats an example in the directory t3_scripts.

The emotion levels can be from any monotonic numerical value range you want. If you want to follow Talrómur 3 conventions, you can use emotion intensity levels 1-5 and 6 emotions: neutral, happy, sad, angry, surprised, and helpful. The emotion intensity levels are used to control the emotion intensity of the speech in combination with the specific emotion. Neutral speech is treated as intensity level 0 at dataset export.

Known Issues

macOS: System Python 3.9 Icon Loading Issue

On macOS with the system-provided Python 3.9 (3.9.6), the application icon may fail to load with the error:

  • "couldn't recognize data in image file"
  • "Error: too many values to unpack (expected 2)"

Affected versions:

  • macOS system Python 3.9.6 (default installation)

Solution:

  • Use Python 3.9.23 or newer (available via Homebrew, uv or python.org)
  • Alternatively, use Python 3.10 or newer

This issue is related to Tkinter's PNG handling in the macOS system Python 3.9.6 and does not affect newer Python versions.

Linux: USB Audio Output Devices

On Linux systems, USB audio output devices (e.g., Focusrite Scarlett, Clarett+) may temporarily disappear from the device list during playback. This is a known issue with the interaction between PortAudio and ALSA/PulseAudio.

Symptoms:

  • Output device works for the first playback but fails on subsequent attempts
  • Error message: "Output device 'DeviceName' disappeared from system"
  • Device reappears after restarting the application
  • Input devices (recording) are typically not affected

Workarounds:

  • The application will automatically fall back to the system default audio output device
  • If the issue persists, restart the application
  • Consider updating to the latest version of sounddevice (>=0.5.1)
  • Check that no other application is claiming exclusive access to the device

Acknowledgements

This project is part of the program Language Technology for Icelandic. The program was funded by the Icelandic Ministry of Culture and Business Affairs.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

revoxx-1.1.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

revoxx-1.1.1-py3-none-any.whl (418.8 kB view details)

Uploaded Python 3

File details

Details for the file revoxx-1.1.1.tar.gz.

File metadata

  • Download URL: revoxx-1.1.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for revoxx-1.1.1.tar.gz
Algorithm Hash digest
SHA256 f3df9d5a2b8e635516a5fb28453330d4b4e18d8a869d3f721b478b34d9df4ef4
MD5 c8145a7fe4bdf4330e59618103022f34
BLAKE2b-256 fce3d5c16b04b8a8ec671419d031cb99717413279eb2ac87011fe0d5ce043af4

See more details on using hashes here.

Provenance

The following attestation bundles were made for revoxx-1.1.1.tar.gz:

Publisher: publish.yml on icelandic-lt/revoxx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file revoxx-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: revoxx-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 418.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for revoxx-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd23578e3e516d65dab17efc26aeda48bcb55440c5cb290fa0efdc9cefae6cb1
MD5 84f43d58d44942199431349f2dc476ee
BLAKE2b-256 8e64cde4d94a1faf39deed7f7ebfd105d11b4e4429efcc89817a34b3b1029bd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for revoxx-1.1.1-py3-none-any.whl:

Publisher: publish.yml on icelandic-lt/revoxx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page