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

Public Member Functions

void unassignAllClusterReasons (bool beingDestructed=false) override
void setCents (int32_t newCents)
void recalculateFineTuner ()
void claimClusterReasons (bool reversed, int32_t clusterLoadInstruction=CLUSTER_ENQUEUE) override
void setTransposeAccordingToSamplePitch (bool minimizeOctaves=false, bool doingSingleCycle=false, bool rangeCoversJustOneNote=false, bool thatOneNote=0)
uint32_t getMSecLimit (Source *source)
uint32_t loopLength () const
Public Member Functions inherited from SampleHolder
int64_t getEndPos (bool forTimeStretching=false)
int64_t getDurationInSamples (bool forTimeStretching=false)
void beenClonedFrom (SampleHolder const *other, bool reversed)
int32_t getLengthInSamplesAtSystemSampleRate (bool forTimeStretching=false)
int32_t getLoopLengthAtSystemSampleRate (bool forTimeStretching=false)
void setAudioFile (AudioFile *newAudioFile, bool reversed=false, bool manuallySelected=false, int32_t clusterLoadInstruction=CLUSTER_ENQUEUE) override
Public Member Functions inherited from AudioFileHolder
Error loadFile (bool reversed, bool manuallySelected, bool mayActuallyReadFile, int32_t clusterLoadInstruction=CLUSTER_ENQUEUE, FilePointer *filePointer=nullptr, bool makeWaveTableWorkAtAllCosts=false)

Public Attributes

uint32_t loopStartPos
 In samples. 0 means not set.
uint32_t loopEndPos
int16_t transpose
int8_t cents
bool loopLocked
 Whether the loop length should be kept constant when updating the start/end position.
PhaseIncrementFineTuner fineTuner
ClusterclustersForLoopStart [kNumClustersLoadedAhead]
uint32_t startMSec
uint32_t endMSec
Public Attributes inherited from SampleHolder
uint64_t startPos
uint64_t endPos
int32_t waveformViewScroll
int32_t waveformViewZoom
int32_t neutralPhaseIncrement
ClusterclustersForStart [kNumClustersLoadedAhead]
Public Attributes inherited from AudioFileHolder
String filePath
AudioFileaudioFile
AudioFileType audioFileType

Protected Member Functions

void sampleBeenSet (bool reversed, bool manuallySelected) override
Protected Member Functions inherited from SampleHolder
void claimClusterReasonsForMarker (Cluster **clusters, uint32_t startPlaybackAtByte, int32_t playDirection, int32_t clusterLoadInstruction)

Member Function Documentation

◆ claimClusterReasons()

void SampleHolderForVoice::claimClusterReasons ( bool reversed,
int32_t clusterLoadInstruction = CLUSTER_ENQUEUE )
overridevirtual

Reimplemented from SampleHolder.

◆ sampleBeenSet()

void SampleHolderForVoice::sampleBeenSet ( bool reversed,
bool manuallySelected )
overrideprotectedvirtual

Reimplemented from SampleHolder.

◆ unassignAllClusterReasons()

void SampleHolderForVoice::unassignAllClusterReasons ( bool beingDestructed = false)
overridevirtual

Reimplemented from SampleHolder.

Member Data Documentation

◆ loopEndPos

uint32_t SampleHolderForVoice::loopEndPos

In samples, 0 means no looping active.

Unlike endPos, this may not be beyond the waveform ever!


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