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?
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?
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?
Sorry for the delay - semester is winding down and time is speeding up.
I just did a test with RackAFX v184.108.40.206 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.
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.
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!
Most Users Ever Online: 152
Currently Online: DrWig
Currently Browsing this Page:
Guest Posters: 1
Moderators: W Pirkle: 656