#include <Fundamental.h>

Public Member Functions | |
| FundamentalFromPartials (double precisionHz=DefaultPrecisionOver100 *0.01) | |
| ~FundamentalFromPartials (void) | |
| Destructor. | |
| FundamentalFromPartials (const FundamentalFromPartials &) | |
| FundamentalFromPartials & | operator= (const FundamentalFromPartials &) |
| Pass the assignment opertion up to the base class. | |
| LinearEnvelope | buildEnvelope (PartialList::const_iterator begin_partials, PartialList::const_iterator end_partials, double tbeg, double tend, double interval, double lowerFreqBound, double upperFreqBound, double confidenceThreshold) |
| LinearEnvelope | buildEnvelope (const PartialList &partials, double tbeg, double tend, double interval, double lowerFreqBound, double upperFreqBound, double confidenceThreshold) |
| value_type | estimateAt (PartialList::const_iterator begin_partials, PartialList::const_iterator end_partials, double time, double lowerFreqBound, double upperFreqBound) |
| value_type | estimateAt (const PartialList &partials, double time, double lowerFreqBound, double upperFreqBound) |
| Loris::FundamentalFromPartials::FundamentalFromPartials | ( | double | precisionHz = DefaultPrecisionOver100 *0.01 |
) |
Construct a new estimator.
The specified precision is used to terminate the iterative estimation procedure. If unspecified, the default value, DefaultPrecisionOver100 * 100 is used.
| precisionHz | is the precision in Hz with which the fundamental estimates will be made. |
| Loris::FundamentalFromPartials::FundamentalFromPartials | ( | const FundamentalFromPartials & | ) |
Construct a copy of an estimator. Nothing much to do since this class has no data members.
| LinearEnvelope Loris::FundamentalFromPartials::buildEnvelope | ( | const PartialList & | partials, | |
| double | tbeg, | |||
| double | tend, | |||
| double | interval, | |||
| double | lowerFreqBound, | |||
| double | upperFreqBound, | |||
| double | confidenceThreshold | |||
| ) | [inline] |
Construct a linear envelope from fundamental frequency estimates taken at the specified interval in seconds starting at tbeg (seconds) and ending before tend (seconds).
| partials | is the sequence of Partials | |
| tbeg | is the beginning of the time interval (in seconds) | |
| tend | is the end of the time interval (in seconds) | |
| interval | is the time between breakpoints in the fundamental frequency envelope (in seconds) | |
| lowerFreqBound | is the lower bound on the fundamental frequency estimate (in Hz) | |
| upperFreqBound | is the lower bound on the fundamental frequency estimate (in Hz) | |
| confidenceThreshold | is the minimum confidence level resuired for a fundamental frequency estimate to be added to the envelope. Lower confidence estimates are not added, the envelope returned will not contain breakpoints at times associated with low confidence estimates |
| LinearEnvelope Loris::FundamentalFromPartials::buildEnvelope | ( | PartialList::const_iterator | begin_partials, | |
| PartialList::const_iterator | end_partials, | |||
| double | tbeg, | |||
| double | tend, | |||
| double | interval, | |||
| double | lowerFreqBound, | |||
| double | upperFreqBound, | |||
| double | confidenceThreshold | |||
| ) |
Construct a linear envelope from fundamental frequency estimates taken at the specified interval in seconds starting at tbeg (seconds) and ending before tend (seconds).
| begin_partials | is the beginning of a sequence of Partials | |
| end_partials | is the end of a sequence of Partials | |
| tbeg | is the beginning of the time interval (in seconds) | |
| tend | is the end of the time interval (in seconds) | |
| interval | is the time between breakpoints in the fundamental frequency envelope (in seconds) | |
| lowerFreqBound | is the lower bound on the fundamental frequency estimate (in Hz) | |
| upperFreqBound | is the lower bound on the fundamental frequency estimate (in Hz) | |
| confidenceThreshold | is the minimum confidence level resuired for a fundamental frequency estimate to be added to the envelope. Lower confidence estimates are not added, the envelope returned will not contain breakpoints at times associated with low confidence estimates |
| value_type Loris::FundamentalFromPartials::estimateAt | ( | const PartialList & | partials, | |
| double | time, | |||
| double | lowerFreqBound, | |||
| double | upperFreqBound | |||
| ) | [inline] |
Return an estimate of the fundamental frequency computed at the specified time. The F0Estimate returned stores the estimate of the fundamental frequency (in Hz) and the relative confidence (from 0 to 1) associated with that estimate.
| partials | is the sequence of Partials | |
| time | is the time in seconds at which to attempt to estimate the fundamental frequency | |
| lowerFreqBound | is the lower bound on the fundamental frequency estimate (in Hz) | |
| upperFreqBound | is the lower bound on the fundamental frequency estimate (in Hz) |
| value_type Loris::FundamentalFromPartials::estimateAt | ( | PartialList::const_iterator | begin_partials, | |
| PartialList::const_iterator | end_partials, | |||
| double | time, | |||
| double | lowerFreqBound, | |||
| double | upperFreqBound | |||
| ) |
Return an estimate of the fundamental frequency computed at the specified time. The F0Estimate returned stores the estimate of the fundamental frequency (in Hz) and the relative confidence (from 0 to 1) associated with that estimate.
| begin_partials | is the beginning of a sequence of Partials | |
| end_partials | is the end of a sequence of Partials | |
| time | is the time in seconds at which to attempt to estimate the fundamental frequency | |
| lowerFreqBound | is the lower bound on the fundamental frequency estimate (in Hz) | |
| upperFreqBound | is the lower bound on the fundamental frequency estimate (in Hz) |
1.5.7