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
Hardware incompatibility?
No permission to create posts
August 3, 2017
1:23 am
Avatar
Kevin
Member
Members
Forum Posts: 13
Member Since:
July 30, 2017
sp_UserOfflineSmall Offline

Yes, I'm both a RackAFX and Visual Studio noob. Please go easy on me.

Since I've rolled back from Visual Studio 2017 to Visual Studio 2015 I am having trouble getting a working plugin from following the "Volume" project. It's the first project from the book.

While Visual Studio 2017 was still installed, and since I was dealing with a separate apparent installation issue which has since been resolved, I ran through the entire Volume project several times. Between trials, I'd  delete the entire "Volume" project folder in order to clean the slate and start over. I had working "Volume" plugin after every build. That is until....

Ever since rolling back to Visual Studio 2015 and reinstalling RackAFX I haven't been able to get a working result from running through the "Volume" project.

The symptoms are as follows:

It builds with no errors or warnings, loads into RackAFX as expected, does everything right including sliding up and down under mouse control with the associated numeric readout information seemingly appropriately tracking slider position, all seems perfect except one very important thing....it doesn't change the volume of the audio being played back at all. The slider sliding up and down doesn't seem to have any effect on the audio at all.

I'd be very appreciative of any advice offered to try and resolve this.

August 3, 2017
9:22 am
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Are you building your RAFX plugin for Win32 (aka x86) in Visual Studio? 

RackAFX is a 32-bit application so you need to build for x86 in Visual Studio. The reason that there is a x64 option is to allow you to use the RAFX plugin as a 64-bit VST. 

Finally, when you have issues like this, the best thing to do is actively debug your application, starting with the constructor and then processAudioFrame( ). I have a couple of videos on debugging in Visual Studio on the tutorial page.

- Will

August 3, 2017
9:53 am
Avatar
Kevin
Member
Members
Forum Posts: 13
Member Since:
July 30, 2017
sp_UserOfflineSmall Offline

W Pirkle said
Are you building your RAFX plugin for Win32 (aka x86) in Visual Studio? 

From the "Configuration Manager" it would appear that it is currently set for Win32 (x86), which would seem to indicate that at least my last non working build was done while in this state. 

I haven't made any changes to Visual Studios 2015 configuration since reinstalling it. I believe VS has probably been set to build in Win32 (x86) mode the whole time.

I will look into the videos after work tonight.

I certainly have not spent any time trying to dubug in the constructor or processAudioFrame(). 

Thank you again for the tips.

August 4, 2017
1:51 am
Avatar
Kevin
Member
Members
Forum Posts: 13
Member Since:
July 30, 2017
sp_UserOfflineSmall Offline

[Image Can Not Be Found]As per instruction in Debug video 2, the Volume plugin was copied, and loaded to Reaper for debug purposes. I haven't made it far into the procedure yet, and still plan to spend more time with it tomorrow after work.

However, this screenshot shows how the plugin showed up in Reaper which is much different than how it looks when I load it to RAFX. I wasn't expecting it to look like this. Maybe this is a clue to the other problem I am having. This doesn't seem right does it?

[Image Can Not Be Found]

[Image Can Not Be Found]

Sorry if this picture doesn't work  here is the link https://ibb.co/hkHOCF

August 4, 2017
1:03 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

You need to set the Project Properties with File -> Edit Project and check the Use RackAFX Custom GUI to use the GUI you create in the GUI Designer.

Image Enlarger

And, no the GUI does not change anything with your signal processing. 

- Will

August 4, 2017
10:33 pm
Avatar
Kevin
Member
Members
Forum Posts: 13
Member Since:
July 30, 2017
sp_UserOfflineSmall Offline

Hi Will.

 set the Project Properties with File -> Edit Project and check the Use RackAFX Custom GUI to use the GUI you create in the GUI Designer.

That had a big effect but now no slider shows up at all when I load the new Volume plugin into Reaper. It still looks, behaves the same in RAFX.

Here is what I am getting in Reaper now.

https://ibb.co/mNXx7F

Thank you for bearing with me. I'm hoping your teach a man to fish approach will soon pay dividends with me and I'll be far scarcer on this forum after that. Sorry I still haven't figured out how to upload an image.

August 5, 2017
10:50 am
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

This is the correct GUI in the sense that it is blank. Use the GUI Designer to create your GUI first.

- Will

August 5, 2017
3:41 pm
Avatar
Kevin
Member
Members
Forum Posts: 13
Member Since:
July 30, 2017
sp_UserOfflineSmall Offline

Got it. Thank you.

August 6, 2017
1:10 am
Avatar
Kevin
Member
Members
Forum Posts: 13
Member Since:
July 30, 2017
sp_UserOfflineSmall Offline

I now believe the tools are probably installed correctly and working. 

I still have a long way to go in learning to use them correctly.

The incorrect functionality of my Volume slider project was a coding error on my part. 

Thanks again, will.

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
3 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