Possible bug in RackAFX | Compiler Errors & Warnings | Forum


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
Possible bug in RackAFX
December 30, 2017 - 10:10 am
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Hi Will,


I had that previous problem when the user float initialized to -nan(ind). I had solved it by making it a VSTgui variable, however I had set up some other user float variables via "add user variable", and ended up getting the same thing after a few rebuilds.


The line looks like this:

ui110->cVariableName = "m_fDrumProgrammingVar";
ui110->cEnumeratedList = "";

***Right here:
ui110->dPresetData[0] = -nan(ind);ui110->dPresetData[1] = 0.000000;ui110->dPresetData[2] = 0.000000;ui110->dPresetData[3] = 0.000000;ui110->dPresetData[4] =

0.000000;ui110->dPresetData[5] = 0.000000;ui110->dPresetData[6] = 0.000000;ui110->dPresetData[7] = 0.000000;ui110->dPresetData[8] = 0.000000;ui110->dPresetData[9] = 0.000000;ui110->dPresetData[10] = 0.000000;ui110->dPresetData[11] = 0.000000;ui110->dPresetData[12] = 0.000000;ui110->dPresetData[13] = 0.000000;ui110->dPresetData[14] = 0.000000;ui110->dPresetData[15] = 0.000000;
ui110->cControlName = "m_fDrumProgrammingVar";

This is just an example I made up after fixing the errors, but it always seems to happen at that point, and it is with user-added floats.

It always happens at dPresetData[0], so somehow it is initializing with garbage as opposed to its starting value.

The subsequent presetdata indices all seem to reflect the correct values.

I figured it was worth pointing out in case it is an issue with RackAFX itself.

For now, I'm just making the variables with extra sliders - which should work.


Best regards,



December 31, 2017 - 10:47 am
Member Since: January 29, 2017
Forum Posts: 693
sp_UserOfflineSmall Offline

Hi Jimmy

Yes, I identified this and it is now fixed in v6.9 - I will release it during the week of Jan 6th. It also includes limit settings for the user variables.

At some point, I'll be offering some RackAFX bling on the site - remind me of this bug report and I'll hook you up with a t-shirt or baseball cap... : )

- Will

January 4, 2018 - 6:37 pm
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Hi Will


That sounds excellent! I will happily rock some RackAFX bling onstage.


Thanks very much!


Best regards,



Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 2

Members: 784

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 850

Posts: 3372

Moderators: W Pirkle: 693