Setting up meters - Input, Gain Reduction & Output?



  • Hi Guys,

    So I'm currently trying to set up meters in HISE to display values for following:

    1. Input Meter (Overall) ❌
    2. Compression Gain Reduction ✔
    3. Output Meter (Overall) ❌

    I've managed to get the Gain Reduction (2) working using the code/snippet below but the Output Meter Slider (3) isn't working. I have not attempted the Input Meter (1) yet.

    Does anybody have any guidance on how to get an Input & Output meter working.
    Snippets welcome always.

    Thanks in advance,

    Lee

    Content.makeFrontInterface(600, 500);
    
    
    
    // Create Compressor Gain Reduction Meter
    
    const var Dynamics = Synth.getEffect("Dynamics");
    
    const var Reduction = Content.getComponent("Reduction");
    
    
    
    const var t = Engine.createTimerObject();
    t.setTimerCallback(function()
    {
    	var v = Dynamics.getAttribute(Dynamics.CompressorReduction);
    	
    	v = Engine.getDecibelsForGainFactor(v);
    	
    	Reduction.setValue(v);
    });
    
    t.startTimer(30);
    
    
    
    
    // Create Ouput Meter
    
    
    const var Limiter1 = Synth.getEffect("Limiter1");
    
    const var Output = Content.getComponent("Output");
    
    
    const var x = Engine.createTimerObject();
    x.setTimerCallback(function()
    
    {
    	var w = Limiter1.getAttribute(Limiter1.Output);
    	
    	w = Engine.getDecibelsForGainFactor(w);
    	
    	Output.setValue(w);
    });
    
    x.startTimer(30);
    
    
    
    
    
    HiseSnippet 1595.3oc2XszaabCDlqk2jHmGnoHEn25BidPAH0QJNIs.MAZieEnXqXCKGmlSAT6RIw5cI2tKWIqVDf92H4T+ajS0.sG6gBTzK8T6OfBjS8p6v8IkzZa4fjf1HaCXNCGxO9MCmYn1xmaQBB39Hsx6LzifztfdqgLQuk6goLTiUPZeh9xbWO+nYYLfJ5YzDGHH9FaFJ7BEnkF5gCBH1HMsR2WZjV4YQQedU8kvNXlEIWDBsKmZQ1f5RE4R8LWm53rF1lrC0UY12zrgEmsL2gGB.rjdUjG1ZObWxCwxoMiNR6LqZSEb+VBrfDfzlcIt8vV83CXwyeWZ.ssCQNnFpErPwhWi6XKQrTJZ4dTG6sRIh.DRSeqbZ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wxb5oMiDADkgi1atfrZ5UhbBSJN9Ri7NyXJfBtPwY03AozsINDbPZFJy+5OrMyaBZhs3U0yUN9FcvurwCNPoAJoSNOMYMkkcbj7olp8cohG4sMyjzCEbdSzT3QNQ2jm5DESrQpnnIzAcnWAK2jJzJMZjQooKxnf.ys4gBJqaSLzXjLywCCcaAIfsHPbIiA89HyNMiLKb73pxwRHzhvriFbH7IQYM4XsDk0RUpF7etzhhIGsj3srjwpwawLrJKljcUgHlfP+y5iP9lKt3OUecFgLRJo+uxdWJl8NudKnA0n1vi3uOJZrwiw8IF2mvH9xjfGyyp+027OqdSKAr663iYAd7fQV3VDW5NPoy.UgOJ.drH4aF89ZTsdregpdU80fyXg1zBKB8ixteOWdHSbbWTdyjBc1+S+792c0xKMcv8D9FHJmhwVTWOGnDSehCzLcRA7UHcvgNhLopfrImw85wYTqQyI.2F61k3qB8BOOimm9JlEjfdCHtC62Lt4rWGpn1zSEGm65i0igqg7tnw6GsfU58nVvNEP4cQYi2E6gK1xm+Tq3WRKikOWjD3byh99UKq2TN1H682RtAdVB8oVVRx9y.1oXKtwo1hEO0VbySsE25TawsO0V74mZK9hiwBYsm6EJ3twW8.AasZz2bgl1pJut8eAtKigD
    




  • Thanks @d-healey.

    I had already come across the first thread that you posted but the second one looks like it has some interesting stuff.
    Will read through it.

    Cheers



  • So I've read through both of threads but still haven't managed to implement anything that gets the Output meter to work.

    Like I mentioned in the initial post, the compressor gain reduction meter is working fine - I used an old snippet by @orange for this which was in the first link that @d-healey shared above.

    However, can anybody shed some light on why the output section is not working in the code snippet below please? I'm trying to create a basic Compressor that has initial input, gain reduction and output meters 😖

    Cheers

    HiseSnippet 1595.3oc2XszaabCDlqk2jHmGnoHEn25BidPAH0QJNIs.MAZieEnXqXCKGmlSAT6RIw5cI2tKWIqVDf92H4T+ajS0.sG6gBTzK8T6OfBjS8p6v8IkzZa4fjf1HaCXNCGxO9MCmYn1xmaQBB39Hsx6LzifztfdqgLQuk6goLTiUPZeh9xbW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QHMA.zQfOzL.7uR4WPemdPt3d8fBnpmbUPbwSNfIGEFVJn.8.yDBSWCtcfRIKcs+FFMNweBNME27Kdt7yKqOli7HBQZbvj9QzjcD.8kvsCcvhQaVQlHLQgbUU6JPV4mA61P0N3dqzAyzB2KquEUX0qX7NSA3EtQ+1FuI8CdQ83xm4fcV809pW2l+Jt2zpE072LJX4Ciwxb5oMiDADkgi1atfrZ5UhbBSJN9Ri7NyXJfBtPwY03AozsINDbPZFJy+5OrMyaBZhs3U0yUN9FcvurwCNPoAJoSNOMYMkkcbj7olp8cohG4sMyjzCEbdSzT3QNQ2jm5DESrQpnnIzAcnWAK2jJzJMZjQooKxnf.ys4gBJqaSLzXjLywCCcaAIfsHPbIiA89HyNMiLKb73pxwRHzhvriFbH7IQYM4XsDk0RUpF7etzhhIGsj3srjwpwawLrJKljcUgHlfP+y5iP9lKt3OUecFgLRJo+uxdWJl8NudKnA0n1vi3uOJZrwiw8IF2mvH9xjfGyyp+027OqdSKAr663iYAd7fQV3VDW5NPoy.UgOJ.drH4aF89ZTsdregpdU80fyXg1zBKB8ixteOWdHSbbWTdyjBc1+S+792c0xKMcv8D9FHJmhwVTWOGnDSehCzLcRA7UHcvgNhLopfrImw85wYTqQyI.2F61k3qB8BOOimm9JlEjfdCHtC62Lt4rWGpn1zSEGm65i0igqg7tnw6GsfU58nVvNEP4cQYi2E6gK1xm+Tq3WRKikOWjD3byh99UKq2TN1H682RtAdVB8oVVRx9y.1oXKtwo1hEO0VbySsE25TawsO0V74mZK9hiwBYsm6EJ3twW8.AasZz2bgl1pJut8eAtKigD
    
    


  • The output you want is the output of Hise or the output of any module? because in your snippet you are trying to monitor the output of the limiter, and I don't if it's possible... The only one I did is the main output



  • Hi @ustk,

    Yes the overall output of HISE would probably be better actually.

    How did you do this?

    Thanks



  • @LeeC Here's a solution, have a look to the second last post
    https://forum.hise.audio/topic/1170/vu-meter-s-not-working-in-exported-plugin/7



  • @LeeC For output vu meter, you don't need to measure Limiter output value.
    Just insert a Simple Gain after the Limiter, and integrate the VU meter to the Simple Gain output value 😉



  • @orange how do I integrate with the Simple Gain output?

    The simple gain doesn't appear to have an 'Output' parameter id like the Limiter or Compressor.
    I can only see the following parameters for the Simple Gain:

    Bypass
    Enabled
    Gain
    Delay
    Width
    Balance

    Could you point me in the right direction here please?

    Thanks



  • @orange

    So I've tried the following code with no luck - Trying to attempt the method of using the Simple Gain.
    Apologies if I've taken this in completely the wrong direction.

    // Create Ouput Meter
    
    
    const var Sgain = Synth.getEffect("Simple Gain1");
    
    const var Output = Content.getComponent("Output");
    
    
    const var x = Engine.createTimerObject();
    x.setTimerCallback(function()
    
    {
    	var w = Sgain.getAttribute(Sgain.getCurrentLevel(true));
    	
    	 w = Engine.getDecibelsForGainFactor(w);
    	
    	Output.setValue(w);
    });
    
    x.startTimer(30);
    


  • @LeeC
    Just an example, you can modify as you wish 😉 You can apply the same technique for input too (by inserting another Simple Gain on the fx chain)

    HiseSnippet 2122.3oc2Y0uSibjDeLvfh8tjaSD5t7WmZgt+vrwX7XLKlrGJvBFhuiOrv.6c5zo8ZloscGlYZmtaSVRDuW4w3dTxavdU28Ldlwev5vorJa7Jjlt9Zp5WWc0UMaKNykHDLtUt7WbWehUtmZ29tPYu86gogVMOvJ2mZeBVHIbjgzqtqOVHHdV4xM+QJB4xufk92O+0uB6iCcIIjrrthQcIGSCnxDps18uS88OD6QtfFjR5Z61zkEtOymM.7m4sqX0G6dCtK4TrRr4rsxsXCOpjwaKwRhvJ2Buh4cW6druOzH+UTA8ZehZgiUavPFxGx78Tdr5Yq86Q88ZEG2BKqb1sRPg4Mnvx1mP8nComfFOSy.knQZ7H2bOj647HcubobuELt2mY21kS6KS3n7smX2LD1n5fgsfztkQVq49SOwdeFHQnrb.9FxgbXwPMJ5ToRIT0JUV8kKUXoBqO1OzqZbTySad5QnyNDcw2z.cbiqZbrZ85S+mxTKU.1UERzsX9Pcdykm17BzNHctV4tDYiNcHtxhqjQfUL9xTLgJVfsEHybGTbbg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2uwtE4Cw6H.6xYuw0LuqJW9SzTf3NT+eKXd6STqQNV5o5A8rqTthU.TQ7MttJ3dM.elrNUeD5rwiPmZOBc17QnyKdD5r0iPm5OnNpKi1afjEXNJBDZ0P+8GxkqQHFxj0Y8V+OB2xL6B
    


  • Thanks for this snippet @orange - Works great ✌
    I'm going to walk through it step by step and learn as much as I can.

    Appreciate your time!



  • @orange Spent hours on this and My brain hurts! 😓

    Sorry to bring this up again but, I've done my best to apply the code in this snippet you provided.

    From what I can see, the code looks like it is actually setup to create a VU meter for the Master Output and I'm not sure what to change to get the VU meter to respond to the actual output of a Simple Gain module.

    The code snippet below is my failed attempt to setup 2 VU meters, one for the Input level and another for the Output level.
    My expectations was that the Input meter would be louder than the Output, as the sine signal is compressed significantly (gain reduced) between the 2 Simple Gain modules either side of it.

    HiseSnippet 2398.3oc6Z01aaibDlz1LsxIoMIMWQ+TwBiV.4bxNhzxI1WpQbhsrO0yuAKamVTTjtlbkzVyWzsboundv.8OQ+uzOFzeA8mR9X+V5r6RJ9hnbjSuKHI0NH.hyryry7Lytyvc4Ar.aRXX.SSuxQC5SzzukQ6A97dazCS80Zsol9uvXi.u9L4nPOGGRPMzd9f93vPhilt9zaKFndkYzj+8lm9brK12ljRRS6j.pMYGpGkmR8f0+Fpq6VXGxQTuLitw5srC72HvMHBLpoMpq0GaeFtKYOrXXSYnoeilNTd.qMGyIgZ5y77.mAs6E7c9pweBMjdpKQ7foVaPQJxaE35HrXAUsM5QccNHw4C0zzMNHEJlVAE22XWpCcH8TH4NRFnTIxhG5ScYlmYVyq9jad5YLuYTl2cMZayn84obD11MMZ4yIrNXHDj0rTiUap+yW.wSXD97E8vmQ1hAOLThpOpd8ZnkqWe9mb6YE+6gi7G54M2t0ds1aaz9agN5qah1o4IM2Q77CG+eJkAw0PN5bLanLu738ZcDZMjLkawtDdyNcH17pyka.ykXMkpBg2.AFBCzShmgcbN.6SbynngCatZHvGWJ1ESjHjHvw9DFmRBAPw622d+8Fi3e+smEg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ttJyGsUY9YJH4lvZdeh7N8jnwuT9L5E3yInsIv6dH.KyKYk++dR+PE6Owenh6aygo+HF1OrePXNE2l3QOBdSovrDONjrEi7sEJyHdyXwoLWBq27zs.mrTYZi4QLYdvy7Bh74W1tUW498MeW6b8w2GL4GtW7b5IybeGeSmURrQUorl9mSbC.JI6k1AG4xSnlOud2.+f98B7o1YC5GRf0ic6RXYs8Rcnh8Wb+0KowhcfDOLCvIx6IVXN4XwkEu9UFJyEIVLh973.Cl9ynCL3irBGeHlCOrMK3k1pydWjK+SkT.+1W9IqWwXWwyHSM44wqvFOX+vWZaK.6E.zobIrtxRrzUVhFWYIV9JKwitxR73qrDqbIRHJ97rHdfmZoGP3flxakPWe3qjoOs1+EVd5QnB
    

    As you'll see, both meters are equal in loudness, which I believe is due to the fact that they are both just reporting the overall Master Output and are not reading from the S.Gain modules.

    I would really appreciate if anyone can help out here...

    I Just need 2 Vu meters, one pulling in the Input level and the other the Output level.

    I need a new brain lol

    Cheers



  • @LeeC Now it works 😉

    HiseSnippet 2004.3oc6Y8tbabaD+njtDS4pNNYTloeDim7AJGJYRp+XmjpIxVRzksVRbrrrSlzNYftCjDU2AvhCmhTyn2j9NzWg9HzGg9g9.z2.2cAtiGNJJYZ0wYhcM4PND6+vucwBfcO1UICXIIRkWkpO+7gLuJ+J+COWnGr8.JW30YGuJ+Z+8nIZlhXI83yGRSRXgdUpL6SPBUpNmm40+4adLMhJBXEj77dgjGvdJOlqKn1cq+.OJpMMj8bdrizqsUm.oXaYjLEvyr9M7FRCNg1msOEEaFeuJeztgbsTcnlpYIdUl6wxvyObf7GEV4eAOgebDCGzz6PvPVxskQgHhQpdaOfGE1M2uS77p32sHJLqMJrn+d7P9H5EQi6XXPJzvMdTYlqCdMcgWioGdUbf2bV38I9GFn3C0EbPrca+NBXgpGEVBbgkUVuY9yy6usDjPnWIldBqsBFLRiZsZznNA9Zoudg4yeKf.eBrHvHuHcOFH4By+SKLe06eu6Q1VwPmjPICYzSHwH2U.d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Kz.yCB
    


  • This works perfectly @orange 😉
    Also, the way that you have laid out the code makes it easier to understand and rework.

    You've inspired me to keep learning bro!

    Appreciate all the help I've been getting from this community.

    Thanks everyone



  • Hey @orange,

    Quick question....

    I've just exported the snippet you sent as an effect (FX for AU/VST) to check that the meters work in a DAW, but they don't respond unfortunately.

    The meters work perfectly in HISE ☺ but not in Logic or Ableton after exporting as
    a plugin effect. I've tried the exported plugin on the master channel with sound passing through it just to be clear.

    Any ideas why?

    Cheers





  • @d-healey ENABLE_ALL_PEAK_METERS=1

    Cool let me give this a try.

    Thanks again ☺



  • Yep all sorted!

    Thanks @orange and @d-healey 👌


 

3
Online

424
Users

1.5k
Topics

10.6k
Posts