LMMS
Loading...
Searching...
No Matches
Grain Class Reference

Public Member Functions

 Grain (const long lReadPointer, const long lGrainLength, const long lAttackTime)
bool isFinished () const
void run (const unsigned long lSampleCount, float *pfOutput, const float *pfHistoryBuffer, const unsigned long lHistoryBufferSize)

Public Attributes

Grainm_poNextGrain

Private Attributes

long m_lReadPointer
long m_lGrainLength
long m_lAttackTime
long m_lRunTime
bool m_bFinished
LADSPA_Data m_fAttackSlope
LADSPA_Data m_fDecaySlope

Detailed Description

Pointers to this can be used as linked list of grains.

Constructor & Destructor Documentation

◆ Grain()

Grain::Grain ( const long lReadPointer,
const long lGrainLength,
const long lAttackTime )
inline

Member Function Documentation

◆ isFinished()

bool Grain::isFinished ( ) const
inline

◆ run()

void Grain::run ( const unsigned long lSampleCount,
float * pfOutput,
const float * pfHistoryBuffer,
const unsigned long lHistoryBufferSize )
inline

Member Data Documentation

◆ m_bFinished

bool Grain::m_bFinished
private

◆ m_fAttackSlope

LADSPA_Data Grain::m_fAttackSlope
private

◆ m_fDecaySlope

LADSPA_Data Grain::m_fDecaySlope
private

◆ m_lAttackTime

long Grain::m_lAttackTime
private

◆ m_lGrainLength

long Grain::m_lGrainLength
private

◆ m_lReadPointer

long Grain::m_lReadPointer
private

◆ m_lRunTime

long Grain::m_lRunTime
private

◆ m_poNextGrain

Grain* Grain::m_poNextGrain

NULL if end of grain list.


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