Klang C++
Language Reference (draft)
|
Linear envelope ramp (default) More...
#include <klang.h>
Public Member Functions | |
signal | operator++ (int) override |
bool | isActive () const |
virtual void | setTarget (float target) |
virtual void | setValue (float value) |
virtual void | setRate (float rate) |
virtual void | setTime (float time) |
void | process () override |
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 | |
float | target |
float | rate |
bool | active = false |
signal | out |
|
inlineinherited |
Definition at line 2638 of file klang.h.
References klang::Envelope::Ramp::active.
Referenced by klang::Envelope::operator++().
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
Reimplemented from klang::Generic::Output< signal >.
Definition at line 1415 of file klang.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineoverridevirtual |
Implements klang::Envelope::Ramp.
Definition at line 2671 of file klang.h.
References klang::Envelope::Ramp::active, klang::signal::operator+=(), klang::signal::operator-=(), klang::Envelope::Ramp::rate, and klang::Envelope::Ramp::target.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
|
inlineoverridevirtualinherited |
Implements klang::Generic::Output< signal >.
Definition at line 2664 of file klang.h.
|
inlinevirtualinherited |
Definition at line 2656 of file klang.h.
References klang::Envelope::Ramp::rate.
Referenced by klang::Envelope::setTargetRate(), and klang::Envelope::setTargetTime().
|
inlinevirtualinherited |
Definition at line 2643 of file klang.h.
References klang::Envelope::Ramp::active, and klang::Envelope::Ramp::target.
Referenced by klang::Envelope::Ramp::Ramp(), klang::Envelope::setTargetRate(), and klang::Envelope::setTargetTime().
|
inlinevirtualinherited |
Definition at line 2659 of file klang.h.
References klang::Envelope::Ramp::rate.
Referenced by klang::Envelope::Ramp::Ramp().
|
inlinevirtualinherited |
Definition at line 2649 of file klang.h.
References klang::Envelope::Ramp::active, and klang::Envelope::Ramp::target.
Referenced by klang::Envelope::Ramp::Ramp(), klang::Envelope::Ramp::Ramp(), klang::Envelope::initialise(), klang::Envelope::operator++(), and klang::Envelope::setTargetRate().
|
inherited |
Definition at line 2620 of file klang.h.
Referenced by klang::Envelope::Ramp::isActive(), operator++(), klang::Envelope::Ramp::setTarget(), and klang::Envelope::Ramp::setValue().
|
inherited |
|
inherited |
Definition at line 2619 of file klang.h.
Referenced by operator++(), klang::Envelope::Ramp::setRate(), and klang::Envelope::Ramp::setTime().
|
inherited |
Definition at line 2618 of file klang.h.
Referenced by operator++(), klang::Envelope::Ramp::setTarget(), and klang::Envelope::Ramp::setValue().