Gain Reduction Meter



  • I am trying to get a gain reduction meter for gate, compressor & limiter individually.
    I'm using Synth.getCurrentLevel() API for metering gain reduction; but it doesn't work.
    Couldn't we make a gain reduction meter like on "dynamics fx" unit's original view? (A vertical reduction view like on dynamics fx unit)



  • @orange I've been trying the same thing. Can't figure it out



  • The getCurrentLevel() functions return the output level. For the gain reduction, use the dedicated parameters:

    Dynamics.getAttribute(Dynamics.CompressorReduction);
    
    HiseSnippet 1237.3oc2XssaaaCFlxNZX1cIXcnCX2MgfcgKVWfc5oALLjC1wEYKNIHJMa8pBZIZa1HQpQQ4Uug9fr8lr6xCPuXOJ4MX6mTRVzwZY1cco.UHAvj+m93O+zGo8wBtGINlKPV0NcRDAY8Q1tSXxQsGgoLz9cPVqY2CGKIBmzo1cRDNNl3irrp9D0DV0VAoetbqcwAXlGoXJD5LN0ib.MjJKlMZ6umFDzE6SNkFZ38C1deONqMOfm.3opcSTD16b7PxgXkaUrQV164SkbgqDKIwHqU1k6OwcD+mYo9eFMl1OfnFzB4BIJc5t7.eEhUeF0dDMv+370cLBR5wEcgpocg6X2i5SmNeQ23i0FbJhvreXU45fWq2P3YY.uURg2ssc8DzHYgEE1tk89LXiZ.F1BLgUpunJedE61bvClbiP74jtBXvzHZ7nlMumyCa17teyp0WsNrQDKcFiENclvvgTuXmu0QyL1XHQt2fADOYi0yss9UC5DhehmjxYPT40DhqMOLhyfAMVepGYwNa7RHt8XCoLxFdBBzMULEwQ8egprp.jaDSj5IaiCB5C7jFCRX5D13t0+050TYYLjkbHpJ+NRof1OQRZLcVEhD5V3T.oReM3uwEX.hsCwi1mDD2kKTz9tXOXitw3bmmFsBWmgCRHJa0eE7uFrRrHEtMtutCmCVGN6PtjbTFpq+p4rLXPYlTMUAOH.RXIVSqz+bXMXIg8Ih6A8Z.o49AzqY4uevhwe8R2fMbjy1mQkGEQxFWvvaUBCGkwPTb8L.BtJ0L80xX5tATeh.Q8Uz7oMajF+l5MnmteGrDmmJHqPkhHBIUsfr5PFC5QouDUytCI9bIOR6aFwDR+BU3WBxFV8g5MQ8gMgODR88CHGyioZGlhoMu.TOibo+hFm+9uod9isBMUNe1Eg3WZtJhSFLfpJgsi+tnPteFb0TPDgggcA8q1n40F.EJteR.VNqrkhzlYPAOS8AkF.Cf8DSs7kPKqYoZYktSufv811GSkdiJGuUJAuv98+23M6jgUsSE+J.6J1c+wa3iA9jTrT2NWGSCDigydJsjrWNkongol9zQf12HntW0.nTBRpl7A0rmPBH3Xi22d11E5myUhK2pv3UKzEu9fu6BCsW0l7TSu9KMR6UQxWrsoj8b3QeUChnj0alkRWxY1leUmYXtBYhhdvYoIQkjt4MXUcVlQ0EiYTBw7DdhjxF1CCmnoDJNLIzEt1jGA3kLFbNkRVphRaMcbS0XEDbILe8f+BdxL1RM1JyXqbilj+0RIb2x1ENNTeM.Mi6S0ic9A7XhySHLhP8Z70bEw+7s+UDOxSBU+TAlEGwimIwtjP5ofpdr4jOMFt3C4mLYb5m1brnTSWtUWXMVZLtXYhPqOsSHOgIuts5ETDXVYZC+KQQXk2A2a8suV++8ilptXv8eQSsVNFcogQAfh4XR.bygryi5PFfSBjSm0Dj83LdzHNi5YR.Ng.uZNbHQXB8RWOWU14NaWhdyA.IDK5kdUf2jVQqEuUbcaWelcJbcTuX579wMJp9dzMJVBnbSbFxMQMBwdB9y8R+lCJt7GpmAV2L8ObPM6dpwNsx+5BpdCbcc5y87TM6uB5NkGwlKcD2eoi3AKcDOboi3QKcDOdoi3qulHTm8rShjGl9pGB82N1j7RC
    


  • O my gosh! Bro you're definately awesome. Hise will be a pioneer and the most successful fx development tool (as much as sampler instruments/synths too) in the world. Thank you so much....

    Heil @christoph-hart, a new HISE Reich ☺ πŸ‘‘ πŸ‘‘ πŸ™Œ 🀘 🀘



  • @christoph-hart is there a list for these dedicated functions I could reference?



  • @dustbro said in Gain Reduction Meter:

    @christoph-hart is there a list for these dedicated functions I could reference?

    For Compressor's Gain Reduction:

    Dynamics.getAttribute(Dynamics.CompressorReduction);
    

    For Limiter's Gain Reduction:

    Dynamics.getAttribute(Dynamics.LimiterReduction);
    

    For Gate's Gain Reduction:

    Dynamics.getAttribute(Dynamics.GateReduction);
    

    You can make a custom VU meter knob with Knobman or other GUI design tools.
    This is a Knobman example: https://www.g200kg.com/en/webknobman/gallery.php?m=p&p=1134

    But be careful for calibrating VU meter and be sure that it shows right dB value. You can calibrate it with knob's middle position parameter...



  • Right click on the module browser and it shows a list of each moduleβ€˜s parameter.



  • @christoph-hart Adding the module browser to a workspace causes an instant close for me - has done for ages.



  • @d-healey said in Gain Reduction Meter:

    @christoph-hart Adding the module browser to a workspace causes an instant close for me - has done for ages.

    It's working smoothly here.... (Current version)

    0_1526450426330_W.jpg



  • @remarkablex Aha perhaps it's only on Linux then...



  • @christoph-hart What's the math behind startTimer(30) ?



  • 30 milliseconds.


 

2
Online

357
Users

1.1k
Topics

7.6k
Posts