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 Topic RSS sp_TopicIcon
LED VU Meter problem
Avatar
Member
Members
April 5, 2018 - 8:27 pm
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Hello,

 

I'm having a particularly strange problem. I had created my own VU meter graphics, and added them. I have special buffers to feed the signal to them.

 

The problem is that they work perfectly when loaded in RackAFX, but they only remain in the 'off' position on other DAWs - no matter what I do (including upping the gain, etc).

I tried the graphic included in RackAFX with the same exact issue.

 

Is there something that should be getting updated that isn't recognized by a DAW?

Avatar
Admin
April 6, 2018 - 7:19 am
Member Since: January 29, 2017
Forum Posts: 656
sp_UserOfflineSmall Offline

What API? Are you compiling for VST with the SDK, or using the RackAFX DLL as a VST? Or is this AU/AAX?

Avatar
Member
Members
April 6, 2018 - 7:11 pm
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Hi Will. I have been compiling as a 32-bit .dll which is compiled and placed in the .../AppData/Roaming/RackAFX/Plugins folder. So I think that's the RackAfx.dll being used as a VST, is that correct?

Avatar
Admin
April 7, 2018 - 1:32 pm
Member Since: January 29, 2017
Forum Posts: 656
sp_UserOfflineSmall Offline

Yes, it is the RAFX DLL - one last thing - are you creating the VU meter in the normal manner (right click on the meter in the User Meters area)? There are 20 visible meters choose from, 10 on the top row, and 10 on the bottom row, and 1024 more "bonus" meters that are not visible but may also be used in a custom GUI. Which ones are you using? The first 10, second 10, or one of the 1024 bonus meters?

Thanks

Avatar
Member
Members
April 7, 2018 - 1:57 pm
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Hi Will,

I had actually used from the first 10 (top row).

I had to roll back temporarily to before I used them due to some other trouble I had run into - but once that's fixed I'll get these back into action.

I think I got so embroiled in my algorithms/gui design etc that I forgot the basics - building/exporting the VST. 

 

If I can ask - would that possibly be why it isn't responding in the DAW - that the RackAFX .dll behaves differently?

 

Sorry for so many questions - but I'd like to tack on one more that is related:

My output signal for the VU meters is such that it is split in a way that different values are reflected on them (so it is like a series of VU meters showing the signal at different states).

 

This works fine, but really if given the choice I'd like to reflect the peak values interpolated across a line - so the result is a wavy line showing the shape of the respective peaks.

Is there is a sample project or tutorial that could point me in the right direction to carry out something like that?

Avatar
Admin
April 10, 2018 - 9:35 am
Member Since: January 29, 2017
Forum Posts: 656
sp_UserOfflineSmall Offline

Hi Jimmy

Sorry for the delay - semester is winding down and time is speeding up.

I just did a test with RackAFX v6.9.1.0 and created a simple Meter-Only plugin with 10 LED meters that show the input volume. I used the stock segmented LED graphic in the GUI Designer and the entire top row of 10 LED meters in RackAFX (the modern knobby GUI, not the old grey-sliders "classic" GUI).

I compiled and tested in RackAFX with no problem, and then exported the DLL directly as a 32-bit VST plugin, testing it in Reaper as both a VST3 and VST2 plugin - no problem. I recompiled it as a x64 plugin, and then exported the DLL and used it as a 64-bit VST2 in Ableton Live 9. No problem. 

Image Enlarger

The RackAFX-as-VST DLL paradigm involves linking the plugin to a large library called Sock2VST3.lib, which you can find in your project's linker settings. When you export your plugin as a native VST project and compile with the VST SDK, you create a clean, VST-only version, which of course will not work in RackAFX. The differences between compiling a native VST and using the RackAFX plugin are negligible - the Sock2VST3 library code looks very similar to the native VST plugin code. But, I always recommend compiling as a native VST because it will always use the latest SDK, whereas the Sock2VST3 library is usually one or two revisions behind (due to me getting burned by SDKs that broke old code). 

For your other question: the closest thing you can get is one of the CustomView tutorial projects that shows an audio histogram, but you'd need to do a lot of your own studying of the VSTGUI4 library to make this work properly as a level display.

In addition, I'm currently working on the RAFX2 API which will be available in the Fall of 2018 (4-5 months from now), to coincide with something else I'm working on... But that API also changes the way Custom Views are dealt with, in a much cleaner and better way. When this version comes out, I will freeze the current API (called RAFX1). If time is not critical, I'd suggest waiting for that version because of how much easier custom views will be.

- Will

Avatar
Member
Members
April 13, 2018 - 7:46 am
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Hi Will,

 

No problem! Thanks for taking the time to answer our questions.

 

I may have mucked up something in the code - as there were other problems as well. I rolled back to an earlier revision, so I'll try it again with the meters this weekend.

 

I'll also go through the CustomView examples - as I could use some brushing up on the advanced GUI stuff anyhow, and I look forward to RAFX2!

 

Thank you again!

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online: DrWig
5 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