HISE Logo Forum
    • Categories
    • Register
    • Login

    Strength of envelope in Code Editor

    Scheduled Pinned Locked Moved General Questions
    5 Posts 2 Posters 154 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.
    • MorphoiceM
      Morphoice
      last edited by

      How do you set the strength of an envelope or any modulator in general in code editor? The envelope itself just gives the following parameters

      VCF1 Envelope: (AHDSR) - Parameter dump:
      [0]: "Monophonic" | 0.00
      [1]: "Retrigger" | 1.00
      [2]: "Attack" | 325.00
      [3]: "AttackLevel" | 0.00
      [4]: "Hold" | 0.00
      [5]: "Decay" | 2798.00
      [6]: "Sustain" | -33.50
      [7]: "Release" | 1.00
      [8]: "AttackCurve" | 1.00
      [9]: "DecayCurve" | 0.50
      [10]: "EcoMode" | 1.00

      whats EcoMode btw?

      const var VCF1Envelope = Synth.getModulator("VCF1 Envelope");

      this is how I get the modulator to change attack, decay etc. but can't seem to acess the strength it has on the filter.

      also, is there a way to set an initial attack level?

      all the best

      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • MorphoiceM
        Morphoice
        last edited by

        never mind the first question, I found it

        VCF1Envelope.setIntensity(value);

        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

          @Morphoice The modulator intensity is not a generic parameter and must be set using the special method

          Link Preview Image
          HISE | Docs

          favicon

          (docs.hise.audio)

          MorphoiceM 1 Reply Last reply Reply Quote 0
          • MorphoiceM
            Morphoice @Christoph Hart
            last edited by

            @Christoph-Hart thanks, figured it out just a second ago. can you still tell me if there is a way to set an initial attack level or does the envelope always have to start at zero?

            https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

              @Morphoice no there is no initial attack level (only the peak of the attack), for this you would use the intensity. If you‘re modulating the filter frequency, check the bipolar modulation chain this is much closer to how a analog synth modulates the filter.

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

              15

              Online

              1.7k

              Users

              11.9k

              Topics

              103.7k

              Posts