Calculate Minimum Intensity in Voiced Regions (Tier 4 Ultra)
Source:R/batch-queries.R
calculate_minimum_intensity_ultra.RdComplete intensity pipeline in C++: Sound -> Pitch -> PointProcess -> TextGrid (VUV) -> Intensity -> Minimum in voiced regions, in one call instead of the equivalent Tier 2/3 workflow.
This is a **Tier 4 "Ultra"** function for batch DSI (Dysphonia Severity Index) calculations where minimum intensity is the IM (Intensity Minimum) component.
Usage
calculate_minimum_intensity_ultra(
sound,
min_pitch = 75,
max_pitch = 600,
time_step = 0,
subtract_mean = TRUE
)Value
Minimum intensity in dB (in voiced regions only). Returns `NA` if no voiced regions are detected.
API Tier
This is a **Tier 4 "Ultra"** function. The entire workflow (pitch extraction, PointProcess creation, VUV segmentation, intensity calculation, and minimum finding in voiced regions) happens in C++ with no intermediate R objects.
Algorithm choice
Pitch is always extracted with `Sound_to_Pitch_rawCc()`, `veryAccurate = FALSE`, `silenceThreshold = 0.03`, `voicingThreshold = 0.8` — matching DSI201.praat's IM component, which uses a stricter voicing threshold than the jitter block. None of these are exposed as parameters (including `voicing_threshold`, unlike `calculate_f0_stats_ultra()`). See the Tier 4 Ultra algorithm table in `inst/agents/AGENT_GUIDE.md`.