Setting up meters - Input, Gain Reduction & Output?



  • 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 👌



  • How should we go about changing the vu-meter to be horizontal?



  • @orange @d-healey
    Is There Anyway To Change The Direction To Be Horizontal?



  • @Natanr
    paintRoutine case
    Change the width of the rectangle you draw instead of the height...

    Filmstrip case:
    Create an horizontal filmstrip...



  • @ustk Thank You Sir
    I Tried To Use This One, And Can't Figure Out How?!!
    Any Help Is Much Appreciated

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


  • No Luck!



  • @Natanr Look at what I did. Analyse the changes I've made. I put in comment the original lines so you can compare
    Basically, what was related to Width became Height, and vice versa. No extra brain overheating needed 😉

    HiseSnippet 2137.3oc6Z8taabbD+njtTS4pBm.Ef7wEB4CTJjRjT+wN+QHxVRzksVRDVV1MHsHX0cKIWn6tkcu8XjZf.5iQ+PeG5qPdD5iP+Pe.5af6L6d+khRlhoNPN0TfDbmclY+MyNybytTcjBGVXnPZUp7KtX.ypzu193KBT82sOkGX0dOqR+F6CngJljXH8jKFPCCYtVkJM6SQBkJOmk90+4qeB0iF3vxHYY8RA2g8LtOWkQsyN+dtmWKpK6Eb+bbuwNscDA6J7DQ.dl0tt0.pyYzdrCoHayXaU5C12kqDxiUTEKzpzbOQ3dww8Eeefg+WxC4m5wvAMrNFTjgbKgmKhXjp0t84dtcRr6PKqR1cx7ByZ7BKZe.2kmROya7.8DjLIx6OJMyMAuF4gW8IGdkxAu4Lv6CsO1QxGnxlAw18saG.aTcovVPdXY30Zl+1B16J.NBTq5SOi0RBCRknRy50qRfOV9KWX9j+B.GeHrIvHuL5.Fv4By+CKLe40VYExtRFZjDJY.idFwGmcUXtUv2kOID119BxS4CYDtBXRx5xjLH3fnDvPegajGiTgwU8gPqPLjiHjDV2tLG0xYJpsh3IDmERNkEpHQg7fdf3eO2E3mF3R5y385q.BvX+HOEe.nVQWxFZUTd2nPkvm+WfksOi3nCsBiUCRIz3FoALu3YIscCQQWC9fG3wCXjtQANJtHf3ns4XWQEz4TkbdUxEKC7h9kxdBGpGhtdLEYaRh2l55pWh7h.dYB7BkJgsPFtgNfIUbVHr63+6N9nCikQq90VaIskuzWPZrU0XJFO.PZi5ZRorjLNkgXYVhqX9lrLfX8ya0Bb5ar0CqRR.TNNZhJp4C+7Mqu4mmnvS6kJ8nSoXmqxM4iV+gOp4FOZSyjgzgr1AcjLvPgo6R8BYlYDCn+4HFBQb3kINmx3Hi2T6bfjP0yEQJXSoRxlRkdn2239K2a0tPkkG64UQ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yYmDAodxImnoZNnARoTxMTLI1yB14BzFwf9z6ZFzUutfGXqSWnph2jAVNOdBHJsvUFfWKPPHWcQ9q24sx0aLov8Cs6vUN8GOdmYL3Ehqeai23KKZAaSAmLvNmcq+vzdyPi+hqpOtaFZlbX4doWeG2efG6oIP4WYREut6sam+3+n0OtGyiVvy8p334XBeyNidyd+0W7isCFB0J5H7nxQ86yVzXmcxL1wXfyMwAGnIQdmIX9ir0t72k.rNj3cG.+.an58c.3ZttpdvIPjb74FGF4eLTB2gAPM.d7RXxyRhGWO4YjGyBb0CdM7JdxF33RwS1HYRqInJv8sS6E5FtA+mrysuR.758UBdekf2WI3NVkfEMtj6a+J5Pl9jQZuwGqG2UH8IOkEvjnupwMTR3eNo+ndCl3eTuibT.DdgjFDNPDxZjWyiLWy7ysGSEETjcCoBbglWKv7xw281IgXy7DgvhBJCFWPSGfaSIC+We89ATXS+XFXMtGE5.FK56xG2zIxKjoyNZjWvLxMySdzZi+uokv61+Vl+7c1jYmL39F94VKmfQyiS2GdPmGbD4zJ2coQdpDpESiNPDHFzWDvcxGS8bFj82qGqPbyXMnGqTTmyxnr3NOm4wng4Rs9zcdFOfQkfehMk9hFStu3l1u9DaCbIXtO4WFmob1eAclx2FYnP4w+O4op+brF9TGo36bLWSHl5cOMEvtCz+yuTFZfGFSZXou5PPN65qV2xGJf+cNNXzQMv+LdYZNExr9THyFSgLaNExr0THyCmBYdzMJC9ryGGoD9l3efPm802mZoRlVEzoBV+W.Hz.IeA
    


  • @ustk Oh Thank You Sir, Life Saver ❤ 🙂 🙌 🙏


Log in to reply
 

14
Online

615
Users

2.5k
Topics

19.4k
Posts