← Back

ofxSendFx

github.com/ofxyz/ofxSendFx · @ofxyz
OF 0.12 Sound Utilities

Plug-and-play send/return FX bus for openFrameworks

1 0 Last commit 2mo ago Created 4mo ago

README

ofxSendFx



Plug-and-play send/return FX bus for openFrameworks.

Core API



#include "ofxSendFx.h"

auto fx = ofxsendfx::FxFactory::create("midiverb"); // needs ofxMidiverb in addons.make
fx->setup(44100, 2);
ofxsendfx::applySendFx(masterBuffer, sendBuffer, *fx);


Factory ids built in: pass, schroeder, bitcrush. Register more with FxFactory::registerCreator.

Using SoundObjects (ofxSendFxSoundObjects)



#include "FxObject.h"

ofxsendfx::FxObject reverb("midiverb");
osc.connectTo(delay).connectTo(reverb).connectTo(output);


Plugin



Implement ofxsendfx::ISendFx and register in a static initializer:

FxFactory::registerCreator("myfx", [] { return std::make_unique<MySendFx>(); });


maxBlockFrames() must reflect your DSP (Midiverb: 256).

Get this addon

HTTPS
SSH