VCV Rack API v2
|
Deprecated. More...
#include <vumeter.hpp>
Public Member Functions | |
void | setValue (float v) |
Value should be scaled so that 1.0 is clipping. | |
float | getBrightness (int i) |
Returns the brightness of the light indexed by i. | |
Public Attributes | |
float | dBInterval = 3.0 |
Decibel level difference between adjacent meter lights. | |
float | dBScaled |
Deprecated.
Use VuMeter2 instead.
|
inline |
Value should be scaled so that 1.0 is clipping.
|
inline |
Returns the brightness of the light indexed by i.
Light 0 is a clip light (red) which is either on or off. All others are smooth lights which are fully bright at -dBInterval*i and higher, and fully off at -dBInterval*(i-1).
float rack::dsp::VuMeter::dBInterval = 3.0 |
Decibel level difference between adjacent meter lights.
float rack::dsp::VuMeter::dBScaled |