void MantaAudioUnitController::mapSelectionToMidiNotes(AudioUnitInstrument & synth)
{
    vector<int> selection = getPadSelection();
    for (auto s : selection) {
        setMidiMapping(s, &synth);
    }
}
Beispiel #2
0
int MantaController::getSizeSelection()
{
    return getPadSelection(0).size() + getPadSelection(1).size() +
    getSliderSelection(0).size() + getSliderSelection(1).size() +
    getButtonSelection(0).size() + getButtonSelection(1).size();
}