Forum
    • Categories
    • Register
    • Login

    dB meter

    Scheduled Pinned Locked Moved General Questions
    29 Posts 5 Posters 2.9k 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.
    • U
      udalilprofile @David Healey
      last edited by

      @d-healey Peak meter floating doesn't work for me. I can't start it. No reactions.

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @udalilprofile
        last edited by

        @udalilprofile

        HiseSnippet 1290.3oc2Ws0aaTDEdVmrUXWnPQUHdbzJdvELQ1k1BhJTct4JKhasx5zVopppI6d7lAu6LKyNNIlpHwOQ9oz+AkyL653carBoV.Ufevxmay7ctNGOTICfrLoh3TezrTf37wt9yD5i19HFWP5uCw4FtCXYZPQyYs0rTVVFDRbbV6QFFN0WmX+7lGtEKlIBfErHjmJ4Avd7DtdA2gc+YdbbOVHLhmTR661sefTrsLVNEwyZtsIorfIrH3wLiZ0bINWa2PtVp70LMjg5rkLbl+QxSD45+TdF+vXvPzg3iGTNax1GwiCGN2WyHDG2gK770x87a4NfGxOm+hHvmYEPWXQ4XfSsKCRcdOfjSIHsdNjtoqefhmpWHwfmq61WfIjwLLTWFJ45RpMpl61RTCgdiD1DnmBIN2hl2uc6VT7qa+fFMvvcllFyFS+I5bSBT.5I6ICXw6IkS1TD1Cf3lF0QE2PAQbS4Puoh.MWJZ5EpXmLfoU7SGBrIC.TnWK534xiZQkG9K2twqaT+XlhxvqBo2fgWyCZTuQ8nMx.cdRuoQfFNsfzbkVaB2BMZWQDW.aDA5cf.9gPbVOoxTA1iEfweqsoH.xdQ6WhVhmqAXaFyiDP3H7PaVbBgxoXBYjzGgrHpY3VsnctM8andgag3l0h5EfwAED5gGyYFPTDmLPoWrjoQyFwigNkhZQFeHIUJPhldUzxbLUXXb3KDewXq4plG1nRwikZ3Ihl1HWiyZPeWQiGuTYFDojwwfZohMsbpKyvlhoIGBpVn6FOENWQrlrZg90tZE5A4AnRJJE8Eb8SRgB5dx3PSAr42WrsfTDgwecP+cXZloSofGpWJnzbCbb1ANFG0j22T2cGHahVlZ0sHsfMN5hF87NkxIEBGQvm5VIOQN87YS+93tyVLnh2s..y6RemxexgQymhU+ZymDx0PxBtGbvAusJ26XX644YYaczZesi6qaPodmGO5G58iTOerJl9L1w.8Qf.TLLozwqkQw9hP3TTkusikDirwxSdlTMICmjBnfwr3LvJyGhRPOXOHzm+aFQs2nsUvAoX+EaloNA4du1y4uCl.WtjCx.ezAB.bjoPfMlUunIvI4snH6NElLjEFhg4hqdNWSQx.lMNVhawoZ8Mvb1u.4RoVgTZG76W13LxhwF4A82Zii8v7j4RVj652kbw4r3DdY3zXSjr7XeyzkBAXKRkYsl4ohLtdV42+dOdKn8k9VvUEh2zcHWGbzxwXskfQr44eBLV7B5m3t63wPfdA.W2s2yW0mKu5W+Mxu9q6Z5LrquXu7uvcYcJWxFL+wUcClzq7FLOIPiW+HESjkJypbv9PBeDNYJqLSrWpmB908MYyx72VxTKUzadXOzIWpM9L8TksrXyD4TgtRYvZUyCqe0llWsinj9KYel0+.rh0eOsUe.67qrEX84XzmmjFC6JNFhwW7rX7ywm3FylFqmysZg8.oPldjTvCJm02Gv2ohh.UYruTGZSsF28dAma0ceHFXkqf+pt6gUdLEFmfULV79uQ7RyWeoaNboltQ5+cmXu1+umXuubpY2p7kkv+B1imlTcuAjmSMyvtb51F57IkhPKwawOEB6XncJD1Ytv+UtiDVfR9pf70kM0oejkC52B6eTsNtOHRS6PrqPWNWlfS4dUPP0i5BFdmU0vuaUM7tqpg2aUM79qpge+pZ3O7Wan4QnMmpkI4slDxfg6ZWE2wYWACqxscDj+jEO069
        

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        U 1 Reply Last reply Reply Quote 0
        • U
          udalilprofile @David Healey
          last edited by

          @d-healey super! Thank you! How can I make the indicator invisible? when sound arrives, a meter appears; when there is no sound, the numbers disappear. The number -100 is always displayed. But I’m trying to figure out how to make it appear when there is sound.

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @udalilprofile
            last edited by

            @udalilprofile You could change the text colour alpha value in the laf function based on the peak value. Or you could use an if statement that checks the peak value and only if it's above -100 draw the text.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            U 1 Reply Last reply Reply Quote 0
            • U
              udalilprofile @David Healey
              last edited by

              @d-healey Can you help with this? Please.)

              David HealeyD Felix WF 2 Replies Last reply Reply Quote 0
              • David HealeyD
                David Healey @udalilprofile
                last edited by

                @udalilprofile Do you know what an if statement is?

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                U 1 Reply Last reply Reply Quote 0
                • Felix WF
                  Felix W @udalilprofile
                  last edited by

                  @udalilprofile

                  	if (dB > -100)
                  		
                  	g.drawAlignedText(Engine.doubleToString(dB, 1) + "dB", a, "centred");
                  

                  //I am a new student at HISE._
                  //Windows11 & MacOS Ventura 13.6.7_

                  1 Reply Last reply Reply Quote 0
                  • U
                    udalilprofile @David Healey
                    last edited by

                    @d-healey I'm just learning. )

                    David HealeyD 1 Reply Last reply Reply Quote 0
                    • David HealeyD
                      David Healey @udalilprofile
                      last edited by David Healey

                      @udalilprofile Cool, start here - https://docs.hise.dev/scripting/scripting-in-hise/javascript.html

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      U 1 Reply Last reply Reply Quote 0
                      • U
                        udalilprofile @David Healey
                        last edited by

                        @d-healey Thank you. I'm only 11 years old. I want to create music software.

                        David HealeyD 1 Reply Last reply Reply Quote 2
                        • David HealeyD
                          David Healey @udalilprofile
                          last edited by

                          @udalilprofile I think you must be the youngest member here :) you should pick it up pretty quickly I think.

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          U 2 Replies Last reply Reply Quote 0
                          • U
                            udalilprofile @David Healey
                            last edited by

                            @d-healey I'm trying. Thanks for your help

                            1 Reply Last reply Reply Quote 0
                            • U
                              udalilprofile @David Healey
                              last edited by

                              @d-healey Can I ask you again? I already used const laf = Content.createLocalLookAndFeel(); to configure combobox. Can I use two functions? Or how is this problem solved?IMG_0764.jpeg

                              David HealeyD 1 Reply Last reply Reply Quote 0
                              • David HealeyD
                                David Healey @udalilprofile
                                last edited by

                                @udalilprofile You give each variable a different name. Something like const comboBoxLaf, const peakMeterLaf

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - Public HISE tutorials
                                My Patreon - HISE tutorials

                                U 1 Reply Last reply Reply Quote 0
                                • U
                                  udalilprofile @David Healey
                                  last edited by

                                  @d-healey I couldn't get a numeric indicator. I now have a vertical indicator.

                                  David HealeyD 1 Reply Last reply Reply Quote 0
                                  • David HealeyD
                                    David Healey @udalilprofile
                                    last edited by

                                    @udalilprofile Post a snippet

                                    Free HISE Bootcamp Full Course for beginners.
                                    YouTube Channel - Public HISE tutorials
                                    My Patreon - HISE tutorials

                                    U 4 Replies Last reply Reply Quote 0
                                    • U
                                      udalilprofile @David Healey
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • U
                                        udalilprofile @David Healey
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • U
                                          udalilprofile @David Healey
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • David HealeyD
                                            David Healey
                                            last edited by

                                            You can edit your posts instead of deleting them or crossing them out.

                                            Use this button to add code tags

                                            1f95c1fc-e263-44c5-8941-22e62ad4a9a7-image.png

                                            Free HISE Bootcamp Full Course for beginners.
                                            YouTube Channel - Public HISE tutorials
                                            My Patreon - HISE tutorials

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

                                            23

                                            Online

                                            2.1k

                                            Users

                                            13.0k

                                            Topics

                                            112.9k

                                            Posts