Struct irapt::Output [−][src]
pub struct Output<'a> { /* fields omitted */ }
Expand description
The output of Irapt::process
.
This struct
holds the output, including estimated pitches, of the IRAPT algorithm after processing a single time step, and is created
by the process
method on Irapt
. See its documentation for more.
Implementations
Returns whether further output can be produced given the input samples.
More output can be produced by calling Irapt::process
.
pub fn pitch_estimates(&self) -> EstimatedPitchIter<'_>ⓘNotable traits for EstimatedPitchIter<'_>impl Iterator for EstimatedPitchIter<'_> type Item = EstimatedPitch;
pub fn pitch_estimates(&self) -> EstimatedPitchIter<'_>ⓘNotable traits for EstimatedPitchIter<'_>impl Iterator for EstimatedPitchIter<'_> type Item = EstimatedPitch;
impl Iterator for EstimatedPitchIter<'_> type Item = EstimatedPitch;
Returns all pitch estimates for the given input, including both those tentative and final, in reverse chronological order.
All but the last of the yielded pitches are tentative estimates calculated up to candidate_selection_window_duration
seconds in
the past. The estimates are returned in reverse chronological order. The exact sample offsets for the estimates are returned in
EstimatedPitch::offset
.
The last estimate yielded is final for the given time offset. It can also be retrieved by calling final_estimate
on the returned
iterator.