|
void | addTriggerLayer (int noteLow, int noteHigh, int channel=0) |
| adds a new trigger layer. This will parse the notes from noteLow o noteHigh (both included) and convert the midi message to a pdsp trigger output More...
|
|
void | setTriggerLayer (int layerIndex, int noteLow, int noteHigh, int channel=0) |
| sets a trigger layer. This layer will parse the notes from noteLow o noteHigh (both included) and convert the midi message to a pdsp trigger output More...
|
|
void | resizeLayers (int size) |
| resizes the trigger layers number More...
|
|
void | simpleInit (int lowNote, int numLayer, int layerSpan=1, int channel=0) |
| inits the class setting its layer starting from low note, setting span notes for each layer, with numNotes layer. The layers' note don't overlap. More...
|
|
pdsp::SequencerGateOutput & | out_trig (int layerIndex) |
| return the trigger output of the given note layer. More...
|
|
int | getLayerLow (int layerIndex) const |
| returns the low note for the given layer More...
|
|
int | getLayerHigh (int layerIndex) const |
| returns the high note for the given layer More...
|
|
virtual void | processMidi (const pdsp::midi::Input &midiInProcessor, const int &bufferSize) noexcept=0 |
|
◆ addTriggerLayer()
void pdsp::midi::Pads::addTriggerLayer |
( |
int |
noteLow, |
|
|
int |
noteHigh, |
|
|
int |
channel = 0 |
|
) |
| |
adds a new trigger layer. This will parse the notes from noteLow o noteHigh (both included) and convert the midi message to a pdsp trigger output
- Parameters
-
[in] | noteLow | low note for parsing, included |
[in] | noteLow | high note for parsing, included |
[in] | channel | midi channel, 0 if not given. 0 = all channels |
◆ getLayerHigh()
int pdsp::midi::Pads::getLayerHigh |
( |
int |
layerIndex | ) |
const |
returns the high note for the given layer
- Parameters
-
[in] | layerIndex | layer index |
◆ getLayerLow()
int pdsp::midi::Pads::getLayerLow |
( |
int |
layerIndex | ) |
const |
returns the low note for the given layer
- Parameters
-
[in] | layerIndex | layer index |
◆ out_trig()
return the trigger output of the given note layer.
- Parameters
-
[in] | layerIndex | layer index |
◆ resizeLayers()
void pdsp::midi::Pads::resizeLayers |
( |
int |
size | ) |
|
resizes the trigger layers number
- Parameters
-
◆ setTriggerLayer()
void pdsp::midi::Pads::setTriggerLayer |
( |
int |
layerIndex, |
|
|
int |
noteLow, |
|
|
int |
noteHigh, |
|
|
int |
channel = 0 |
|
) |
| |
sets a trigger layer. This layer will parse the notes from noteLow o noteHigh (both included) and convert the midi message to a pdsp trigger output
- Parameters
-
[in] | layerIndex | index of the layer to set |
[in] | noteLow | low note for parsing, included |
[in] | noteLow | high note for parsing, included |
[in] | channel | midi channel, 0 if not given. 0 = all channels |
◆ simpleInit()
void pdsp::midi::Pads::simpleInit |
( |
int |
lowNote, |
|
|
int |
numLayer, |
|
|
int |
layerSpan = 1 , |
|
|
int |
channel = 0 |
|
) |
| |
inits the class setting its layer starting from low note, setting span notes for each layer, with numNotes layer. The layers' note don't overlap.
- Parameters
-
[in] | lowNote | the lowest note of the first layer |
[in] | numLayer | the number of layers |
[in] | layerSpan | how many notes each layer has |
[in] | channel | midi channel for all the laters, 0 if not given. 0 = all channels |
The documentation for this class was generated from the following files: