Changing pitch...
-
Does anybody know if FX pitch shifting is possible with the new
scriptnode-codegen-rewrite
(aka develop) at all? -
@LeeC It might be possible with the FFT stuff but I don't think it's ready yet. I think the Granulator also has realtime pitch shifting, apparently you can copy the code of it into a SNEX node to see how it works, i just can't find the code for it :P
-
Okay found the granulator code... HISE/hi_modules/nodes/HiseNodeFactory.cpp
now to implement :)
-
Interesting stuff @iamlamprey. Just noticed the pitch shift control in the Granular node that you mentioned actually.
Would be great if it could be used independently to shift audio up and down -
@LeeC There's things like:
ExternalData ed; StereoSample nextSample;
and then
nextSample.getPitchFactor();
No idea how to make use of them, or if you can even do it realtime yet
-
No this all works on audio samples for synthesis - for real time pitch shifting you will have to implement a varying delay line.
-
damn
-
@iamlamprey said in Changing pitch...:
Okay found the granulator code... HISE/hi_modules/nodes/HiseNodeFactory.cpp
now to implement :)
I saw your post yesterday. I couldn’t find it in the source code then! Great find! -
@UrsBollhalder I'm actually really dumb and forgot I could just search for it in Visual Studio
-
@Christoph-Hart do we need SNEX to make a varying delay line? or can we do it with fix_delay and some node wizardry?
-
Sounds like dBlue glitch lol
-
Yeah, you will need a varying delay line - the fix_delay will not work because it fades between different fade times to avoid the Doppler effect, but you want precisely that effect for the pitch change.
Also you will need to use two parallel signal chains and fade between them in an intelligent manner in order to avoid the artifacts when going from the end of the variable delay line to the start. I've seen a matlab graph somewhere.
But this is actually a good idea for a tutorial project since it covers many things that you need for DSP development, so I might add it to the list of examples in the docs sometime.
-
@Christoph-Hart That would be great! Is the FFT stuff for SNEX added yet? I think FFT and Pitch Shifting are among the most requested things that I've seen on the forum
-
@iamlamprey Mate, What is The Instructor For The Above Example??
The Screen is Cutted, -
@Natan You can click the video title to open it in a tab to fullscreen. I don't have SNEX workbench atm cause I formatted
Note: this is not even close to a pitch shifter, as shown in the video. It is kind of a fun glitchy thing to play around with but
-
@iamlamprey ah Thank You
It is Made On Snex? right?But How i can Build Snex?
Where to Download? -
@Natan develop branch, then in HISE->Tools->SNEX workbench
-
@iamlamprey
Thanks Man
Will Check In A sec
-
@Christoph-Hart said in Changing pitch...:
Also you will need to use two parallel signal chains and fade between them in an intelligent manner in order to avoid the artifacts when going from the end of the variable delay line to the start. I've seen a matlab graph somewhere.
I've done this about a year ago but I never succeeded in Hise, always having artifacts despite the crossfades. I'm 99% sure my math was correct. But even when the crossfades reached -100 I still had artifacts from the delay nodes when responding to the ramp's edge, and no crossfade could cut them... I might try later in the new scriptnode ;)
-
I'm working on a pitch shift example at the moment, I'll upload it to the tutorial repo soon.