Vocametrix Voice Analysis

v0.1.1
io.github.pmarmaroli/vocametrix-mcp Checked 4 days ago Published 6 months ago

Clinical voice analysis MCP server — AVQI, DSI, jitter/shimmer, pronunciation assessment, and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

vocametrix_calculate_avqi

Calculate the Acoustic Voice Quality Index (AVQI v2.03 or v3.01), a clinically validated dysphonia score. AVQI > 2.43 (French) / 2.97 (English) indicates dysphonia. Requires a sustained vowel recording (e.g. /a/ held for 3+ seconds). Connected speech is optional but improves accuracy.

ParameterTypeDescription
sustainedVowelPath *stringSustained vowel WAV file (e.g. /a/ held 3+ s)
connectedSpeechPathstringConnected speech WAV file (optional, improves AVQI accuracy)
versionstringAVQI algorithm version

vocametrix_calculate_dsi

Calculate the Dysphonia Severity Index (DSI). DSI > 1.6 = normal voice; DSI < –1.6 = severe dysphonia. Requires a sustained vowel WAV file plus voice-range parameters (MPT, F0 range, minimum intensity).

ParameterTypeDescription
maximumF0 *numberHighest fundamental frequency in Hz
minimumIntensity *numberSoftest intensity in dB SPL
mpt *numberMaximum Phonation Time in seconds
patientAge *integerSpeaker age in years (0–120)
patientGender *stringSpeaker gender: 1 = Male, 2 = Female, 3 = Other
sustainedVowelPath *stringSustained vowel WAV file
versionstring

vocametrix_calculate_cpp

Calculate Cepstral Peak Prominence (CPP) from a sustained vowel. Higher CPP = better voice quality. Typical normal CPP: 20–28 dB. Clinically sensitive to breathiness and hoarseness.

ParameterTypeDescription
sustainedVowelPath *stringAbsolute path to a WAV audio file on the local filesystem

vocametrix_calculate_hnr

Calculate multi-band Harmonics-to-Noise Ratio (HNR) across frequency bands (80–8000 Hz) with age- and gender-specific norms. Higher HNR = cleaner voice. Normal HNR (500 Hz band): > 20 dB. Requires a sustained vowel.

ParameterTypeDescription
patientAge *integerSpeaker age in years (0–120)
patientGender *stringSpeaker gender: 1 = Male, 2 = Female, 3 = Other
sustainedVowelPath *stringAbsolute path to a WAV audio file on the local filesystem

vocametrix_calculate_jitter_shimmer

Calculate jitter (period perturbation, PPQ5) and shimmer (amplitude perturbation) from a sustained vowel. Normal jitter < 1.04%; normal shimmer < 3.81 dB. Elevated values indicate irregular vibration — associated with dysphonia.

ParameterTypeDescription
sustainedVowelPath *stringAbsolute path to a WAV audio file on the local filesystem

vocametrix_calculate_voice_range_profile

Calculate the Voice Range Profile (VRP / ambitus / glissando) from a glissando recording. Returns frequency range (lowest to highest pitch) and intensity range with age/gender interpretation. Useful for singers and voice rehabilitation assessment.

ParameterTypeDescription
glissandoPath *stringGlissando (pitch sweep) WAV recording
patientAgeintegerSpeaker age in years (0–120)
patientGenderstringSpeaker gender: 1 = Male, 2 = Female, 3 = Other

vocametrix_calculate_prosody_similarity

Compare prosodic patterns between a model (reference) recording and a learner recording. Returns similarity scores for pitch contour, intensity, duration, and pause patterns. Useful for accent coaching, speech imitation training, and L2 pronunciation.

ParameterTypeDescription
learnerPath *stringLearner (student) WAV recording to compare
modelPath *stringModel (reference/teacher) WAV recording

vocametrix_calculate_spectral

Extract advanced spectral measures from a sustained vowel: center of gravity, skewness/kurtosis, H1-H2 (breathiness indicator), H1-A1, H1-A3, LTAS slope and tilt, alpha ratio. Returns age/gender-normalized norms and voice pattern classification.

ParameterTypeDescription
patientAge *integerSpeaker age in years (0–120)
patientGender *stringSpeaker gender: 1 = Male, 2 = Female, 3 = Other
sustainedVowelPath *stringAbsolute path to a WAV audio file on the local filesystem
versionstring

vocametrix_calculate_formants

Compute F1–F4 formant statistics (mean, SD, range, CV, IQR) from a sustained vowel with vowel-space stability and articulatory precision scores. Useful for dysarthria assessment, vowel space analysis, and cleft palate evaluation.

ParameterTypeDescription
patientAge *integerSpeaker age in years (0–120)
patientGender *stringSpeaker gender: 1 = Male, 2 = Female, 3 = Other
sustainedVowelPath *stringAbsolute path to a WAV audio file on the local filesystem

vocametrix_calculate_sz_ratio

Calculate the S/Z phonation ratio (duration of sustained /s/ vs /z/). Normal ratio ≈ 1.0. Ratio > 1.4 suggests vocal fold pathology (the /z/ is shorter). Requires two separate recordings: one of sustained /s/ and one of sustained /z/.

ParameterTypeDescription
patientAge *integerSpeaker age in years (0–120)
sFilePath *stringRecording of sustained /s/ phonation (voiceless)
zFilePath *stringRecording of sustained /z/ phonation (voiced)
clinicalContextstringClinical context for threshold interpretation
patientGenderstring

vocametrix_calculate_gne

Calculate the Glottal-to-Noise Excitation (GNE) ratio from a sustained vowel. GNE ranges 0–1; values < 0.5 suggest increased noise (breathiness/hoarseness). Computed via native Praat algorithm for clinical reliability.

ParameterTypeDescription
sustainedVowelPath *stringAbsolute path to a WAV audio file on the local filesystem

vocametrix_calculate_h1_h2

Calculate the formant-corrected H1*–H2* voice source measure from a sustained vowel. H1*–H2* is sensitive to breathiness: positive values indicate breathy voice, negative values indicate pressed/tense voice. Normal range: −2 to +2 dB.

ParameterTypeDescription
sustainedVowelPath *stringAbsolute path to a WAV audio file on the local filesystem
patientGenderstring

vocametrix_calculate_abi

Calculate the Acoustic Breathiness Index (ABI) combining connected speech and sustained vowel. ABI aggregates CPPS, jitter, GNE approximation, HNR (6 kHz), H1-H2, shimmer, and period SD. Sensitive to the full spectrum from breathy to pressed phonation.

ParameterTypeDescription
connectedSpeechPath *stringConnected speech WAV file
sustainedVowelPath *stringSustained vowel /a/ WAV file

vocametrix_calculate_voice_dynamics

Compute intensity dynamics, pitch-intensity correlation, and composite scores for voice control, projection, stability, effort, and monotonicity. Useful for voice training, public speaking coaching, and vocal fatigue assessment.

ParameterTypeDescription
patientAge *integerSpeaker age in years (0–120)
sustainedVowelPath *stringAbsolute path to a WAV audio file on the local filesystem
patientGenderstring

vocametrix_assess_pronunciation

Score pronunciation accuracy at phoneme level against a reference text. Returns accuracy, fluency, completeness, and prosody scores (0–100) plus per-word and per-phoneme breakdowns. Supports 30+ locales (en-US, fr-FR, de-DE, zh-CN, ar-SA, etc.). Audio should be a clear reading of the reference text.

ParameterTypeDescription
audioPath *stringWAV recording of the speaker reading the reference text
referenceText *stringThe text the speaker was reading aloud
speakerLocalestringBCP-47 locale code, e.g. "en-US", "fr-FR", "es-ES"

vocametrix_assess_pronunciation_with_pitch

Pronunciation assessment enriched with per-word F0 (pitch) contours. In addition to accuracy/fluency/prosody scores, returns fundamental frequency (pitch) statistics for each word — useful for tonal language analysis and prosody coaching.

ParameterTypeDescription
audioPath *stringAbsolute path to a WAV audio file on the local filesystem
referenceText *stringThe text the speaker was reading aloud
speakerLocalestringBCP-47 locale code, e.g. "en-US", "fr-FR", "es-ES"

vocametrix_transcribe_audio

Transcribe an audio file using Azure Speech-to-Text with streaming progress. Returns a transcriptionId and streams progress events via SSE until completion. Returns the final transcript and word-level timing. For long recordings, poll the progress events — transcription may take 30–120 seconds.

ParameterTypeDescription
audioPath *stringAbsolute path to a WAV audio file on the local filesystem
speakerLocalestringBCP-47 locale code, e.g. "en-US", "fr-FR", "es-ES"

vocametrix_synthesize_speech

Synthesize speech from text using Azure neural text-to-speech. Returns an audio URL and word-level timing data. Supports all Azure Neural voice names for the requested locale.

ParameterTypeDescription
text *stringText to synthesize (max 1000 characters)
speakerLocalestringBCP-47 locale code, e.g. "en-US", "fr-FR", "es-ES"
voiceNamestringAzure Neural voice name, e.g. "en-US-JennyNeural"

vocametrix_synthesize_speech_with_timing

Synthesize speech via ElevenLabs v2 with per-character timing alignment. Returns audio data and a character-level timing map — useful for lip-sync, subtitles, and karaoke. Supports plain text or SSML markup.

ParameterTypeDescription
text *stringText or SSML to synthesize (max 2500 characters)
isSSMLbooleanSet true if input is SSML markup

vocametrix_measure_sound_level

Measure sound level in dB SPL over a specified time window in an audio file. Useful for environmental noise assessment, vocal loudness measurement, and calibration tasks. Note: startSec must be > 0 (use 0.001 for the start of the file).

ParameterTypeDescription
audioPath *stringAbsolute path to a WAV audio file on the local filesystem
endSecnumberEnd time in seconds (defaults to end of file)
startSecnumberStart time in seconds (minimum 0.001)

vocametrix_extract_egemaps

Extract the full openSMILE eGeMAPSv02 feature set (88 acoustic features) from an audio file. Features include F0, jitter, shimmer, HNR, MFCCs, formants, spectral flux, and loudness. Commonly used as input to machine-learning voice pathology classifiers.

ParameterTypeDescription
audioPath *stringAbsolute path to a WAV audio file on the local filesystem

vocametrix_detect_phonemes

Detect phonemes in an audio recording using a deep-learning classifier. Returns phoneme labels with confidence scores. Currently supports French (fr) and Estonian (et) phoneme inventories.

ParameterTypeDescription
audioPath *stringAbsolute path to a WAV audio file on the local filesystem
languagestringPhoneme inventory language: fr = French, et = Estonian

vocametrix_classify_stuttering

Classify stuttering disfluency patterns in a speech recording (async, ~30–120 seconds). Returns disfluency types (repetitions, prolongations, blocks), severity score, and fluency rate. The tool polls the result automatically — no separate status call needed.

ParameterTypeDescription
audioPath *stringAbsolute path to a WAV audio file on the local filesystem
pollIntervalMsintegerPolling interval in ms while waiting for result (default 5000)
timeoutMsintegerMaximum wait time in ms before giving up (default 620000 = ~10 min)

vocametrix_interpret_voice_metrics

Translate raw voice metrics (jitter, shimmer, HNR, CPPS, F0, etc.) into clinical-language interpretation with severity classification (normal / mild / moderate / severe) and actionable recommendations. Useful when you have metric values from other tools and want a clinician-readable summary.

ParameterTypeDescription
metrics *objectVoice metrics object (e.g. { jitter: 1.2, shimmer: 3.5, hnr: 18.0 })
patientAge *integer
languageCodestringLanguage for the report (en, fr, etc.)
patientGenderstring

vocametrix_generate_exercises

Generate personalized speech therapy exercises tailored to patient profile, pathology, and language. Returns structured exercises with instructions, target phonemes, difficulty level, and therapist tips.

ParameterTypeDescription
ageLevel *stringPatient age group (e.g. 'adult', 'child-6-10', 'elderly')
message *stringDescribe what exercises you need (e.g. 'breathing exercises for aphonia patient, age 45')
speechChallenge *stringTarget speech challenge (e.g. 'stuttering', 'aphonia', 'dysarthria', 'articulation')
languagestringExercise language (e.g. 'en', 'fr', 'es')

vocametrix_generate_word_list

Generate a word list targeting a specific phoneme with pronunciation hints and difficulty progression. Useful for articulation therapy, phonological awareness drills, and accent training.

ParameterTypeDescription
language *stringLanguage for word list (e.g. 'en', 'fr', 'es', 'et')
patientAge *integer
targetSound *object

vocametrix_chat_speech_therapist

Expert speech therapy assistant providing role-based guidance. Adapts its answers depending on whether the user is a therapist (clinical detail), a patient (accessible explanation), or a parent/caregiver (practical home tips). Maintains conversation context via threadId for multi-turn dialogue.

ParameterTypeDescription
accountType *stringYour role: slt = speech-language therapist, patient, parent (caregiver)
message *stringYour question or message
threadId *stringConversation thread ID. Use a UUID; reuse the same ID to continue a conversation

vocametrix_convert_french_to_ipa

Convert French words or phrases to International Phonetic Alphabet (IPA) transcription. Accepts a single string or an array of up to 20 words. Returns IPA transcription per word with optional syllable boundary marks.

ParameterTypeDescription
input *
includeSyllableMarksboolean

vocametrix_interpret_spelling_attempt

Interpret a speech-to-text transcription of a spelling attempt and give intelligent feedback. Returns whether the spelling matches, an explanation of differences, and correction guidance. Useful for spelling therapy apps where children spell words aloud.

ParameterTypeDescription
targetWord *stringThe correct target word
transcription *stringWhat the STT system heard (the spoken spelling)
languagestringLanguage code (e.g. en-US, fr-FR)

vocametrix_check_syntax

Analyze text for grammar and syntax errors with severity classification (error/warning/info). Returns overall score, per-issue breakdown, corrected text, and readability statistics. Useful for evaluating written language samples in speech-language assessments.

ParameterTypeDescription
locale *stringLanguage code (e.g. en-US, fr-FR)
text *stringText to analyze (max 5000 characters)

vocametrix_vocabulary_tutor

Conversational vocabulary tutor adapting to learner profile (native language, target language, age, topic). Uses spaced repetition principles. Maintain conversation context via threadId.

ParameterTypeDescription
ageGroup *stringLearner age group (e.g. 'child', 'teenager', 'adult')
message *stringLearner message or answer
nativeLanguage *stringLearner's native language (e.g. 'French', 'Arabic')
targetLanguage *stringLanguage being learned (e.g. 'English', 'Spanish')
topic *stringVocabulary topic (e.g. 'animals', 'food', 'body parts')
threadIdstringConversation thread ID for multi-turn sessions

vocametrix_adapt_exercise

Adapt a speech therapy exercise to a specific learner profile (ADHD, dyslexia, dysgraphia, dyspraxia, Tourette, autism). Returns an HTML-formatted adapted version of the exercise with profile-specific tips.

ParameterTypeDescription
exerciseText *stringThe base exercise to adapt
learnerProfile *stringLearning profile to adapt for
includeTipsbooleanInclude therapist tips in output

vocametrix_generate_therapy_plan

Launch an asynchronous LangGraph-powered therapy plan generation from session audio embeddings. Returns a therapy_session_id. Use vocametrix_get_therapy_status to poll progress, then vocametrix_get_therapy_result to retrieve the plan once complete (~30–120 seconds). Requires wav2vec embeddings — run eGeMAPS or embedding extraction first.

ParameterTypeDescription
sessionMetadata *objectSession metadata object (must include patient_id)
wav2vecOutput *objectwav2vec embeddings output (must include summary_statistics)
patientAnamnesisstringDemographics, clinical history, and therapy background

vocametrix_get_therapy_status

Poll the status of an async therapy plan generation or stuttering classification session. Statuses: pending → processing → pending_approval → complete (or failed). result_available = true means you can call vocametrix_get_therapy_result.

ParameterTypeDescription
sessionId *stringSession ID returned by vocametrix_generate_therapy_plan or vocametrix_classify_stuttering

vocametrix_get_therapy_result

Retrieve the completed therapy plan result. Only call when vocametrix_get_therapy_status returns result_available = true or status = 'complete'. Returns the full therapy session with exercise plans, clinical narrative, and HTML report path.

ParameterTypeDescription
sessionId *stringSession ID from vocametrix_generate_therapy_plan

vocametrix_approve_therapy_plan

Human-in-the-loop approval gate for generated therapy plans. Actions: 'approve' (locks and delivers plan), 'reject' (discards), 'modify' (requires feedback, re-generates). This action is irreversible — once approved, the plan is sent for delivery.

ParameterTypeDescription
action *stringApproval decision
sessionId *stringSession ID from vocametrix_generate_therapy_plan
feedbackstringRequired when action = 'modify': describe the changes needed

vocametrix_full_voice_assessment

Run a comprehensive clinical voice assessment in a single call. Executes AVQI, CPP, multi-band HNR, jitter/shimmer, and spectral analysis in parallel, then returns a unified JSON report with all metrics and clinical severity interpretation. Requires both a sustained vowel recording (e.g. /a/ held 3+ s) and a connected speech recording. This is the tool an SLP would use for a full voice quality screening.

ParameterTypeDescription
connectedSpeechPath *stringAbsolute path to connected speech WAV (patient reading a passage)
patientAge *integerSpeaker age in years (0–120)
patientGender *stringSpeaker gender: 1 = Male, 2 = Female, 3 = Other
sustainedVowelPath *stringAbsolute path to sustained vowel WAV (e.g. /a/ held 3+ seconds)

vocametrix_batch_pronunciation

Assess pronunciation for all WAV files in a folder against a common reference text. Returns a table (Markdown + JSON) with accuracy, fluency, completeness, and prosody scores per file. Files are processed sequentially to stay within rate limits. Useful for classroom assessments, research cohorts, and batch L2 evaluation.

ParameterTypeDescription
folderPath *stringAbsolute path to a folder containing WAV files
referenceText *stringThe text all speakers were reading aloud
localestringBCP-47 locale code

vocametrix_full_therapy_workflow

End-to-end therapy plan generation with automatic polling and human-in-the-loop approval. Generates a therapy plan from session data, polls until complete, and presents it for approval. Returns the approved plan or the pending plan awaiting your approval action. After reviewing, call vocametrix_approve_therapy_plan with 'approve', 'modify', or 'reject'.

ParameterTypeDescription
sessionMetadata *objectSession metadata (must include patient_id)
wav2vecOutput *objectwav2vec embeddings (must include summary_statistics)
patientAnamnesisstringPatient demographics and clinical history
pollIntervalMsintegerPolling interval in ms
timeoutMsintegerMax wait time in ms