Pitch shifting when smoothing a delay
-
When I have the smoothed_parameter and delay nodes outside of the frame2_block, I get lots of glitching in the audio. When it is inside the frame2_block, it is nice and smooth, but it also creates a pitch shift in the delay.
Is there a solution to this that doesn't involve a custom SNEX or c++ delay?
@griffinboy any ideas dude?
-
@Orvillain any interpolating delay line will introduce pitch changes. The other option is to use a temporary buffer and fade between the two differently delayed signals, which is exactly what the
core.fix_delay
node is doing.HISE | ScriptNode | fix_delay
A static delay with a crossfade between different delay times
(docs.hise.audio)
-
@Christoph-Hart Right, gotcha!
That was the one I tried to use initially, but it still glitched. I guess this is because it only has two buffers and can't keep up with the requested delay time shifts fast enough???
I'm okay with the pitch shift. I was just curious if there was another container type that would handle that, but I guess not!
-
@Orvillain ditch the smoothed parameter, you don't need that with the fix_delay node, then it should work (the smoothing is already embedded into the node itself).