generatePath: Generate path

Description Usage Arguments Details

View source: R/utilities_pitch_postprocessing.R

Description

Internal soundgen function.

Usage

1
generatePath(path, pitchCands, ...)

Arguments

path

currently evaluated path

pitchCands

a matrix of multiple pitch candidates per fft frame. Each column is one fft frame, each row is one candidate.

...

nothing really, but otherwise optim() complains

Details

Internal helper function for postprocessing of pitch contours called by pathfinding_slow. Generates proposals for new paths through pitch candidates. It gives up and returns NA after 100 attempts, which stops annealing - so the adaptation of pitch contour doesn't happen


soundgen documentation built on Oct. 4, 2018, 9:04 a.m.