Envelope follower not polyphonic?
-
I'm back as I continue with my tuned bandpass filter explorations - I'm really hoping for per-voice envelope detection but when I set up my polyphonic fx scriptnode and enable everything for polyphonic, the envelope follower seems to still just sum all the voices into a single envelope signal. What might be some possible solutions??
-
@NEST-acoustics yes it seems to belong to the dynamics class, and looks like it's a decoupled part of the compressor module
use the peak node instead. you might have to do your smoothing manually.
if you need more control over envelope following, consider using Faust.
-
@aaronventure wow perfect I can totally work with that!! So clutch man thank you.
-
@aaronventure ahhh wait i spoke too soon. i'm getting the same behavior where the peak node is just summing all the signal rather than taking discrete signal measurements for each voice. bummerrrrr
-
@NEST-acoustics is your effect at the sound processor level? It cannot be in the master container. Only the fx in the processors have access to the voices.
Post a minimal example snippet to demonstrate what you're attempting.
-
Aaron is right, you need to make sure the node is being used in a polyphonic context (if unsure, drop in a analyser.specs node and it will tell you).
The peak node should work polyphonically because it is stateless but I think it‘s actually reasonable to make the envelope follower support a polyphonic state too.
-
@Christoph-Hart Ok at first even the peak node wasn't working polyphonically but I deduced it was because I was trying to send the modulation via global cable to another polyphonic scriptfx. I'm guessing the global cable collapses the polyphony. Peak works great when modulating within its DSP network. I thinkkk I could execute my concept in one big synth scriptnode, but it requires two oneshot file players and the file player node doesn't seem to want to track MIDI pitch so I'm a bit up a creek with the surface-level resources I think!
-
I'm guessing the global cable collapses the polyphony.
It depends. If you connect two global cables within the same sound generator then it might work. The polyphony system renders each voice of each sound generator serially, so:
- Voice 1 of Sound Generator 1
- Voice 2 of Sound Generator 1
- ...
- Voice 1 of Sound Generator 2
- Voice 2 of Sound Generator 2
The global cable has no polyphonic state, but if you send a value through it, it will retain the value throughout the current voice rendering, so if you've got two polyphonic FX in a sound generator, you can send a value from FX1 to FX2 (not the other way around!) and it will be picked up by the correct voice. If you try to send it from FX2 to FX1, you will get an offset by one for the voice (so Voice 3 will pickup the value of voice 2). If you trying to send it from Sound Generator 1 to Sound Generator 2, then it will just pickup the value from the last voice.
file player node doesn't seem to want to track MIDI pitch
Have you set the PlaybackMode to MIDI?
-
@Christoph-Hart Well I was using the global cables across two different sound generators/containers, not sure if it could survive that...
And yes I did! I can get the oscillator node to track pitch and the granulator. But the file player won't change pitch for anything- not even if I change the root frequency. Also worth mentioning the stretch player makes total chaos when I try to play two notes at once, like the wildest glitched out frequency modulation you've ever heard haha!