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

#include <LivePitchShifter.h>

Collaboration diagram for LivePitchShifter:
Collaboration graph

Public Member Functions

 LivePitchShifter (int newInputType, int32_t phaseIncrement)
 
 ~LivePitchShifter ()
 
void giveInput (int numSamples, int inputType, int32_t phaseIncrement)
 
void render (int32_t *outputBuffer, int numSamplesThisFunctionCall, int32_t phaseIncrement, int32_t amplitude, int32_t amplitudeIncrement, int interpolationBufferSize)
 
bool mayBeRemovedWithoutClick ()
 

Public Attributes

int8_t numChannels
 
uint8_t inputType
 
uint32_t crossfadeProgress
 
uint32_t crossfadeIncrement
 
int32_t nextCrossfadeLength
 
int32_t samplesTilHopEnd
 
int32_t samplesIntoHop
 
int percThresholdForCut
 
LivePitchShifterPlayHead playHeads [2]
 

Constructor & Destructor Documentation

◆ LivePitchShifter()

LivePitchShifter::LivePitchShifter ( int  newInputType,
int32_t  phaseIncrement 
)

◆ ~LivePitchShifter()

LivePitchShifter::~LivePitchShifter ( )

Member Function Documentation

◆ giveInput()

void LivePitchShifter::giveInput ( int  numSamples,
int  inputType,
int32_t  phaseIncrement 
)

◆ mayBeRemovedWithoutClick()

bool LivePitchShifter::mayBeRemovedWithoutClick ( )

◆ render()

void LivePitchShifter::render ( int32_t *  outputBuffer,
int  numSamplesThisFunctionCall,
int32_t  phaseIncrement,
int32_t  amplitude,
int32_t  amplitudeIncrement,
int  interpolationBufferSize 
)

Member Data Documentation

◆ crossfadeIncrement

uint32_t LivePitchShifter::crossfadeIncrement

◆ crossfadeProgress

uint32_t LivePitchShifter::crossfadeProgress

◆ inputType

uint8_t LivePitchShifter::inputType

◆ nextCrossfadeLength

int32_t LivePitchShifter::nextCrossfadeLength

◆ numChannels

int8_t LivePitchShifter::numChannels

◆ percThresholdForCut

int LivePitchShifter::percThresholdForCut

◆ playHeads

LivePitchShifterPlayHead LivePitchShifter::playHeads[2]

◆ samplesIntoHop

int32_t LivePitchShifter::samplesIntoHop

◆ samplesTilHopEnd

int32_t LivePitchShifter::samplesTilHopEnd

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