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

#include <source.h>

Collaboration diagram for Source:
Collaboration graph

Public Member Functions

 Source ()
 
 ~Source ()
 
bool renderInStereo (SampleHolder *sampleHolder=NULL)
 
void setCents (int newCents)
 
void recalculateFineTuner ()
 
int32_t getLengthInSamplesAtSystemSampleRate (int note, bool forTimeStretching=false)
 
void detachAllAudioFiles ()
 
int loadAllSamples (bool mayActuallyReadFiles)
 
void setReversed (bool newReversed)
 
int getRangeIndex (int note)
 
MultiRangegetRange (int note)
 
MultiRangegetOrCreateFirstRange ()
 
bool hasAtLeastOneAudioFileLoaded ()
 
void doneReadingFromFile (Sound *sound)
 
bool hasAnyLoopEndPoint ()
 
void setOscType (int newType)
 

Public Attributes

SampleControls sampleControls
 
uint8_t oscType
 
int16_t transpose
 
int8_t cents
 
PhaseIncrementFineTuner fineTuner
 
MultiRangeArray ranges
 
uint8_t repeatMode
 
int8_t timeStretchAmount
 
int16_t defaultRangeI
 

Constructor & Destructor Documentation

◆ Source()

Source::Source ( )

◆ ~Source()

Source::~Source ( )

Member Function Documentation

◆ detachAllAudioFiles()

void Source::detachAllAudioFiles ( )

◆ doneReadingFromFile()

void Source::doneReadingFromFile ( Sound sound)

◆ getLengthInSamplesAtSystemSampleRate()

int32_t Source::getLengthInSamplesAtSystemSampleRate ( int  note,
bool  forTimeStretching = false 
)

◆ getOrCreateFirstRange()

MultiRange * Source::getOrCreateFirstRange ( )

◆ getRange()

MultiRange * Source::getRange ( int  note)

◆ getRangeIndex()

int Source::getRangeIndex ( int  note)

◆ hasAnyLoopEndPoint()

bool Source::hasAnyLoopEndPoint ( )

◆ hasAtLeastOneAudioFileLoaded()

bool Source::hasAtLeastOneAudioFileLoaded ( )

◆ loadAllSamples()

int Source::loadAllSamples ( bool  mayActuallyReadFiles)

◆ recalculateFineTuner()

void Source::recalculateFineTuner ( )

◆ renderInStereo()

bool Source::renderInStereo ( SampleHolder sampleHolder = NULL)

◆ setCents()

void Source::setCents ( int  newCents)

◆ setOscType()

void Source::setOscType ( int  newType)

◆ setReversed()

void Source::setReversed ( bool  newReversed)

Member Data Documentation

◆ cents

int8_t Source::cents

◆ defaultRangeI

int16_t Source::defaultRangeI

◆ fineTuner

PhaseIncrementFineTuner Source::fineTuner

◆ oscType

uint8_t Source::oscType

◆ ranges

MultiRangeArray Source::ranges

◆ repeatMode

uint8_t Source::repeatMode

◆ sampleControls

SampleControls Source::sampleControls

◆ timeStretchAmount

int8_t Source::timeStretchAmount

◆ transpose

int16_t Source::transpose

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