|
Deluge Firmware
|
#include <ModControllableAudio.h>


Public Member Functions | |
| ModControllableAudio () | |
| virtual | ~ModControllableAudio () |
| virtual void | cloneFrom (ModControllableAudio *other) |
| void | processStutter (StereoSample *buffer, int numSamples, ParamManager *paramManager) |
| void | processReverbSendAndVolume (StereoSample *buffer, int numSamples, int32_t *reverbBuffer, int32_t postFXVolume, int32_t postReverbVolume, int32_t reverbSendAmount, int32_t pan=0, bool doAmplitudeIncrement=false, int32_t amplitudeIncrement=0) |
| void | writeAttributesToFile () |
| void | writeTagsToFile () |
| int | readTagFromFile (char const *tagName, ParamManagerForTimeline *paramManager, int32_t readAutomationUpToPos, Song *song) |
| void | processSRRAndBitcrushing (StereoSample *buffer, int numSamples, int32_t *postFXVolume, ParamManager *paramManager) |
| void | wontBeRenderedForAWhile () |
| void | endStutter (ParamManagerForTimeline *paramManager) |
| virtual bool | setModFXType (int newType) |
| bool | offerReceivedCCToLearnedParams (MIDIDevice *fromDevice, uint8_t channel, uint8_t ccNumber, uint8_t value, ModelStackWithTimelineCounter *modelStack, int noteRowIndex=-1) |
| bool | offerReceivedPitchBendToLearnedParams (MIDIDevice *fromDevice, uint8_t channel, uint8_t data1, uint8_t data2, ModelStackWithTimelineCounter *modelStack, int noteRowIndex=-1) |
| virtual bool | learnKnob (MIDIDevice *fromDevice, ParamDescriptor paramDescriptor, uint8_t whichKnob, uint8_t modKnobMode, uint8_t midiChannel, Song *song) |
| bool | unlearnKnobs (ParamDescriptor paramDescriptor, Song *song) |
| virtual void | ensureInaccessibleParamPresetValuesWithoutKnobsAreZero (Song *song) |
| virtual char const * | paramToString (uint8_t param) |
| virtual int | stringToParam (char const *string) |
| bool | isBitcrushingEnabled (ParamManager *paramManager) |
| bool | isSRREnabled (ParamManager *paramManager) |
| bool | hasBassAdjusted (ParamManager *paramManager) |
| bool | hasTrebleAdjusted (ParamManager *paramManager) |
| ModelStackWithAutoParam * | getParamFromMIDIKnob (MIDIKnob *knob, ModelStackWithThreeMainThings *modelStack) |
| int | buttonAction (int x, int y, bool on, ModelStackWithThreeMainThings *modelStack) |
| ModelStackWithAutoParam * | getParamFromModEncoder (int whichModEncoder, ModelStackWithThreeMainThings *modelStack, bool allowCreation) |
Public Member Functions inherited from ModControllable | |
| ModControllable () | |
| virtual bool | modEncoderButtonAction (uint8_t whichModEncoder, bool on, ModelStackWithThreeMainThings *modelStack) |
| virtual void | modButtonAction (uint8_t whichModButton, bool on, ParamManagerForTimeline *paramManager) |
| virtual ModelStackWithAutoParam * | getParamFromModEncoder (int whichModEncoder, ModelStackWithThreeMainThings *modelStack, bool allowCreation=true) |
| virtual ModelStackWithAutoParam * | getParamFromMIDIKnob (MIDIKnob *knob, ModelStackWithThreeMainThings *modelStack) |
| virtual uint8_t * | getModKnobMode () |
| virtual bool | isKit () |
| virtual int | getKnobPosForNonExistentParam (int whichModEncoder, ModelStackWithAutoParam *modelStack) |
| virtual int | modEncoderActionForNonExistentParam (int offset, int whichModEncoder, ModelStackWithAutoParam *modelStack) |
| virtual bool | allowNoteTails (ModelStackWithSoundFlags *modelStack, bool disregardSampleLoop=false) |
| virtual void | polyphonicExpressionEventOnChannelOrNote (int newValue, int whichExpressionDimension, int channelOrNoteNumber, int whichCharacteristic) |
| virtual void | monophonicExpressionEvent (int newValue, int whichExpressionDimension) |
Static Public Member Functions | |
| static void | writeParamAttributesToFile (ParamManager *paramManager, bool writeAutomation, int32_t *valuesForOverride=NULL) |
| static void | writeParamTagsToFile (ParamManager *paramManager, bool writeAutomation, int32_t *valuesForOverride=NULL) |
| static bool | readParamTagFromFile (char const *tagName, ParamManagerForTimeline *paramManager, int32_t readAutomationUpToPos) |
| static void | initParams (ParamManager *paramManager) |
Public Attributes | |
| StereoSample | phaserMemory |
| StereoSample | allpassMemory [PHASER_NUM_ALLPASS_FILTERS] |
| int32_t | bassFreq |
| int32_t | trebleFreq |
| int32_t | withoutTrebleL |
| int32_t | bassOnlyL |
| int32_t | withoutTrebleR |
| int32_t | bassOnlyR |
| Delay | delay |
| bool | sampleRateReductionOnLastTime |
| uint8_t | clippingAmount |
| uint8_t | lpfMode |
| uint8_t | modFXType |
| StereoSample * | modFXBuffer |
| uint16_t | modFXBufferWriteIndex |
| LFO | modFXLFO |
| Stutterer | stutterer |
| uint32_t | lowSampleRatePos |
| uint32_t | highSampleRatePos |
| StereoSample | lastSample |
| StereoSample | grabbedSample |
| StereoSample | lastGrabbedSample |
| Compressor | compressor |
| MidiKnobArray | midiKnobArray |
Protected Member Functions | |
| void | processFX (StereoSample *buffer, int numSamples, int modFXType, int32_t modFXRate, int32_t modFXDepth, DelayWorkingState *delayWorkingState, int32_t *postFXVolume, ParamManager *paramManager, int analogDelaySaturationAmount) |
| int32_t | getStutterRate (ParamManager *paramManager) |
| void | beginStutter (ParamManagerForTimeline *paramManager) |
| void | switchDelayPingPong () |
| void | switchDelayAnalog () |
| void | switchLPFMode () |
| void | clearModFXMemory () |
| ModControllableAudio::ModControllableAudio | ( | ) |
|
virtual |
|
protected |
| int ModControllableAudio::buttonAction | ( | int | x, |
| int | y, | ||
| bool | on, | ||
| ModelStackWithThreeMainThings * | modelStack | ||
| ) |
|
protected |
|
virtual |
Reimplemented in AudioOutput, and GlobalEffectable.
| void ModControllableAudio::endStutter | ( | ParamManagerForTimeline * | paramManager | ) |
|
inlinevirtual |
Reimplemented in Sound.
|
virtual |
Reimplemented from ModControllable.
Reimplemented in Sound.
|
virtual |
Reimplemented from ModControllable.
Reimplemented in Sound.
|
protected |
| bool ModControllableAudio::hasBassAdjusted | ( | ParamManager * | paramManager | ) |
| bool ModControllableAudio::hasTrebleAdjusted | ( | ParamManager * | paramManager | ) |
|
static |
| bool ModControllableAudio::isBitcrushingEnabled | ( | ParamManager * | paramManager | ) |
| bool ModControllableAudio::isSRREnabled | ( | ParamManager * | paramManager | ) |
|
virtual |
Reimplemented in Sound.
| bool ModControllableAudio::offerReceivedCCToLearnedParams | ( | MIDIDevice * | fromDevice, |
| uint8_t | channel, | ||
| uint8_t | ccNumber, | ||
| uint8_t | value, | ||
| ModelStackWithTimelineCounter * | modelStack, | ||
| int | noteRowIndex = -1 |
||
| ) |
| bool ModControllableAudio::offerReceivedPitchBendToLearnedParams | ( | MIDIDevice * | fromDevice, |
| uint8_t | channel, | ||
| uint8_t | data1, | ||
| uint8_t | data2, | ||
| ModelStackWithTimelineCounter * | modelStack, | ||
| int | noteRowIndex = -1 |
||
| ) |
|
virtual |
Reimplemented in GlobalEffectable, and Sound.
|
protected |
| void ModControllableAudio::processReverbSendAndVolume | ( | StereoSample * | buffer, |
| int | numSamples, | ||
| int32_t * | reverbBuffer, | ||
| int32_t | postFXVolume, | ||
| int32_t | postReverbVolume, | ||
| int32_t | reverbSendAmount, | ||
| int32_t | pan = 0, |
||
| bool | doAmplitudeIncrement = false, |
||
| int32_t | amplitudeIncrement = 0 |
||
| ) |
| void ModControllableAudio::processSRRAndBitcrushing | ( | StereoSample * | buffer, |
| int | numSamples, | ||
| int32_t * | postFXVolume, | ||
| ParamManager * | paramManager | ||
| ) |
| void ModControllableAudio::processStutter | ( | StereoSample * | buffer, |
| int | numSamples, | ||
| ParamManager * | paramManager | ||
| ) |
|
static |
| int ModControllableAudio::readTagFromFile | ( | char const * | tagName, |
| ParamManagerForTimeline * | paramManager, | ||
| int32_t | readAutomationUpToPos, | ||
| Song * | song | ||
| ) |
|
virtual |
Reimplemented in Sound.
|
virtual |
Reimplemented in GlobalEffectable, and Sound.
|
protected |
|
protected |
|
protected |
| bool ModControllableAudio::unlearnKnobs | ( | ParamDescriptor | paramDescriptor, |
| Song * | song | ||
| ) |
| void ModControllableAudio::wontBeRenderedForAWhile | ( | ) |
| void ModControllableAudio::writeAttributesToFile | ( | ) |
|
static |
|
static |
| void ModControllableAudio::writeTagsToFile | ( | ) |
| StereoSample ModControllableAudio::allpassMemory[PHASER_NUM_ALLPASS_FILTERS] |
| int32_t ModControllableAudio::bassFreq |
| int32_t ModControllableAudio::bassOnlyL |
| int32_t ModControllableAudio::bassOnlyR |
| uint8_t ModControllableAudio::clippingAmount |
| Compressor ModControllableAudio::compressor |
| Delay ModControllableAudio::delay |
| StereoSample ModControllableAudio::grabbedSample |
| uint32_t ModControllableAudio::highSampleRatePos |
| StereoSample ModControllableAudio::lastGrabbedSample |
| StereoSample ModControllableAudio::lastSample |
| uint32_t ModControllableAudio::lowSampleRatePos |
| uint8_t ModControllableAudio::lpfMode |
| MidiKnobArray ModControllableAudio::midiKnobArray |
| StereoSample* ModControllableAudio::modFXBuffer |
| uint16_t ModControllableAudio::modFXBufferWriteIndex |
| LFO ModControllableAudio::modFXLFO |
| uint8_t ModControllableAudio::modFXType |
| StereoSample ModControllableAudio::phaserMemory |
| bool ModControllableAudio::sampleRateReductionOnLastTime |
| Stutterer ModControllableAudio::stutterer |
| int32_t ModControllableAudio::trebleFreq |
| int32_t ModControllableAudio::withoutTrebleL |
| int32_t ModControllableAudio::withoutTrebleR |