Deluge Firmware 1.3.0
Build date: 2026.03.02
Loading...
Searching...
No Matches
AudioRecorder Class Referencefinal
Inheritance diagram for AudioRecorder:
Collaboration diagram for AudioRecorder:

Public Member Functions

bool opened () override
bool getGreyoutColsAndRows (uint32_t *cols, uint32_t *rows) override
ActionResult buttonAction (deluge::hid::Button b, bool on, bool inCardRoutine) override
bool beginOutputRecording (AudioRecordingFolder folder=AudioRecordingFolder::RESAMPLE, AudioInputChannel channel=AudioInputChannel::OUTPUT, bool writeLoopPoints=false, bool shouldNormalize=true)
void process ()
void slowRoutine ()
bool isCurrentlyResampling ()
void endRecordingSoon (int32_t buttonLatency=0)
void renderOLED (deluge::hid::display::oled_canvas::Canvas &canvas) override
UIType getUIType () override
Public Member Functions inherited from UI
virtual ActionResult padAction (int32_t x, int32_t y, int32_t velocity)
virtual ActionResult horizontalEncoderAction (int32_t offset)
virtual ActionResult verticalEncoderAction (int32_t offset, bool inCardRoutine)
virtual void selectEncoderAction (int8_t offset)
virtual void modEncoderAction (int32_t whichModEncoder, int32_t offset)
virtual void modButtonAction (uint8_t whichButton, bool on)
virtual void modEncoderButtonAction (uint8_t whichModEncoder, bool on)
virtual void graphicsRoutine ()
virtual ActionResult timerCallback ()
virtual void focusRegained ()
virtual void displayOrLanguageChanged ()
virtual bool canSeeViewUnderneath ()
virtual ClipMindertoClipMinder ()
virtual TimelineViewtoTimelineView ()
 Convert this view to a TimelineView.
virtual void scrollFinished ()
virtual bool pcReceivedForMidiLearn (MIDICable &fromCable, int32_t channel, int32_t program)
virtual bool noteOnReceivedForMidiLearn (MIDICable &fromCable, int32_t channel, int32_t note, int32_t velocity)
virtual bool renderMainPads (uint32_t whichRows=0, RGB image[][kDisplayWidth+kSideBarWidth]=nullptr, uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth]=nullptr, bool drawUndefinedArea=true)
virtual bool renderSidebar (uint32_t whichRows=0, RGB image[][kDisplayWidth+kSideBarWidth]=nullptr, uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth]=nullptr)
virtual bool exitUI ()
 returns whether a UI exited
void close ()

Public Attributes

AudioInputChannel recordingSource
SampleRecorderrecorder
bool updatedRecordingStatus = false
Public Attributes inherited from UI
bool oledShowsUIUnderneath

Private Member Functions

void finishRecording ()
bool setupRecordingToFile (AudioInputChannel newMode, int32_t newNumChannels, AudioRecordingFolder folderID, bool writeLoopPoints=false, bool shouldNormalize=true)

Additional Inherited Members

Protected Attributes inherited from UI
UIType uiType

Member Function Documentation

◆ buttonAction()

ActionResult AudioRecorder::buttonAction ( deluge::hid::Button b,
bool on,
bool inCardRoutine )
overridevirtual

Reimplemented from UI.

◆ getGreyoutColsAndRows()

bool AudioRecorder::getGreyoutColsAndRows ( uint32_t * cols,
uint32_t * rows )
overridevirtual

Reimplemented from UI.

◆ getUIType()

UIType AudioRecorder::getUIType ( )
inlineoverridevirtual

Implements UI.

◆ opened()

bool AudioRecorder::opened ( )
overridevirtual

Reimplemented from UI.

◆ renderOLED()

void AudioRecorder::renderOLED ( deluge::hid::display::oled_canvas::Canvas & canvas)
overridevirtual

Implements UI.


The documentation for this class was generated from the following files: