VU meter not working?
-
the vu meter are no working on the exported plugins fx even if the ENABLE_ALL_PEAKS_METERS=1 is on, but is working on the instruments exported plugins (it used to work on the fx too)
-
@Jay it only works on channels 0 and 1
-
@d-healey yes my fx are in channel 0 and 1 (1 and 2)
-
OK now I cant get the VU meters to work on stand alone compiles...
They work fine in HISE but do nothing in the deployed app.
yes I have ENABLE_ALL_PEAKS_METERS=1
-
Compiled a VST too - also not working.
Any clues?
-
OK - so I built a simple test bed - using no graphics and a sine wave generator - snippet here:
HiseSnippet 1714.3oc4Y8taSbDDeu3b.IjzRPnp9QKq9AGTpyYSB+oUs3D63nnFCV1NgRQHXy401ay4aO1au.ADR7nvG5CBOB7Hvi.uAsytmO68NbbbsBQPqyWtalYm82L6uamY2TiyrI99LNxXtlG6QPFKX13XWQ2RcwTWzNkQFWxb+8ZR7EnMO1C66SZgLLRssTqwbyhT+93c2D6fcsICEgP6yn1jco8nhgRqU72nNNUvsHMo8zrdsh6XybKwbXA.RRYZg7v1Gh6PtGVZ1LlHiKrUKpfwaHvBhOxX1MYsNtQW1ycCseepO8.Gh7k7nFfiBEWg4zRhXoTTotTmV0hhXeDxvr1v3OUX7eMypzVzAxGlGthRQ5giPOeXLy3fWdc3YM4vyPCdyFBukLaXyodhgZjX6xl63JH71XXIPGVg1hl4uLMKw.KbE45gOjTgCuLXDYuok0JoW2xZ4edw4k+AKE9hzGg4oaPcIO.eDYahKgig3Ke5eIshejqCQn.r5srYjVlVZZ5g1lQ5vUuttCUjhZXWhSAvSQXR5KVOOlK7R1LZ1n7vvQuKosX+8T5O4gqaThwWm1o6o6fXVo7fFhx4SDRtKuD1w4.fjlscfqsfxbyt7hy+JY5KM7SGDxgrO1IfjcK2NPZRNckI1zCHN9UXb4mRUv1PBKaytjFayYAd9OJ+iUnJfyALsK4HhSVqkWVBFo6iAwyJ+mOz+udw4+jXVf4gQc1BgzjquZbhx96oL8jWSC0mIjhMbbUw9.KTksjQvIN9D1kXcMTaXRYBbyPCyDQ4GEpjINc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ChaK0K+M7qux7x2M5qLejR8Tx2DlRtro7peTGRVkM9NyQcUPiYOg2OoWdn2De4g22V.SeSN102i4GywMH8nMglm70EtmOoBm7r5xkOc4kXX9HU8w6VABxQNlFXQ.WwCB6AXb6VM6jsa0or+7reQeIlmeMJjZxf6oTgatHLFVgaKnziCbd3A6k1FCM0EIMNutJyk40k4Rs0WzqSfuG6zgv0w9HCnMDBr8gCkbsh0IPqh5D3en3t.wC5dDZEbJyE4m7bw3Vu9dyP3lV9wX5+azfWp+W1f24Rgiyi4nG1lydhc3krI4xWRIAhaW0+Fo4flTg2SmGot3MXblV4rP8fcDehssLc+iP9YziovTLlaLEiYsoXLqOEi4lSwXt0TLlaO1wHKFsQff0K7SQPPssBubDisbw.SVw5Q+CogtzXB
This does not work when you compile it and run it as a stand-alone (it probably doesn't work as a VST or AU either but I haven't tested that).
Can someone please load this and try it out? Just so i know its not my environment thats messed up somehow.
-
@Lindon confirmed here, stand-alone not working :(
running latest script node code (2019-10-07) -
@ulrik thanks ------ @Christoph-Hart !!!?
-
Ooopsies, it turns out that the simple gain module has a special treatment and the
ENABLE_ALL_PEAKS_METERS
flag actually doesn't affect the simple gain modules.In order to make peak detection work with simple gain modules, you'll need the
ENABLE_PEAK_METERS_FOR_GAIN_EFFECT
preprocessor macro. The rationale behind this is that in 90% of all cases you will use a simple gain module for peak detection anyway (at least I did) but still don't want to waste CPU performance for the other hundreds of modules.
However this flag only appeared directly in the simple gain module and thus set to 0 by default, which I've changed in a recent commit. So either:
- update to the latest scriptnode version or
- define
ENABLE_PEAK_METERS_FOR_GAIN_EFFECT=1
in your project
-
@Christoph-Hart great thanks!
-
@Christoph-Hart - well partly successful...
using ENABLE_PEAK_METERS_FOR_GAIN_EFFECT=1
it will now show master VU meters correctly, but for any VU meters on a sub-process (like each individual voice in a dual voice rompler) it wont show any thing.