HISE Logo Forum
    • Categories
    • Register
    • Login

    Bug: HardcodedSynth Volume Glitch

    Scheduled Pinned Locked Moved Solved Bug Reports
    16 Posts 4 Posters 293 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.
    • Dan KorneffD
      Dan Korneff @griffinboy
      last edited by

      @griffinboy Are you saying that parameter 0 for hardcoded effects are defaulting to the value of the synth volume? (-12dB)

      Dan Korneff - Producer / Mixer / Audio Nerd

      griffinboyG 1 Reply Last reply Reply Quote 0
      • griffinboyG
        griffinboy @Dan Korneff
        last edited by

        @Dan-Korneff

        I reload the project and the volume for the hardcoded module is defaulted to -12
        In addition to that, the parameter also seems to be acting as a modulator for the 1st parameter in the hardcoded fx slot

        I'm on the latest build (updated yesterday)

        griffinboyG 1 Reply Last reply Reply Quote 0
        • griffinboyG
          griffinboy @griffinboy
          last edited by

          @griffinboy
          @Christoph-Hart

          Sorry to bump this again!
          Am I the only one experiencing this issue?

          dannytaurusD 1 Reply Last reply Reply Quote 0
          • dannytaurusD
            dannytaurus @griffinboy
            last edited by

            @griffinboy I tested your snippet and it happens the same here.

            Has this only started happening recently?

            I noticed the HardcodedModules files were changed about 2 weeks ago by this commit. It seems to deal with both the parameter offset and the getting the default value, so it could be the culprit.

            Link Preview Image
            - fixed remove matrix modulation connection via slider popup · christophhart/HISE@b1d5266

            The open source framework for sample based instruments - - fixed remove matrix modulation connection via slider popup · christophhart/HISE@b1d5266

            favicon

            GitHub (github.com)

            Meat Beats: https://meatbeats.com
            Klippr Video: https://klippr.video

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

              @dannytaurus hardcodedsynth was added there so it‘s not a regression.

              It‘s a simple fix I just forgot to offset the parameter index for the amount of internal sound generator parameters (voice count, pan, etc).

              griffinboyG Christoph HartC 2 Replies Last reply Reply Quote 2
              • griffinboyG
                griffinboy @Christoph Hart
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @Christoph Hart
                  last edited by

                  So now it should be fixed - I haven't tested it because I was too lazy to make a node with parameters, but I'm fairly confident that I can no-look fix this :)

                  griffinboyG 1 Reply Last reply Reply Quote 1
                  • griffinboyG
                    griffinboy @Christoph Hart
                    last edited by

                    @Christoph-Hart

                    No good sorry!

                    Still defaults to -12db when reloading a project, and still acts as a modulator on the 1st param

                    1502ddbd-cae5-40b7-b310-10f1ac99d2ec-image.png

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

                      @griffinboy Ah, no I think the issue is that you have a parameter called Gain in your network and this will override the actual "Gain" parameter of the sound generator.

                      I'm adding a safety check that will complain if you use reserved parameter IDs or other keywords (I already did that with Type as this will mess up your entire module tree, but since there are different reserved keywords for different module types this needs to be checked at runtime when you load the networks).

                      EDIT: Oops, no that's not the reason, I used the wrong enum for the offset so my fix didn't do anything. So much about no-look fixing...

                      Now it should be fixed.

                      griffinboyG 1 Reply Last reply Reply Quote 2
                      • griffinboyG
                        griffinboy @Christoph Hart
                        last edited by

                        @Christoph-Hart

                        Seems fixed, thank you!

                        1 Reply Last reply Reply Quote 0
                        • griffinboyG griffinboy marked this topic as a question
                        • griffinboyG griffinboy has marked this topic as solved
                        • First post
                          Last post

                        31

                        Online

                        1.9k

                        Users

                        12.3k

                        Topics

                        106.9k

                        Posts