Voice features
Project description
VuVoPy
🎙️ VuVoPy — Voice Utility Library for Speech Parametrization A Python library for extracting acoustic features from speech signals, specifically developed for biomedical voice analysis and Parkinson’s disease research.
📦 Installation
Install VuVoPy with pip:
pip install VuVoPy
📚 Documentation The full documentation is hosted on Read the Docs: 👉 https://vuvopy-documentation.readthedocs.io
Includes:
- 📦 Module overviews
- 📊 Feature extraction functions
- 🧠 Usage examples
- 🛠 Developer reference
🔬 Features
- durmad — Duration of voiced segments (mean absolute deviation)
- durmed — Duration of voiced segments (median)
- duv — Percentage of unvoiced frames
- hnr — Harmonics-to-noise ratio
- jitterPPQ — Pitch perturbation quotient (jitter)
- shimmerAPQ — Amplitude perturbation quotient (shimmer)
- mpt — Maximum phonation time
- ppr — Pitch period ratio
- relF0SD — Relative standard deviation of F0
- relF1SD, relF2SD — Relative deviation of formants F1 and F2
- relSEOSD — Relative deviation at sentence ends
- spir — Silence-to-phonation ratio
Getting Started
Import VuVoPy and run a feature extraction function:
python import VuVoPy as vp value = vp.durmad("my_signal.wav")
🧠 Example: Compute Speech Parameters
import VuVoPy as vp
import pandas as pd
file_path = "signal.wav"
durmad = vp.durmad(file_path, winlen=512, winover=256, wintype='hamm')
durmed = vp.durmed(file_path, winlen=512, winover=256, wintype='hamm')
duv = vp.duv(file_path, winlen=512, winover=256, wintype='hamm')
hnr = vp.hnr(file_path)
jitter = vp.jitterPPQ(file_path)
mpt = vp.mpt(file_path, winlen=512, winover=256, wintype='hamm')
ppr = vp.ppr(file_path, winlen=512, winover=256, wintype='hamm')
relf0sd = vp.relF0SD(file_path)
relf1sd = vp.relF1SD(file_path, winlen=512, winover=256, wintype='hamm')
relf2sd = vp.relF2SD(file_path)
relseosd = vp.relSEOSD(file_path, winlen=512, winover=256, wintype='hamm')
shimmer = vp.shimmerAPQ(file_path)
spir = vp.spir(file_path, winlen=512, winover=256, wintype='hamm')
data = {
"durmad": [durmad],
"durmed": [durmed],
"duv": [duv],
"hnr": [hnr],
"jitter": [jitter],
"mpt": [mpt],
"ppr": [ppr],
"relf0sd": [relf0sd],
"relf1sd": [relf1sd],
"relf2sd": [relf2sd],
"relseosd": [relseosd],
"shimmer": [shimmer],
"spir": [spir]
}
df = pd.DataFrame(data)
print(df)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vuvopy-1.0.0.tar.gz
(35.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
vuvopy-1.0.0-py3-none-any.whl
(37.0 kB
view details)
File details
Details for the file vuvopy-1.0.0.tar.gz.
File metadata
- Download URL: vuvopy-1.0.0.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b03caca1da5c38de39a9950fb99920d862d5a0a791e67e7c609741bac41f8a03
|
|
| MD5 |
2889747631079b52b6867d8b1ed6e131
|
|
| BLAKE2b-256 |
7387a9d2106a29571137c600a5263f2f3b4272615036a7820b1768b2e028d5f4
|
File details
Details for the file vuvopy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vuvopy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f67b10b1eac467e35f9206886d9a441eadd96a82977ad5ac57de398dd651d3c
|
|
| MD5 |
3615f217a060a510a7e522e56e5d973e
|
|
| BLAKE2b-256 |
000c6f5baa4ae74f1e836d751c159490e340e96d6d6033aba4659641762dde59
|