Templates supporting common audio functionality.
|
template<typename SIGNAL > |
SIGNAL | operator+ (float other, Output< SIGNAL > &output) |
|
template<typename SIGNAL > |
SIGNAL | operator* (float other, Output< SIGNAL > &output) |
|
template<typename SIGNAL > |
SIGNAL | operator- (float other, Output< SIGNAL > &output) |
|
template<typename SIGNAL > |
SIGNAL | operator/ (float other, Output< SIGNAL > &output) |
|
template<typename SIGNAL > |
SIGNAL | operator+ (Output< SIGNAL > &output, float other) |
|
template<typename SIGNAL > |
SIGNAL | operator* (Output< SIGNAL > &output, float other) |
|
template<typename SIGNAL > |
SIGNAL | operator- (Output< SIGNAL > &output, float other) |
|
template<typename SIGNAL > |
SIGNAL | operator/ (Output< SIGNAL > &output, float other) |
|
template<typename... Args> |
| Function (float(*)(Args...)) -> Function< signal, Args... > |
|
template<typename... Args> |
| Function () -> Function< signal, Args... > |
|
◆ Function() [1/2]
template<typename... Args>
klang::Generic::Function |
( |
| ) |
-> Function< signal, Args... > |
◆ Function() [2/2]
template<typename... Args>
klang::Generic::Function |
( |
float(* | )(Args...) | ) |
-> Function< signal, Args... > |
◆ operator*() [1/2]
template<typename SIGNAL >
SIGNAL klang::Generic::operator* |
( |
float | other, |
|
|
Output< SIGNAL > & | output ) |
|
inline |
Definition at line 1388 of file klang.h.
1388{ return SIGNAL(output) * other; }
◆ operator*() [2/2]
template<typename SIGNAL >
SIGNAL klang::Generic::operator* |
( |
Output< SIGNAL > & | output, |
|
|
float | other ) |
|
inline |
Definition at line 1393 of file klang.h.
1393{ return SIGNAL(output) * other; }
◆ operator+() [1/2]
template<typename SIGNAL >
SIGNAL klang::Generic::operator+ |
( |
float | other, |
|
|
Output< SIGNAL > & | output ) |
|
inline |
Definition at line 1387 of file klang.h.
1387{ return SIGNAL(output) + other; }
◆ operator+() [2/2]
template<typename SIGNAL >
SIGNAL klang::Generic::operator+ |
( |
Output< SIGNAL > & | output, |
|
|
float | other ) |
|
inline |
Definition at line 1392 of file klang.h.
1392{ return SIGNAL(output) + other; }
◆ operator-() [1/2]
template<typename SIGNAL >
SIGNAL klang::Generic::operator- |
( |
float | other, |
|
|
Output< SIGNAL > & | output ) |
|
inline |
Definition at line 1389 of file klang.h.
1389{ return SIGNAL(other) - SIGNAL(output); }
◆ operator-() [2/2]
template<typename SIGNAL >
SIGNAL klang::Generic::operator- |
( |
Output< SIGNAL > & | output, |
|
|
float | other ) |
|
inline |
◆ operator/() [1/2]
template<typename SIGNAL >
SIGNAL klang::Generic::operator/ |
( |
float | other, |
|
|
Output< SIGNAL > & | output ) |
|
inline |
Definition at line 1390 of file klang.h.
1390{ return SIGNAL(other) / SIGNAL(output); }
◆ operator/() [2/2]
template<typename SIGNAL >
SIGNAL klang::Generic::operator/ |
( |
Output< SIGNAL > & | output, |
|
|
float | other ) |
|
inline |