Avatar

Please consider registering
Guest

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 sp_TopicIcon
Using the Analog VU Meters in the GUI Designer
No permission to create posts
October 8, 2017
9:17 am
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
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
Avatar
Gwen
Member
Members
Forum Posts: 32
Member Since:
November 1, 2016
sp_UserOfflineSmall Offline

thanks.

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) 😉

 

Gwen.

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143