How do we use this repitch node?
-
I cant figure this out, it seems as if its shifting the frequencies up and down but I cant hear a difference. Am I missing something?

-
@Chazrox I was just messing with this as well and thought the same thing. As you move the RepitchFactor knob, you can audibly hear it repitching, but, once you set the knob, the audio seems to be back to normal. I couldn't figure it out.
-
@trillbilly Yeah I gave up lol. Lmk if you figure something out tho! I'll keep trying other stuff too but its looking like I might actually have to take the deep dive into c++!
-
@Chazrox I asked Claude to describe the Repitch node by looking at the codebase:
Based on the codebase, the Repitch node is a container node in HISE's scriptnode system that resamples the audio signal to process its child nodes at a different sample rate.
What it does:
The Repitch node resamples the audio signal and processes its child nodes with a different sample rate.It works by:
- Downsampling the input audio by a specified factor
- Processing the downsampled audio through its child nodes
- Upsampling the result back to the original sample rate
Use Cases:
This is useful for processing effects that need to run at different sample rates, similar to how oversampling works but in both directions. It can be used to optimize CPU usage by running certain processing chains at lower sample rates.Which pretty much aligns with the docs: https://docs.hise.dev/scriptnode/list/container/repitch.html
-
@dannytaurus Thanks. I just think im not setting it up right. I read the docs but im not sure if it requires being inside of a certain chain or if anything helps because as it is just dropping it in and putting stuff in it doesnt really work as far as I can tell.
-
@Chazrox You probably won't audibly tell if it's doing anything unless you stack a few inside each other with extreme settings.
-
@dannytaurus So what would be the best way to repitch the actual signal in scriptnode? The PitchMod wont work within the effect network, I believe because its mono. Is this correct?
-
@trillbilly Sorry, I have no idea. I haven't done any pitch-shifting stuff in HISE.