Klang C++
Language Reference (draft)
|
Synthesiser note (mono) More...
#include <klang.h>
Public Types | |
enum | Stage |
Public Member Functions | |
virtual void | prepare () |
virtual void | process () override=0 |
virtual bool | process (buffer buffer) |
virtual bool | process (buffer *buffer) |
void | attach (Synth *synth) |
virtual void | init () |
virtual void | start (Pitch p, Velocity v) |
virtual bool | release (Velocity v=0) |
virtual bool | stop (Velocity v=0) |
bool | finished () const |
virtual void | controlChange (int controller, int value) |
virtual void | onControl (int index, float value) |
virtual void | onPreset (int index) |
virtual void | onMIDI (int status, int byte1, int byte2) |
Output< signal > & | operator() (params... p) |
operator const signal & () override | |
operator const signal & () const override | |
virtual const signal & | output () const |
TYPE & | operator>> (TYPE &destination) |
signal | operator+ (TYPE &other) |
signal | operator* (TYPE &other) |
signal | operator- (TYPE &other) |
signal | operator/ (TYPE &other) |
Public Attributes | |
Pitch | pitch |
Velocity | velocity |
Controls | controls |
enum klang::NoteBase::Stage | stage |
signal | out |
|
inherited |
|
inlineinherited |
|
inlineprotectedvirtualinherited |
Definition at line 3068 of file klang.h.
Referenced by klang::Controller::onControl(), and klang::Synth::onControl().
|
inlinevirtualinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlinevirtualinherited |
|
inlineprotectedvirtualinherited |
Definition at line 3070 of file klang.h.
Referenced by klang::NoteBase< SYNTH >::controlChange(), and klang::Controller::onMIDI().
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
|
inlinevirtualinherited |
Reimplemented in klang::Synth.
Definition at line 3072 of file klang.h.
References klang::Controller::control().
Referenced by klang::Synth::onControl().
|
inlinevirtualinherited |
Definition at line 3074 of file klang.h.
References klang::Controller::midi().
|
inlinevirtualinherited |
Reimplemented in klang::Synth.
Definition at line 3073 of file klang.h.
References klang::Controller::preset().
Referenced by klang::Synth::onPreset().
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
Reimplemented from klang::Generic::Output< signal >.
Definition at line 1415 of file klang.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
|
inlinevirtual |
|
inlineprotectedvirtualinherited |
Definition at line 3069 of file klang.h.
Referenced by klang::Controller::onPreset(), and klang::Synth::onPreset().
|
overridepure virtual |
Implements klang::Generic::Output< signal >.
Referenced by process().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 3175 of file klang.h.
References klang::Debug::buffer, klang::debug, klang::buffer::finished(), klang::NoteBase< SYNTH >::finished(), klang::buffer::operator++(), prepare(), and process().
Referenced by process().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |