HISE Logo Forum
    • Categories
    • Register
    • Login

    Envelope follower not polyphonic?

    Scheduled Pinned Locked Moved ScriptNode
    9 Posts 3 Posters 303 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NEST.acoustics
      last edited by

      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??

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @NEST.acoustics
        last edited by aaronventure

        @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.

        N 2 Replies Last reply Reply Quote 1
        • N
          NEST.acoustics @aaronventure
          last edited by

          @aaronventure wow perfect I can totally work with that!! So clutch man thank you.

          1 Reply Last reply Reply Quote 0
          • N
            NEST.acoustics @aaronventure
            last edited by

            @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

            A 1 Reply Last reply Reply Quote 0
            • A
              aaronventure @NEST.acoustics
              last edited by

              @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.

              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @aaronventure
                last edited by

                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.

                N 1 Reply Last reply Reply Quote 1
                • N
                  NEST.acoustics @Christoph Hart
                  last edited by

                  @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!

                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @NEST.acoustics
                    last edited by

                    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:

                    1. Voice 1 of Sound Generator 1
                    2. Voice 2 of Sound Generator 1
                    3. ...
                    4. Voice 1 of Sound Generator 2
                    5. 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?

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      NEST.acoustics @Christoph Hart
                      last edited by

                      @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!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      31

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      102.8k

                      Posts