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

#include <Arpeggiator.h>

Inheritance diagram for Arpeggiator:
Inheritance graph
Collaboration diagram for Arpeggiator:
Collaboration graph

Public Member Functions

 Arpeggiator ()
 
void reset ()
 
void noteOn (ArpeggiatorSettings *settings, int noteCode, int velocity, ArpReturnInstruction *instruction, int fromMIDIChannel, int16_t const *mpeValues)
 
void noteOff (ArpeggiatorSettings *settings, int noteCodePreArp, ArpReturnInstruction *instruction)
 
bool hasAnyInputNotesActive ()
 
- 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

OrderedResizeableArray notes
 
int16_t whichNoteCurrentlyOnPostArp
 
- 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)
 
- Protected Member Functions inherited from ArpeggiatorBase
virtual void switchNoteOn (ArpeggiatorSettings *settings, ArpReturnInstruction *instruction)=0
 
void switchAnyNoteOff (ArpReturnInstruction *instruction)
 

Constructor & Destructor Documentation

◆ Arpeggiator()

Arpeggiator::Arpeggiator ( )

Member Function Documentation

◆ hasAnyInputNotesActive()

bool Arpeggiator::hasAnyInputNotesActive ( )
virtual

Implements ArpeggiatorBase.

◆ noteOff()

void Arpeggiator::noteOff ( ArpeggiatorSettings settings,
int  noteCodePreArp,
ArpReturnInstruction instruction 
)

◆ noteOn()

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

Implements ArpeggiatorBase.

◆ reset()

void Arpeggiator::reset ( )
virtual

Implements ArpeggiatorBase.

◆ switchNoteOn()

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

Implements ArpeggiatorBase.

Member Data Documentation

◆ notes

OrderedResizeableArray Arpeggiator::notes

◆ whichNoteCurrentlyOnPostArp

int16_t Arpeggiator::whichNoteCurrentlyOnPostArp

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