|
OpenWareLaboratory
|
Abstract base class for patches that use a monochrome screen. More...


Public Member Functions | |
| virtual void | buttonChanged (PatchButtonId bid, uint16_t value, uint16_t samples) |
| AudioBuffer * | createMemoryBuffer (int channels, int samples) |
| virtual void | encoderChanged (PatchParameterId pid, int16_t delta, uint16_t samples) |
| float | getBlockRate () |
| int | getBlockSize () |
| float | getElapsedBlockTime () |
| int | getElapsedCycles () |
| FloatParameter | getFloatParameter (const char *name, float min, float max, float defaultValue=0.0f, float lambda=0.0f, float delta=0.0, float skew=LIN) |
| IntParameter | getIntParameter (const char *name, int min, int max, int defaultValue=0, float lambda=0.0f, float delta=0.0, float skew=LIN) |
| int | getNumberOfChannels () |
| FloatParameter | getParameter (const char *name, float defaultValue) |
| float | getParameterValue (PatchParameterId pid) |
| Resource * | getResource (const char *name) |
| Get a resource (such as a stored FloatArray) from the firmware. More... | |
| float | getSampleRate () |
| int | getSamplesSinceButtonPressed (PatchButtonId bid) |
| uint16_t | getScreenHeight () |
| uint16_t | getScreenWidth () |
| bool | isButtonPressed (PatchButtonId bid) |
| MonochromeScreenPatch () | |
| virtual void | processAudio (AudioBuffer &audio)=0 |
| virtual void | processScreen (MonochromeScreenBuffer &screen)=0 |
| void | registerParameter (PatchParameterId pid, const char *name) |
| void | registerParameter (PatchParameterId pid, const char *name, const char *desc) |
| void | setButton (PatchButtonId bid, uint16_t value, uint16_t samples=0) |
| void | setParameterValue (PatchParameterId pid, float value) |
| virtual | ~MonochromeScreenPatch () |
Static Public Attributes | |
| static const float | EXP |
| constant skew values for exponential, linear and logarithmic parameters More... | |
| static const float | LIN |
| static const float | LOG |
| static const uint16_t | OFF |
| static const uint16_t | ON |
Abstract base class for patches that use a monochrome screen.
Compatible OLED drivers: SSD1309
Definition at line 17 of file MonochromeScreenPatch.h.
| MonochromeScreenPatch::MonochromeScreenPatch | ( | ) |
Definition at line 20 of file MonochromeScreenPatch.cpp.
References onDrawCallback().
|
virtual |
Definition at line 25 of file MonochromeScreenPatch.cpp.
|
inlinevirtualinherited |
|
inherited |
|
inlinevirtualinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Get a resource (such as a stored FloatArray) from the firmware.
If the resource does not exist, this raises an error. If the resource exists but is not memory mapped, this will allocate new memory.
|
inherited |
|
inherited |
| uint16_t MonochromeScreenPatch::getScreenHeight | ( | ) |
Definition at line 30 of file MonochromeScreenPatch.cpp.
| uint16_t MonochromeScreenPatch::getScreenWidth | ( | ) |
Definition at line 27 of file MonochromeScreenPatch.cpp.
|
inherited |
|
pure virtualinherited |
Implemented in TemplatePatch.
|
pure virtual |
Referenced by onDrawCallback().
|
inherited |
Referenced by Patch::registerParameter(), and TemplatePatch::TemplatePatch().
|
inlineinherited |
Definition at line 42 of file Patch.h.
References Patch::registerParameter().
|
inherited |
|
inherited |
|
staticinherited |