Batch Query Formant Bandwidths at Multiple Times
Source:R/batch-queries.R
get_formant_bandwidths_at_times.RdQuery formant bandwidths at multiple time points in a single function call.
Value
A list with one element per formant number (e.g., `B1`, `B2`, ...), each containing a numeric vector of bandwidths.
Examples
sound <- Sound$create_tone(frequency = 220, duration = 0.5, sampling_rate =
16000)
formant <- sound$to_formant_burg()
times <- seq(0.1, 0.4, length.out = 5)
bandwidths <- get_formant_bandwidths_at_times(formant, times, 1:4)