pvslock — Frequency lock an input fsig
This opcode searches for spectral peaks and then locks the frequencies around those peaks. This is similar to phase-locking in non-streaming PV processing. It can be used to improve timestretching and pitch-shifting quality in PV processing.
fsig -- output pv stream
fsigin -- input pv stream.
klock -- frequency lock, 1 -> lock, 0 -> unlock (bypass).
![]() |
Warning |
---|---|
It is unsafe to use the same f-variable for both input and output of pvs opcodes. Using the same one might lead to undefined behavior on some opcodes. Use a different one on the left and right sides of the opcode. |