Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Using the Analog VU Meters in the GUI Designer
October 8, 2017 - 9:17 am
Member Since: January 29, 2017
Forum Posts: 656
sp_UserOfflineSmall Offline

The RackAFX GUI Designer includes 4 built-in analog-style VU meters in 4 sizes. These analog meters are actually rendered the same way as a CAnimKnob, using a strip-animation containing a set number of frames that show the needle in the various positions, and also has a red light indicator for clipping. The VU meter is rendered with a custom VU meter control that I designed, which can render either the LED-style with a LED count value, or the analog meter, vertical or horizontal, and normal or inverted (for gain-reduction).

When placing an analog meter in the GUI designer, you need to be just as careful with the:

- dimensions (size)

- image count (the number of frames in the animation)

- height of one image

- 0db Frame (the frame number where the needle is sitting at 0VU)

If you design your own meter in KnobMan (which is what I used to design the RackAFX analog meters) the you also need to be very careful about setting the correct attributes. If either the image-count or the height-of-one image is incorrect, the meter will appear to scroll up and down while the needle is moving -- note the same thing would happen with a custom made knob if you make a similar mistake with its attributes.

The dimensions of the analog meters built-in to the GUI Designer are (X x Y):

biganalogvumeter.png 177 x 94
analogvumeter.png 147 x 78
medanalogvumeter.png 122 x 65
smallanalogvumeter.png 60 x 32

The height-of-one image is always the same as the Y dimension (e.g. 32 for the small meter, 65 for the medium meter, etc...).

The image count is 80 for all meters. 

The 0dB Frame is 52 for all meters.

You will also notice that when you connect your meters to the underlying RackAFX meters, the Custom View name changes. RackAFX uses the VSTGUI4 "custom view" paradigm to properly render its custom VU object. This custom view name is decoded and used to setup the correct dimensions as the meter is loaded. Do not alter this custom view name unless you actually want to make your own VU meter object and use it. 

Finally, you can see the VU meter object if you do a MakeVST, MakeAU or MakeAAX operation. The resulting project folders will include the custom VU object. See the files VuMeterWP.h and VuMeterWP.cpp to see how I am using the strip animation as a meter.

- Will

October 9, 2017 - 8:05 am
Member Since: November 1, 2016
Forum Posts: 32
sp_UserOfflineSmall Offline


When you want to know the exact size & frames (knobs, VU, etc. ...) you just drop it in the RAFX GUI designer, right clic on it and read the size(x,y) and the framenumbers.

i did it for my personnal vu meter, but didn't use knobman.

i used photoshop, after effects and gimp.

made the whole vu meter in photoshop. open the psd file in AE and moved the needle/indicator with the same frames as the original Vu meter,(optionnal=) activated the red LED when needle "enter" the red zone/0DB (not made in my last VU meter). render the final result as PNG sequence.

after that open the PNG sequence in GIMP (this could be possible in photoshop but GIMP as a powerful plugin called "Combine" that makes a vertical film strip in one click !  and ... Voilà !

 photoshop size (bigger & 300 ppp for better rendering):

497834VUmetre.pngImage Enlarger



RAFX good size:

393802VUmetre122x65.pngImage Enlarger


If you want i can give you this personnal VUMeter filmstrip (80frames - 122x65 px) 😉



Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

Nickolai: 39

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 738

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 815

Posts: 3146

Moderators: W Pirkle: 656