HasTail
-
What does HasTail at the bottom of the node do?
-
@JulesV prevents a polyphonic voice from being killed so you can revive it back up using dsp even if it goes down to - 100 at some point.
Create a polyphonic fx with hasTail and play a few notes, then check the performance meter in the top left and keep an eye on the voice count.
-
@aaronventure Thanks for the explanation. So, I guess this feature is not used for fx plugins, right?
-
@JulesV no, as you're not using polyphonic FX, which can only be used inside a processor anyway
-
@JulesV For fx stuff, suspend on silence might be useful.
https://forum.hise.audio/topic/7400/new-feature-suspendonsilence/29
-
no, as you're not using polyphonic FX, which can only be used inside a processor anyway
Not so fast, the effect you describe is how this flag is working with polyphonic effects, but its main use case is in fact with monophonic effects.
So basically this flag tells HISE that your effect might produce a signal when the input is silent. Reverbs, delays and such should all have that flag set.
Now what HISE does with that information is a bit harder to describe, but from the top of my head there are a few things:
- if the
SuspendOnSilence
flag is set, it will also scan the effect output to determine if it should suspend it (if that's false, then HISE assumes that a silent input will produce a silent output so it can bypass the processing) - it has some behavioral change when you bypass FX modules and introduces a 50ms fade to reduce clicks. The implementation details of this are pretty complicated so I'll spare you the details here.
- when unbypassing the state it will reset the processing pipeline (to clear old reverb trails etc). If that flag is not set it'll skip this step
- if the
-
@Christoph-Hart Thanks for elaborating, good stuff.
-
@Christoph-Hart Thank you for the information