HISE Logo Forum
    • Categories
    • Register
    • Login

    Using Constant for Gain/Volume.

    Scheduled Pinned Locked Moved General Questions
    13 Posts 3 Posters 428 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      Why not put it on the synth group then? or do you need individual control?

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      lalalandsynthL 1 Reply Last reply Reply Quote 0
      • lalalandsynthL
        lalalandsynth @d.healey
        last edited by lalalandsynth

        @d-healey Because in each group there are 3 samplers , and I need Individual volume control.
        I guess I could just not use a group and link the Adsrs between them ?
        That is the only reason I am using a group .

        https://lalalandaudio.com/

        https://lalalandsynth.com/

        https://www.facebook.com/lalalandsynth

        https://www.facebook.com/lalalandsynth

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          Do you need to control the volume while sounds are playing?

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          lalalandsynthL 1 Reply Last reply Reply Quote 1
          • lalalandsynthL
            lalalandsynth @d.healey
            last edited by

            @d-healey yes, its a drawbar system .

            https://lalalandaudio.com/

            https://lalalandsynth.com/

            https://www.facebook.com/lalalandsynth

            https://www.facebook.com/lalalandsynth

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @lalalandsynth
              last edited by

              @lalalandsynth Then I think constant mod is your only option, I don't know a formula to convert from DB to intensity though.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              lalalandsynthL 1 Reply Last reply Reply Quote 1
              • lalalandsynthL
                lalalandsynth @d.healey
                last edited by

                @d-healey Ok, I guess I will not use a group then .

                Question on voice amount.
                When I use a group - 3 samplers per group.
                The total group gets 256 voices.

                When I use the samplers individually i,e not in a group , each sampler gets 256 voices.
                What would you recommend for the voice amount for each sampler ?
                I am assuming that is a CPU issue and I need to economize ?
                Each sampler can only play 2 octaves , but polyphonic.

                Any thoughts on this ?

                https://lalalandaudio.com/

                https://lalalandsynth.com/

                https://www.facebook.com/lalalandsynth

                https://www.facebook.com/lalalandsynth

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @lalalandsynth
                  last edited by

                  @lalalandsynth Hard to say, but yeah the lower the better in terms of cpu

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

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

                    Use this scriptnode-powered time variant modulator in each sampler for a simple real-time gain control (adjust the smoothing time as you like and setup the parameter range to be as logarithmic as you want to):

                    HiseSnippet 1318.3ocyW8zaaTDEeV6LoMNosTZ4FfV0SoRkHaZ3ORHHlD6TY03DqrIozSkI6N1dj2clUyLNItUb.ItyY3Bhu.HNBGPju.bhOAbfCbqW3b4Myt1d8eZiwHnrWrm27dy96898du4sMjBepRIjHmkNnWLE4rB1qGW2dq1DFGUqBx4p35DklJcSDsYuXhRQCPNN4umQfyRKfrOOciMIgDtOcnHD5HAymtCKhoGJsQ46yBC2lDPOfEkQ60KWyWv2RDJ5B3IOtHJl32gzhtKwnVNLxYwpALsP5oIZpBzYSQPOu1hS4I5eDSwNNjZVTB4AGThXzVsYgAM56qJDxYgFC877Id9Mw0YArAxGFAdE6FtCsHaLvI2nPZgQfTorPpXFHssHLvb.FUlDdnLnagDzAfPDzMjnGEYFJHcClXT1oFWS4JltWVJ5uAbKMU3N0noSF7hSv6qi87krXsghOhHYDtdfCXwtapBtFMbSUwcfNktXeIwdTta3fg7Fk18DhzMPE69gtU4sXb5Z9RJ3lUTw6R0mJjcV8Vv1251tevUJzrK22DxbikzXhjdfnQHo2pJRTbHcevp63l7eUCpbyPgemaW3IEVpvmUvMioVu1t6pG2sYSpbRkD7cEZ5d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Nr4clCad24vl2aNr48eg1X9l2OtqVDkTl.BZT010wwoJm.YY1LRzeAakrS4A
                    

                    As for the performance question: the synth group is a bit more efficient because it handles the voices together, but you won't get too much CPU optimisations there as the bottleneck will most likely be something else.

                    lalalandsynthL 2 Replies Last reply Reply Quote 2
                    • lalalandsynthL
                      lalalandsynth @Christoph Hart
                      last edited by

                      @Christoph-Hart Awesome ! Thanks !

                      https://lalalandaudio.com/

                      https://lalalandsynth.com/

                      https://www.facebook.com/lalalandsynth

                      https://www.facebook.com/lalalandsynth

                      1 Reply Last reply Reply Quote 0
                      • lalalandsynthL
                        lalalandsynth @Christoph Hart
                        last edited by lalalandsynth

                        @Christoph-Hart Should I set the Converter to Decibel to gain and use a decibel scaled slider or a 0-1 slider and Gain to Decibel ..... OR do I use the skew factor .
                        How exactly do i get a db response ?

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

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

                        49

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.8k

                        Posts