-
Notifications
You must be signed in to change notification settings - Fork 0
signal.PitchDetectionHarm.Function.findPitchSalienceFunctionArgMax
Christian d'Heureuse edited this page Jun 7, 2026
·
2 revisions
dsp-collection / signal/PitchDetectionHarm / findPitchSalienceFunctionArgMax
function findPitchSalienceFunctionArgMax(
salienceFunction,
f0Min,
f0Max,
scanFactor?): number;Defined in: signal/PitchDetectionHarm.ts:216
Searches the argument for the maximum of a given pitch salience function.
First it scans over the F0 range to find the approximate position of the maximum. Then it uses golden-section search to improve the result.
(f0) => number
A pitch salience function.
number
Lower pitch frequency limit.
number
Upper pitch frequency limit.
Optional constant for the the scan for the maximum.
number = 0.05
number = 1E-3
number = 1.005
number
The estimated pitch frequency.