visqol

Crates.iovisqol
lib.rsvisqol
version0.3.1
created_at2024-06-16 19:17:07.824564+00
updated_at2025-09-05 18:28:53.853655+00
descriptionThe Visqol v3.1 CLI tool for speech quality evaluation in Rust
homepage
repositoryhttps://github.com/dstrub18/visqol-rs/tree/main/visqol
max_upload_size
id1273749
size46,919
Daniel Struebig (dstrub18)

documentation

README

Visqol 3.1 CLI tool

  • Implementation of the Visqol v3.1 algorithm for speech quality evaluation in Rust
  • Builds a command line executable which produces Visqol scores, with a more ergonomic command line interface compared to the C++ implementation.
  • Also check out the library for using visqol within your Rust project!

Installation

  • Assuming you have the cargo package manager installed, type cargo install visqol to install the binary.

Usage

visqol --help or simply visqol will show you all the flags you can set when invoking the binary. Note that the CLI tool has 2 subcommands:

  1. wideband: for speech signals, sample rate 16 kHz
  2. fullband: for music signals, sample rate 48 kHz

All command line flags pertaining only the individual modes will have to be specified after the subcommand. Flags like --reference_file will have to be specified before the subcommand as they are mandatory regardless of which mode the algorithm runs in.

Example

visqol \ # command
--reference_file visqol-rs/test_data/clean_speech/CA01_01.wav \ # reference file
--degraded_file visqol-rs/test_data/clean_speech/degraded_signal.wav \ # degraded file
wideband \ # mode: wideband|fullband
--use_unscaled_speech_mos_mapping # flag for wideband mode only
`
Commit count: 126

cargo fmt