Cabbage Logo
Back to Cabbage Site

Meter value

Sorry fo the silly question but why in the Cabbage meter documentation example

 k1 rms a1, 20
 k2 rms a2, 20
 cabbageSetValue "vu1", portk(k1*10, .25), metro(10)
 cabbageSetValue "vu2", portk(k2*10, .25), metro(10)

rms value is multiplied by 10?

It was merely to give a better range for what is being displayed. Doesn’t make any scientific sense whatsoever :rofl:

:joy: So the range displayed is 0-1, correct?

Yes, the meter widget expects values within that range.

1 Like