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

#include <Envelope.h>

Public Member Functions

 Envelope ()
 Envelope ()
 Envelope ()
 Envelope (class EnvelopeParams *envpars, float basefreq)
 ~Envelope ()
void relasekey ()
float envout ()
float envout_dB ()
bool finished () const

Public Attributes

int envelope_decay
LADSPA_Data envelope
double envelope

Private Member Functions

float env_rap2dB (float rap)
float env_dB2rap (float db)

Private Attributes

int envpoints
int envsustain
float envdt [MAX_ENVELOPE_POINTS]
float envval [MAX_ENVELOPE_POINTS]
float envstretch
int linearenvelope
int currentpoint
int forcedrelase
bool keyreleased
bool envfinish
float t
float inct
float envoutval

Detailed Description

Implementation of a general Envelope

Constructor & Destructor Documentation

◆ Envelope() [1/4]

Envelope::Envelope ( )
inline

◆ Envelope() [2/4]

Envelope::Envelope ( )
inline

◆ Envelope() [3/4]

Envelope::Envelope ( )
inline

◆ Envelope() [4/4]

Envelope::Envelope ( class EnvelopeParams * envpars,
float basefreq )

Constructor

◆ ~Envelope()

Envelope::~Envelope ( )

Destructor

Member Function Documentation

◆ env_dB2rap()

float Envelope::env_dB2rap ( float db)
inlineprivate

◆ env_rap2dB()

float Envelope::env_rap2dB ( float rap)
inlineprivate

◆ envout()

float Envelope::envout ( )

◆ envout_dB()

float Envelope::envout_dB ( )

◆ finished()

bool Envelope::finished ( ) const

Determines the status of the Envelope

Returns
returns 1 if the envelope is finished

◆ relasekey()

void Envelope::relasekey ( )

Member Data Documentation

◆ currentpoint

int Envelope::currentpoint
private

◆ envdt

float Envelope::envdt[MAX_ENVELOPE_POINTS]
private

◆ envelope [1/2]

LADSPA_Data Envelope::envelope

◆ envelope [2/2]

double Envelope::envelope

◆ envelope_decay

int Envelope::envelope_decay

◆ envfinish

bool Envelope::envfinish
private

◆ envoutval

float Envelope::envoutval
private

◆ envpoints

int Envelope::envpoints
private

◆ envstretch

float Envelope::envstretch
private

◆ envsustain

int Envelope::envsustain
private

◆ envval

float Envelope::envval[MAX_ENVELOPE_POINTS]
private

◆ forcedrelase

int Envelope::forcedrelase
private

◆ inct

float Envelope::inct
private

◆ keyreleased

bool Envelope::keyreleased
private

◆ linearenvelope

int Envelope::linearenvelope
private

◆ t

float Envelope::t
private

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