Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ArpeggiatorForDrum Class Referencefinal

#include <Arpeggiator.h>

Inheritance diagram for ArpeggiatorForDrum:
Inheritance graph
Collaboration diagram for ArpeggiatorForDrum:
Collaboration graph

Public Member Functions

 ArpeggiatorForDrum ()
 
void noteOn (ArpeggiatorSettings *settings, int noteCode, int velocity, ArpReturnInstruction *instruction, int fromMIDIChannel, int16_t const *mpeValues)
 
void noteOff (ArpeggiatorSettings *settings, ArpReturnInstruction *instruction)
 
void reset ()
 
- Public Member Functions inherited from ArpeggiatorBase
virtual void noteOn (ArpeggiatorSettings *settings, int noteCode, int velocity, ArpReturnInstruction *instruction, int fromMIDIChannel, int16_t const *mpeValues)=0
 
void render (ArpeggiatorSettings *settings, int numSamples, uint32_t gateThreshold, uint32_t phaseIncrement, ArpReturnInstruction *instruction)
 
int32_t doTickForward (ArpeggiatorSettings *settings, ArpReturnInstruction *instruction, uint32_t ClipCurrentPos, bool currentlyPlayingReversed)
 
virtual bool hasAnyInputNotesActive ()=0
 
virtual void reset ()=0
 

Public Attributes

ArpNote arpNote
 
- Public Attributes inherited from ArpeggiatorBase
bool gateCurrentlyActive
 
uint32_t gatePos
 
int8_t currentOctave
 
int8_t currentDirection
 
bool playedFirstArpeggiatedNoteYet
 
uint8_t lastVelocity
 
int16_t noteCodeCurrentlyOnPostArp
 
uint8_t outputMIDIChannelForNoteCurrentlyOnPostArp
 

Protected Member Functions

void switchNoteOn (ArpeggiatorSettings *settings, ArpReturnInstruction *instruction)
 
bool hasAnyInputNotesActive ()
 
- Protected Member Functions inherited from ArpeggiatorBase
virtual void switchNoteOn (ArpeggiatorSettings *settings, ArpReturnInstruction *instruction)=0
 
void switchAnyNoteOff (ArpReturnInstruction *instruction)
 

Constructor & Destructor Documentation

◆ ArpeggiatorForDrum()

ArpeggiatorForDrum::ArpeggiatorForDrum ( )

Member Function Documentation

◆ hasAnyInputNotesActive()

bool ArpeggiatorForDrum::hasAnyInputNotesActive ( )
protectedvirtual

Implements ArpeggiatorBase.

◆ noteOff()

void ArpeggiatorForDrum::noteOff ( ArpeggiatorSettings settings,
ArpReturnInstruction instruction 
)

◆ noteOn()

void ArpeggiatorForDrum::noteOn ( ArpeggiatorSettings settings,
int  noteCode,
int  velocity,
ArpReturnInstruction instruction,
int  fromMIDIChannel,
int16_t const *  mpeValues 
)
virtual

Implements ArpeggiatorBase.

◆ reset()

void ArpeggiatorForDrum::reset ( )
virtual

Implements ArpeggiatorBase.

◆ switchNoteOn()

void ArpeggiatorForDrum::switchNoteOn ( ArpeggiatorSettings settings,
ArpReturnInstruction instruction 
)
protectedvirtual

Implements ArpeggiatorBase.

Member Data Documentation

◆ arpNote

ArpNote ArpeggiatorForDrum::arpNote

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