6 #ifndef OFXPDSPMIDI_PDSPMIDICONTROLS_H_INCLUDED 7 #define OFXPDSPMIDI_PDSPMIDICONTROLS_H_INCLUDED 12 #include "../DSP/control/SequencerValueOutput.h" 15 #include "helper/MidiCCBuffers.h" 16 #include "helper/Controller.h" 23 namespace pdsp{
namespace midi {
61 std::map<int, pdsp::SequencerValueOutput> outs_cc;
63 void processMidi(
const pdsp::midi::Input &midiInProcessor,
const int &bufferSize ) noexcept
override;
69 void setMaxCCNum(
int ccNum);
83 #endif //OFXPDSPMIDI_PDSPMIDICONTROLS_H_INCLUDED
Takes messages from a MessageBuffer and convert them in an optionally smoothed value output...
Definition: SequencerValueOutput.h:23
pdsp::SequencerValueOutput & out(int cc)
returns a control value corrisponding to the given cc number, the output is mapped to the 0...
Definition: MidiControls.cpp:42
void setCCSlew(float slewTimeMs)
sets the slew times of the CCs
Definition: MidiControls.cpp:18
int getMinCCNum()
returns the lowest CC out
Definition: MidiControls.cpp:30
Definition: MidiControls.h:25
Definition: Controller.h:11
Thread-safe value control with smoothing.
Definition: SequencerBridge.h:11
int getMaxCCNum()
returns the highest CC out
Definition: MidiControls.cpp:34
int getCCSize()
returns number of CC outs
Definition: MidiControls.cpp:38
Definition: MidiCCBuffers.h:18