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

#include <voicesampleplaybackguide.h>

Inheritance diagram for VoiceSamplePlaybackGuide:
Inheritance graph
Collaboration diagram for VoiceSamplePlaybackGuide:
Collaboration graph

Public Member Functions

 VoiceSamplePlaybackGuide ()
 
void setupPlaybackBounds (bool reversed)
 
bool shouldObeyLoopEndPointNow ()
 
int32_t getBytePosToStartPlayback (bool justLooped)
 
int32_t getBytePosToEndOrLoopPlayback ()
 
int getLoopingType (Source *source)
 
uint32_t getLoopStartPlaybackAtByte ()
 
uint32_t getLoopEndPlaybackAtByte ()
 
- Public Member Functions inherited from SamplePlaybackGuide
 SamplePlaybackGuide ()
 
int getFinalClusterIndex (Sample *sample, bool obeyMarkers, int32_t *getEndPlaybackAtByte=NULL)
 
virtual int32_t getBytePosToStartPlayback (bool justLooped)
 
virtual int32_t getBytePosToEndOrLoopPlayback ()
 
virtual void setupPlaybackBounds (bool reversed)
 
virtual uint32_t getLoopStartPlaybackAtByte ()
 
virtual uint32_t getLoopEndPlaybackAtByte ()
 
uint64_t getSyncedNumSamplesIn ()
 
int32_t getNumSamplesLaggingBehindSync (VoiceSample *voiceSample)
 
int32_t adjustPitchToCorrectDriftFromSync (VoiceSample *voiceSample, int32_t phaseIncrement)
 

Public Attributes

uint32_t loopStartPlaybackAtByte
 
uint32_t loopEndPlaybackAtByte
 
bool noteOffReceived
 
- Public Attributes inherited from SamplePlaybackGuide
int8_t playDirection
 
AudioFileHolderaudioFileHolder
 
uint32_t startPlaybackAtByte
 
uint32_t endPlaybackAtByte
 
int32_t sequenceSyncStartedAtTick
 
uint32_t sequenceSyncLengthTicks
 

Constructor & Destructor Documentation

◆ VoiceSamplePlaybackGuide()

VoiceSamplePlaybackGuide::VoiceSamplePlaybackGuide ( )

Member Function Documentation

◆ getBytePosToEndOrLoopPlayback()

int32_t VoiceSamplePlaybackGuide::getBytePosToEndOrLoopPlayback ( )
virtual

Reimplemented from SamplePlaybackGuide.

◆ getBytePosToStartPlayback()

int32_t VoiceSamplePlaybackGuide::getBytePosToStartPlayback ( bool  justLooped)
virtual

Reimplemented from SamplePlaybackGuide.

◆ getLoopEndPlaybackAtByte()

uint32_t VoiceSamplePlaybackGuide::getLoopEndPlaybackAtByte ( )
inlinevirtual

Reimplemented from SamplePlaybackGuide.

◆ getLoopingType()

int VoiceSamplePlaybackGuide::getLoopingType ( Source source)

◆ getLoopStartPlaybackAtByte()

uint32_t VoiceSamplePlaybackGuide::getLoopStartPlaybackAtByte ( )
inlinevirtual

Reimplemented from SamplePlaybackGuide.

◆ setupPlaybackBounds()

void VoiceSamplePlaybackGuide::setupPlaybackBounds ( bool  reversed)
virtual

Reimplemented from SamplePlaybackGuide.

◆ shouldObeyLoopEndPointNow()

bool VoiceSamplePlaybackGuide::shouldObeyLoopEndPointNow ( )

Member Data Documentation

◆ loopEndPlaybackAtByte

uint32_t VoiceSamplePlaybackGuide::loopEndPlaybackAtByte

◆ loopStartPlaybackAtByte

uint32_t VoiceSamplePlaybackGuide::loopStartPlaybackAtByte

◆ noteOffReceived

bool VoiceSamplePlaybackGuide::noteOffReceived

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