Klang C++
Language Reference (draft)
|
Base class for stereo synthesiser note. More...
#include <klang.h>
Public Types | |
enum | Stage |
Public Member Functions | |
virtual void | prepare () |
virtual void | process () override=0 |
virtual bool | process (Stereo::buffer buffer) |
virtual bool | process (mono::buffer *buffers) |
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 |
Definition at line 3559 of file klang.h.
References klang::Stereo::buffer::buffer(), and process().
|
inlinevirtual |
Definition at line 3551 of file klang.h.
References klang::NoteBase< SYNTH >::finished(), klang::Stereo::buffer::finished(), klang::Stereo::buffer::operator++(), klang::Stereo::frame::operator=(), prepare(), and process().
Referenced by process().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |