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 Topic RSS sp_TopicIcon
Action on parameter change
Avatar
Ben_1
Member
Members
July 4, 2019 - 5:16 am
Member Since: June 7, 2019
Forum Posts: 5
sp_UserOfflineSmall Offline

Hi All,

I'm looking for somewhere where I can insert code that I want to run whenever any parameter is changed, and only when a parameter is changed. I also need it to be outside of the audio processing methods, so that it has nothing to do with the audio. This is because I'm experimenting with adding support for the Avid's HDX DSP cards, and I need to make sure that this code runs on the host machine, not with the rest of the audio processing on the DSP chip.

I'm considering the PreProcessAudioBuffers method. Although it is called regardless of parameter changes, it should be called to process the parameters regardless of which algorithm is called by the host. Does this seem like a good place? If not, is there a place you can think of that would be a good fit for this code?

Avatar
W Pirkle
Admin
July 8, 2019 - 10:56 am
Member Since: January 28, 2017
Forum Posts: 361
sp_UserOfflineSmall Offline

See the PluginCore::guiParameterChanged( ) function. 

This is detailed in the SuperSaturator project. The function is called whenever a GUI parameter is changed. 

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 85

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

TheSmile: 43

Peter: 41

clau_ste: 39

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 579

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 595

Posts: 2375

Newest Members:

haslo, tomr, Noah, Dave, acv, Vasil992, Vasil92, dowsed, Simple, Chris_1

Moderators: W Pirkle: 361

Administrators: Tom: 73, JD Young: 80, Will Pirkle: 0, W Pirkle: 361