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

#include <Envelope.h>

Public Member Functions

 Envelope (class EnvelopeParams &pars, float basefreq, float dt, WatchManager *m=0, const char *watch_prefix=0)
 ~Envelope (void)
void releasekey (void)
void forceFinish (void)
float envout (bool doWatch=true)
float envout_dB (void)
bool finished (void) const

Private Attributes

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

Detailed Description

Implementation of a general Envelope

Constructor & Destructor Documentation

◆ Envelope()

Envelope::Envelope ( class EnvelopeParams & pars,
float basefreq,
float dt,
WatchManager * m = 0,
const char * watch_prefix = 0 )

Constructor

◆ ~Envelope()

Destructor

Member Function Documentation

◆ envout()

float Envelope::envout ( bool doWatch = true)

◆ envout_dB()

◆ finished()

bool Envelope::finished ( void ) const

Determines the status of the Envelope

Returns
returns 1 if the envelope is finished

◆ forceFinish()

void Envelope::forceFinish ( void )

Push Envelope to finishing state

◆ releasekey()

void Envelope::releasekey ( void )

Member Data Documentation

◆ currentpoint

◆ envdt

◆ envfinish

◆ envoutval

◆ envpoints

◆ envstretch

◆ envsustain

◆ envval

◆ forcedrelease

bool zyncarla::Envelope::forcedrelease
private

◆ inct

float zyncarla::Envelope::inct
private

◆ keyreleased

◆ linearenvelope

◆ t

float zyncarla::Envelope::t
private

◆ watchOut

VecWatchPoint zyncarla::Envelope::watchOut
private

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