harvest | R Documentation |
The Harvest algorithm \insertCiteMorise.2017.10.21437/interspeech.2017-68superassp was developed for the WORLD vocoder \insertCiteMORISE.2016.10.1587/transinf.2015edp7457superassp and aims to obtain a reliable F0 contour and reduce erroneously identified voice frames.
harvest(
listOfFiles,
beginTime = 0,
endTime = 0,
windowShift = 5,
minF = 70,
maxF = 200,
explicitExt = "hf0",
outputDirectory = NULL,
toFile = TRUE
)
listOfFiles |
A vector of file paths to wav files. |
beginTime |
The start time of the section of the sound file that should be processed. |
endTime |
The end time of the section of the sound file that should be processed. |
windowShift |
The measurement interval (frame duration), in seconds. |
minF |
Candidate f0 frequencies below this frequency will not be considered. |
maxF |
Candidates above this frequency will be ignored. |
explicitExt |
the file extension that should be used. |
outputDirectory |
set an explicit directory for where the signal file will be written. If not defined, the file will be written to the same directory as the sound file. |
toFile |
write the output to a file? The file will be written in |
The algorithm consists of two steps. In the first step, the algorithm uses fundamental component extraction by many band-pass filters with different center frequencies and obtains the basic f0 candidates from filtered signals. In the second step, basic f0 candidates are refined and scored by using the instantaneous frequency, and then several f0 candidates in each frame are estimated.
An SSFF track object containing two tracks (f0 and corr) that are either returned (toFile == FALSE) or stored on disk.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.