I have exported my project as AU project via the Make AU button. Amazing feature!
In the code, I handle GUI changes within userInterfaceChange(), which I think is the way I'm supposed to go. I'm using the "non-GUI" version.
The problem I'm having is, that buttonBanks and assignableButtons do not call the userInterfaceChange() methode when changed in the AU version. The faders do. The used member variable does alter though. So I can use the values of a button's member variable, but I do not get informed about the change.
########### Additional Info ###############
I was wrong.
I have added some debug logs. userInterfaceChange() IS actually called, but the nControlIndex differs.
Yes, the index values are re-numbered to be sequential from 0 on up. This has to be done to make the indexing correct. Both VST and AU exports work this way. The sliders are first and then the buttons after that. The re-numbering removes any gaps or blank index values from the list. This is also covered in my book Appendix A where it discusses the VST API. The basic "default interfaces" used in both VST and AU require that the index values are sequential with no gaps; RackAFX does not have this limitation.
In the next version I will add a comment-header that will let you know the new sequence. I am afraid if I overwrite your index values in userInterfaceChange() and you make cool and new changes, if you tried to copy the code back into your RAFX project then you'd have the wrong index values...
But you can minimize the problem by setting your sliders up sequentially, left to right in rows top to bottom.
Most Users Ever Online: 152
Currently Browsing this Page:
Guest Posters: 1
Newest Members:oneday, Phelan Kane, audiocoder, agel, Makai, Abyz, Nonlinear, IgorVish, Arjuna, TomMilne
Moderators: W Pirkle: 470
Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 470