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
Going beyond 40 controls
No permission to create posts
September 29, 2013
6:11 am
Avatar
RMA
Member
Members
Forum Posts: 12
Member Since:
September 28, 2013
sp_UserOfflineSmall Offline

I've had a great time building up a synth in RackAFX (and I love the book). But I'm not sure what to do now that I need to go past 40 sliders. I'm sure 40 is enough for an effect, but my synth quickly runneth over, with envelopes for three oscillators, fine-tuning controls, filter controls, etc.

Is there a way to add more controls? Or have I simply outgrown RackAFX for this project?

Another thought I had was to reuse my ADSR controls for all envelopes, but that only works well if I can set the values of controls as well as read them. Is that easy to do?

September 29, 2013
6:45 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

In the upper right there is a LCD Control that allows you to embed 1024(!!) more continuous (slider) controls. See p.519 in the book for details on using it; the embedded controls use the same Slider Setup interface, variable naming, etc... so it will all be very familiar. The LCD control uses an alpha wheel and value knob.

I added that control after we ran out of sliders during my Synth Class a few years ago. It is based on the LCD control on the Korg Wavestation (or any number of 80's/90's synths). We took the 40 most important controls (ie most likely to be used often) and assigned them to sliders on the main UI, and then put the rest in the LCD control.

As far as sharing slider controls, yes you can do that too but you have to be careful about Presets. To set a slider programmatically, first change the underlying variable (m_fVolume) in you code, then call:

void sendSliderCtrlUpdate(UINT uID);

and pass it the Control ID; RackAFX will then update the slider to the new variable.

To handle presets when you have more than one variable assigned to a slider (which is what it looks like you need to do) override and fill out:

virtual void setAddtlPresetValue(UINT index, float value);
virtual float getAddtlPresetValue(UINT index);
virtual int getNumAddtlPresets();

- Will

September 29, 2013
9:33 pm
Avatar
RMA
Member
Members
Forum Posts: 12
Member Since:
September 28, 2013
sp_UserOfflineSmall Offline

Wow, that's awesome, Will.

I'm quite happy that I can stay in RackFX and get everything tweaked around the way I want it before VST, AU, iPad, etc. Thanks for the rapid response! I read the whole book before I started and I must have just forgotten page 519 when I jumped into coding my own. :-)

September 29, 2013
10:06 pm
Avatar
RMA
Member
Members
Forum Posts: 12
Member Since:
September 28, 2013
sp_UserOfflineSmall Offline

OK. I got it goin' on. Thanks again.

Now I'm thinking I should move some of my existing controls over into the Alpha Wheel an, as you say, keep the 40 most accessed ones on the main page. Any advice on moving controls around in the easiest way possible if I want the first 40 controls in a different order?

October 1, 2013
10:48 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Unfortunately, there isn't an easy way to re-arrange bulk sliders (there's a copy function that makes it easy to clone them). This would be a good option for a future release (swap sliders or assign to new control number).

Will

October 2, 2013
1:00 am
Avatar
RMA
Member
Members
Forum Posts: 12
Member Since:
September 28, 2013
sp_UserOfflineSmall Offline

Yeah, I ended up using copy, renaming two fields to get past the checking, deleting the old one, and then renaming again. A move would be nice, but this works. :-)

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: 477

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 483

Posts: 1877

Newest Members:

Jaggxn, 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