Synth.addPitchFade() - Can this be used in a scriptnode synth?
-
I've been exploring the hise event system.
I think this is a clever function.I'm wondering if scriptnode synths can receive it? Is it propagated to them? I've got a c++ node that I would like to read the data from this.
I've noticed that sticking a vanilla hise oscillator into a scripnode synth does not react to it, but the default (non scriptnode) modules do, such as the sine generator.
Synth.addPitchFade()
-
edit* I created a workaround for this for now, so it's not urgent.
But I'll leave this up for curiosity sake -
@griffinboy said in Synth.addPitchFade() - Can this be used in a scriptnode synth?:
edit* I created a workaround for this for now, so it's not urgent.
But I'll leave this up for curiosity sakeI'm interested of how you accomplished to make it work, do you have some tip?
-
I used c++.
I created a script that would accept a 'target' pitch offset value and glide towards the target always.
Then I use event data writing in Hise, and a reader node attached to the c++ pitch target param.
So now I have polyphonic control over voice pitches.It's a similar method to the hise snippet that @aaronventure made for controlling pitches with event data continuously
-
@griffinboy Thank you!