Hello @fastfinge and others, I added two new tools to /tools in the SpeechPlayer Repository. Let me know if these can help you:
formant_trajectory.py — The Visualizer
This is an accurate Python port of frame.cpp's FrameManager.
python formant_trajectory.py --packs /path/to/packs --text "hello world" --voice en-gb --out trajectory.png --wav audio.wav
python formant_trajectory.py --packs /path/to/packs --ipa "həˈləʊ" --out trajectory.png --show
# Vowel space plot
python formant_trajectory.py --packs /path/to/packs --text "beat bit bet bat bot" --vowel-space vowels.png
frame_inspector.py — The Debugger
For when you need to understand why a transition sounds wrong:
# Dump a single phoneme's frame parameters
python frame_inspector.py --packs /path/to/packs dump a
# Compare two phonemes side-by-side
python frame_inspector.py --packs /path/to/packs compare a i --fade 10
# Trace the exact interpolation sample-by-sample
python frame_inspector.py --packs /path/to/packs trace a i --duration 100 --fade 10 --out trace.png
# Find the most "violent" transitions in your phoneme set
python frame_inspector.py --packs /path/to/packs grid --phonemes a e i o u p t k s --metric f2_rate
# Estimate consonant locus (for coarticulation tuning)
python frame_inspector.py --packs /path/to/packs locus p --vowels a e i o u
🇨🇦Samuel Proulx🇨🇦 likes this.

miki
in reply to Alex Hall • • •Alex Hall
in reply to miki • • •