LMMS
Loading...
Searching...
No Matches
SynthNote Class Referenceabstract

#include <SynthNote.h>

Inheritance diagram for SynthNote:
ADnote PADnote SUBnote

Classes

class  Legato

Public Member Functions

 SynthNote (float freq, float vel, int port, int note, bool quiet)
virtual ~SynthNote ()
virtual int noteout (float *outl, float *outr)=0
virtual void relasekey ()=0
virtual int finished () const =0
virtual void legatonote (float freq, float velocity, int portamento_, int midinote_, bool externcall)=0
void setVelocity (float velocity_)

Protected Attributes

class SynthNote::Legato legato

Constructor & Destructor Documentation

◆ SynthNote()

SynthNote::SynthNote ( float freq,
float vel,
int port,
int note,
bool quiet )

◆ ~SynthNote()

virtual SynthNote::~SynthNote ( )
inlinevirtual

Member Function Documentation

◆ finished()

virtual int SynthNote::finished ( ) const
pure virtual

Return if note is finished.

Returns
finished=1 unfinished=0

Implemented in ADnote, PADnote, and SUBnote.

◆ legatonote()

virtual void SynthNote::legatonote ( float freq,
float velocity,
int portamento_,
int midinote_,
bool externcall )
pure virtual

Implemented in ADnote, PADnote, and SUBnote.

◆ noteout()

virtual int SynthNote::noteout ( float * outl,
float * outr )
pure virtual

Compute Output Samples

Returns
0 if note is finished

Implemented in ADnote, PADnote, and SUBnote.

◆ relasekey()

virtual void SynthNote::relasekey ( )
pure virtual

Release the key for the note and start release portion of envelopes.

Implemented in ADnote, PADnote, and SUBnote.

◆ setVelocity()

void SynthNote::setVelocity ( float velocity_)

Member Data Documentation

◆ legato

class SynthNote::Legato SynthNote::legato
protected

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