Skip to main content

Voice Toolbox

The place to solve all your audio signal processing needs.

The current repo is under construction. Goal is to create a repository that contains all voice signal processing functions available from different open source projects and libraries, such as parsel mouth and librosa.

Files

To start: Setup a conda environment and run 'pip3 install -r requirements.txt' before running the available scripts.

Important: if you get an error with parselmouth make sure the installation is 'pip3 install praat-parselmouth'


The script for extracting features is parsel_process.py.

  • To run: "python3 feature_extraction.py [sampling rate] [filepath] [output filepath] --[feature flag]"

feature flags: formants, ZCR, harmonics, rate_of_speech, loudness, pitch_features, spectral_features, energy

Features currently availabe:

  1. Spectral Features:
  • pitch
  • pitch range
  • spectral slope
  • mel-frequency cepstral coefficients (MFCC)
  • mean spectral roll-off
  • median F0 (fundamental frequency)
  1. Rate of Speech and loudness:
  • max intensity
  • mean intensity
  • syllables per second
  • pause rate
  • energy
  1. Harmonics
  • harmonics to noise (HNR)
  • Formants: f1,f2, f3, f4
  • number of zero crossings (ZCR)

Extra Scripts for processed features

For visualization:

  1. visualize_voice.py for all scatter plots along with other plotting features from praat.
  • To run: 'python3 visualize_voice.py'
  1. radar_plot.py for all radar plots
  • To run: 'python3 radar_plot.py'

For PCA analysis of voice data: voice_pca.py is for PCA, RFE and Correlation plot:

    • To run: 'voice_pca.py'

Metadata

Release files for voice-toolbox 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voice-toolbox 1.0.0
File Size Uploaded
voice_toolbox-1.0.0.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for voice-toolbox 1.0.0
File Interpreter ABI Platform
voice_toolbox-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / voice_toolbox-1.0.0.tar.gz

Download URL voice_toolbox-1.0.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4ffabb7357fe6d2b34337cff28024b48b60c8ba0be68c6958ea8a476c2d21f79
BLAKE2b-256 checksum
How to use checksums
43a407965a1e06f197c857ce1a3ffc3cfee8d2371367bc71b4adb8500db965b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / voice_toolbox-1.0.0-py3-none-any.whl

Download URL voice_toolbox-1.0.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78bd431dfc6ff815cde486dbdfee404bd73c94eaa5d5527995d58eb46afdd134
BLAKE2b-256 checksum
How to use checksums
42a69e1cf8cc454d4c40359865057739cd8490ec0dde22260ba6964191079288
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page