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

#include <LivePitchShifterPlayHead.h>

Collaboration diagram for LivePitchShifterPlayHead:
Collaboration graph

Public Member Functions

 LivePitchShifterPlayHead ()
 
 ~LivePitchShifterPlayHead ()
 
void render (int32_t *outputBuffer, int numSamples, int numChannels, int32_t phaseIncrement, int32_t amplitude, int32_t amplitudeIncrement, int32_t *repitchedBuffer, int32_t *rawBuffer, int whichKernel, int interpolationBufferSize)
 
int getEstimatedPlaytimeRemaining (uint32_t repitchedBufferWritePos, LiveInputBuffer *liveInputBuffer, int32_t phaseIncrement)
 
int getNumRawSamplesBehindInput (LiveInputBuffer *liveInputBuffer, LivePitchShifter *livePitchShifter, int32_t phaseIncrement)
 
void fillInterpolationBuffer (LiveInputBuffer *liveInputBuffer, int numChannels)
 

Public Attributes

uint8_t mode
 
int rawBufferReadPos
 
uint32_t oscPos
 
int16x4_t interpolationBuffer [2][INTERPOLATION_MAX_NUM_SAMPLES > > 2]
 
uint32_t percPos
 

Constructor & Destructor Documentation

◆ LivePitchShifterPlayHead()

LivePitchShifterPlayHead::LivePitchShifterPlayHead ( )

◆ ~LivePitchShifterPlayHead()

LivePitchShifterPlayHead::~LivePitchShifterPlayHead ( )

Member Function Documentation

◆ fillInterpolationBuffer()

void LivePitchShifterPlayHead::fillInterpolationBuffer ( LiveInputBuffer liveInputBuffer,
int  numChannels 
)

◆ getEstimatedPlaytimeRemaining()

int LivePitchShifterPlayHead::getEstimatedPlaytimeRemaining ( uint32_t  repitchedBufferWritePos,
LiveInputBuffer liveInputBuffer,
int32_t  phaseIncrement 
)

◆ getNumRawSamplesBehindInput()

int LivePitchShifterPlayHead::getNumRawSamplesBehindInput ( LiveInputBuffer liveInputBuffer,
LivePitchShifter livePitchShifter,
int32_t  phaseIncrement 
)

◆ render()

void LivePitchShifterPlayHead::render ( int32_t *  outputBuffer,
int  numSamples,
int  numChannels,
int32_t  phaseIncrement,
int32_t  amplitude,
int32_t  amplitudeIncrement,
int32_t *  repitchedBuffer,
int32_t *  rawBuffer,
int  whichKernel,
int  interpolationBufferSize 
)

Member Data Documentation

◆ interpolationBuffer

int16x4_t LivePitchShifterPlayHead::interpolationBuffer[2][INTERPOLATION_MAX_NUM_SAMPLES > > 2]

◆ mode

uint8_t LivePitchShifterPlayHead::mode

◆ oscPos

uint32_t LivePitchShifterPlayHead::oscPos

◆ percPos

uint32_t LivePitchShifterPlayHead::percPos

◆ rawBufferReadPos

int LivePitchShifterPlayHead::rawBufferReadPos

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