Scriptnode "oversample" node starting at 4x crashes in PC
-
@dustbro said in Scriptnode "oversample" node starting at 4x crashes in PC:
@d-healey I believe this will also affect sounds generated within HISE.
Yeah I think like that too. Especially if the sound generator signal goes to filter, distortion or shaper kind of effects.
-
But only if effects are used right? Not when creating a plain ol' sample library.
-
@d-healey You generally want to oversample when you modify the harmonic content, in fact when you add harmonics... so everything involving distortion, (saturation or shape, tape emulation, compression...)
To resume quickly, the more harmonics you add, the better are the chances that they will be higher than the Nyquist freq, so they will be badly folded back to the audible range... Oversampling and better filtering prevent the high harmonics to be folded back. -
@d-healey There is no risk with samples, only effect with higher harmonic content.
-
Well the risk is higher CPU usage which might get important for sample libs with high voice count.
-
@tomekslesicki @Christoph-Hart I'm just encountering this now. When I enable Oversampling, I can see a physical change in the Parametric EQ Gain on my project.
-
@Christoph-Hart said in Scriptnode "oversample" node starting at 4x crashes in PC:
You could add a HQ button somewhere and do
if(value) Engine.setMinimumSampleRate(100000); else Engine.setMinimumSampleRate(40000);
in its callback. 100.000 will ensure that it's always 4x oversampled for lower samplerates and 40000 that it's never oversampled in non-HQ mode (using 48000 would cause oversampling in 44,1kHz).
It will fade out all voices and then reinitiliase the processing chain with the new samplerate .
Awesome :)
I Just Added This To A Script Which Cause Aliasing, And Booom With This All Disapperd
Thank You Christoph <3 -
Be Aware!
In Case You're Using Convolution Reverb, This Will Add +5 dB To Your Output Volume!
Which Can Solve With Some Codes.Other Than That Works Like A Charm :)
@Christoph-Hart said in Scriptnode "oversample" node starting at 4x crashes in PC:
if(value) Engine.setMinimumSampleRate(100000); else Engine.setMinimumSampleRate(40000);
-
This post is deleted! -
This post is deleted! -
This post is deleted!