Solved Monitor Levels Inside a Network?
-
Is there a way to monitor signal level inside a network (to monitor clipping, etc.)? Thank you.
-
@clevername27 To monitor clipping inside the network for development purposes, a peak node will be enough, or even a little fun toy like this :
HiseSnippet 1684.3oc6Y8zSabDEeWrWbfjV07mJ0i9POPjPHbZRZj5ALfsaoECVdonzStC6N1djmclU6NKfaTj5wdqGq3T6Ggds23iPk5Wj7Mn8MyrKdW6Ev1AP4PIRQLu2al4279+9nU.2AGFxCLLW5fg9XCyGXYOjI5uceDgYrSMCyO1pIJTfCJqIs0PeTXH10vzrvWKIXtTQC0OuaisPTDyAOhjgwgbhCdWhGQLhZqpeGgRafbwGP7RI8yqtiCmsMmxi.7TvZcCejy.TO7dHoXKXYXtXcWhfGXKPBbHHyVb2g184mvzxeHIjbDEKWTwvFNHMYis6SntsRdqgFFlVsF8xKne4OwpIwkbA8QZfOQwn7ncjVGXtvUAoJy.jLSAohZH8PKam.huXDGIdtu0NLvfzEAp5zPQKqg44VayAAXh07PCvMBfEWrgUd45quZY3+d5W0Mh4HHbVYNaOt.uOakmt7aVdoke6xkGmU2t4xSdMAbJEGjKao0M3p13JrHuivAqV9XDMBegfvyOqNcwoSm5ne0oDjy1gQD66iiW2fSck5J4uOoEvHVsA+12uSMj.IMJwz.47wABhDNl0vGCd0ZSzRV0vgCDbevudB6G34vcinHQV2IYbSLCPejwFJMTrPhXX53pYvGa8qzGaZg3CsZQDN8yGiKjCFAM0sAFiiL+Hq5c6hcDi.XQqFuddCCWelCCWNNLDtS4k+f3kka75J4F.9KVib18Cv9n.7A7VTzvUBQd9Tba.iqV9HJ2YfM4mvSFg3qgvVRIVwoOhwvzv4IPZwanjSFs4QBBqWSjHfbJj9buHOaHMsCd6XzAzLWPFCoWutbszuvFybUK9W3mXlUjqMiYVIgYpvu8vhS3ACTli3e2vrjtZDSutiCk3arIkxOYatmOI1OErBJZs3zg984LhijjVhDrtoGOBtlX.+MnvCPDpzw1NJDRU3tOyFDVUHyrvg3fP0AWxZ80f+AN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CLhxSp1FCE.CS4n+4U2E5fEELdHzs5eNgbsWelkFtkkQ7keera2otYW4HpKLUin9FGuy+3puYfxcwPZuKtCOjS.uS7fDj9x2SQAd2LUt9krZJWWthwwiWK1CxJ1wwI6QMwFe17twuXd23ym2M9h4ciubd23WNua7UW+FkEsh+BJYHKzaXq55O6v7h9CLKX7eCvSDxB
If you want to display if the signal is clipping or not in your plugin's interface, my guess would be to use a buffer :
Use an external display buffer (from a peak node) and get the highest peakBuffer.indexOfPeak(int startSample, int numSamples)
https://docs.hise.audio/scripting/scripting-api/buffer/index.html#indexofpeakEdit: Actually a global cable - same as in the Scriptnode Visualization 101 example snippet - will be much simpler to implement.
-
@Matt_SF Damnit I can only give you one upvote. Thank you.
-
-
-
@clevername27 said in Monitor Levels Inside a Network?:
@Matt_SF Damnit I can only give you one upvote. Thank you.
my pleasure !
-
The specs node should also report the gain peak as text label.
-
@Christoph-Hart wait, we can access that from a script?
-
@aaronventure ah no it‘s just for development I thought that was the request but now that I‘ve read it again I‘ll revert my statement and go back to the pool.