How to save kAudioUnitType_Effect values in ofxAudioUnit

the “example-3-busses” shows how to open a GUI and manipulate effects like low pass filter , band pass filter, peak limiter, etc

but these values do not get saved; i.e. after closing and opening the app the settings are gone.

i know i could read each value out and re-set them as per the “examples-4-paramter”
via printParameterList() and AudioUnitSetParameter().

but maybe there is an easier way ?

thanks, stephan.

Yepp, just save a preset, then load it again on startup.


void ofApp::setup() {

void ofApp::exit() {

It’s up to the audio unit manufacturer to determine what goes into a preset, though in practice it’s usually every parameter.

nice this works like a charm.