pitch = getSmoothContour(anchors = list(
time = c(0, 350, 351, 890, 891, 1200),
value = c(140, 230, 460, 330, 220, 200)), len = 40)
soundgen:::detectPitchJumps(pitch, step = 25,
jumpThres = 10, jumpWindow = 100)
Run the code above in your browser using DataLab