ofxPDSP
pdsp::midi::Controls Class Reference
Inheritance diagram for pdsp::midi::Controls:
pdsp::Controller

Public Member Functions

 Controls (int maxCC)
 
void setCCSlew (float slewTimeMs)
 sets the slew times of the CCs More...
 
int getMinCCNum ()
 returns the lowest CC out
 
int getMaxCCNum ()
 returns the highest CC out
 
int getCCSize ()
 returns number of CC outs
 
pdsp::SequencerValueOutputout (int cc)
 returns a control value corrisponding to the given cc number, the output is mapped to the 0.0f-1.0f range. More...
 
- Public Member Functions inherited from pdsp::Controller
virtual void processMidi (const pdsp::midi::Input &midiInProcessor, const int &bufferSize) noexcept=0
 

Member Function Documentation

◆ out()

pdsp::SequencerValueOutput & pdsp::midi::Controls::out ( int  cc)

returns a control value corrisponding to the given cc number, the output is mapped to the 0.0f-1.0f range.

Parameters
[in]ccthe cc number for the output

◆ setCCSlew()

void pdsp::midi::Controls::setCCSlew ( float  slewTimeMs)

sets the slew times of the CCs

Parameters
[in]slewTimeMsnew slew time in milliseconds

The documentation for this class was generated from the following files: