Scriptnode pitch-shift a signal
-
@clumsybear yes real time. I guess some custom SNEX will do that. but im looking a not C++ way to do it due I cannot do anything on cpp
-
Not sure if it would be possible with snex right now. Maybe @Christoph-Hart can jump in to clarify.
-
But even if we get a pitch shift module, most of the open source algorithms sound pretty crappy tbh. I’m hoping to see some fft shenanigans we can play with in future HISE builds
-
@hisefilo It's a rather complex scripting task using delay modulation lines with smoothing methods... I'm trying to get there but I still don't understand how to use the
processSample
callback... @Christoph-Hart any clue for accessing sample computation?I found that it would be doable using the stock nodes. I'm working on it, and for the moment I got pitch up and down kind of thing, but very noisy. I still have to smooth the delay lines transitions for clipping noise and find a way to make a usable step scale (because it is, I think, dependent on the samplerate, which mean I need to find a way to "inform" my graph with the actual samplerate)
-
The only viable option for HISE as far as I know is Rubberband, and for small changes it's pretty good, but you need to tweak the settings for the specific material you're running through it.
-
Rubber looks interesting, how would you integrate it into HISE?
-
@clumsybear Christoph would need to incorporate it and he'd need to get a proprietary license from the developer.
We had a discussion about this last year - https://forum.hise.audio/topic/1064/time-stretching-algorithms
-
@ustk thanks mate. I will try that. a chorus example by Christoph involved delay lines generating sort of pitch variation. will try to find it tomorrow
-
@d-healey remember that. every single day I think I should start learning C++ seriously
-
@d-healey no, everybody that uses HISE in a closed source project and uses Rubberband would need to get a license (there would be a compiler switch that disables the library by default)
-
@Christoph-Hart said in Scriptnode pitch-shift a signal:
@d-healey no, everybody that uses HISE in a closed source project and uses Rubberband would need to get a license (there would be a compiler switch that disables the library by default)
What about Mda? AFAIK, Mda has a pitch shifter-time stretcher called "Detune". Source code is in somewhere here: https://sourceforge.net/projects/mda-vst/files/mda-vst/
So isn't there any remedy for that needings?
-
@Steve-Mohican I just checked the source code, doesn't look like it has any time stretching capabilities. Although could be another pitch shifting option if it's any good.
Also he hasn't put appropriate copyright notices in his files. He's included a document which says they are under MIT or GNU GPL but in the actual .CPP there is a copyright notice which says all rights reserved.
-
@d-healey said in Scriptnode pitch-shift a signal:
@Steve-Mohican I just checked the source code, doesn't look like it has any time stretching capabilities. Although could be another pitch shifting option if it's any good.
No it has a pitch-shift engine. You can check the plugin itself rather than the source code: https://www.kvraudio.com/product/detune_by_mda
Also he hasn't put appropriate copyright notices in his files. He's included a document which says they are under MIT or GNU GPL but in the actual .CPP there is a copyright notice which says all rights reserved.
Yeah I know but since Hise uses some modules from Mda, I just thought that it can be usable. So how come other Mda modules can be usable in Hise?
-
@Steve-Mohican I didn't know that, which mda modules does HISE use?
-
the Degrader and Limiter modules (not the Dynamics) are mda plugins, but I am close to removing them as they don't bring much high fidelity to the table and their functionality can be reproduced with scriptnode modules pretty easily.
About their license, back when I embedded them, it was licensed under the public domain license, not sure when and if they switched to GPL (and if this is even possible).
-
@Christoph-Hart The degrader and limiter source files from 2009 have no licensing info in them so it's a grey area, but I would assume the author intends them to be either MIT or GPL (choice is yours).
-
I just installed the mdaDetune to give it a try. According to the tooltip the detune amount is lowered on the left channel and raised on the right channel. The docs also confirm this.
-
@Christoph-Hart said in Scriptnode pitch-shift a signal:
the Degrader and Limiter modules (not the Dynamics) are mda plugins, but I am close to removing them as they don't bring much high fidelity to the table and their functionality can be reproduced with scriptnode modules pretty easily.
If it is ok about license situation, please don't remove them, because I've done lot's of things with them, and will be ready to release, if you remove, all of the work will be trash.
-
Don't worry, I am using them myself too in some older projects, so I won't remove them entirely, but what I might do is to remove them by default and have a preprocessor macro that enables them so that people do not use them in new projects at some point.
-
This doubles the freq of a sign wav.
HiseSnippet 1334.3oc2X07aaTDEeV6LQwNIp7QgyqBGHEEhrSBTjpfXhcbUf3HSbRZiPnnIqGaOj0yrr6Xm5V3DbfabFN.GgSHtxAjxe.DIjxeAbjagK8.WJya20Y206lFGWURKyAqYdy6s927932amspsvf53HrQZY1pmEEoMEtVOtrUwVDFGsVIj1z3VDyF5NRp0qyQqzyh33PqizzReaPEsLigbGmt7JDSB2fFHBg1QvLnqyZyjARqV3CYllkI0oawZGR6kJrlgfWTXJ5nfSZbNjEw3.RS5FDPsTXj13qVmIE10j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