Aviate Audio Multiverse Library
|
The TunerManager class provides an API to access the Tuner display on the Multiverse hardware screen. More...
#include <TunerManager.h>
Public Member Functions | |
TunerManager (Avalon::AvalonHardwareControls &hardwareControls) | |
void | setTunerMode (bool enabled) |
Set the TunerMode on the display to on or off. More... | |
bool | getTunerMode () |
Retrieve the tuner mode. More... | |
void | sendNoteUpdate (TunerNote note, float cents, bool noFiltering=false) |
Send an update to the tuner display. More... | |
The TunerManager class provides an API to access the Tuner display on the Multiverse hardware screen.
Important: you do not call the TunerManager constructor. The system constructors and initializes the tuner via tunerManagerPtr. Use this pointer to access the TunerManager.
bool Aviate::TunerManager::getTunerMode | ( | ) |
Retrieve the tuner mode.
void Aviate::TunerManager::sendNoteUpdate | ( | TunerNote | note, |
float | cents, | ||
bool | noFiltering = false |
||
) |
Send an update to the tuner display.
note | the nearest note to the detected pitch |
cents | the difference in cents to the nearest note. Must be (-50.0f <= cents <= 50.0f) |
noFiltering | when set to true, disableds the built-in smoothing of the displayed results. Use this when you want to do your own custom smoothing of the results in your EFX instead. |
void Aviate::TunerManager::setTunerMode | ( | bool | enabled | ) |
Set the TunerMode on the display to on or off.
enabled | when true, the Tuner display mode is enabled, when false, it is disabled. |