![]() |
pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
Unary arithmetic operator functions. More...
Functions | |
| template<class Type > | |
| Type | abs (Type const &a) throw () |
| Returns the absolute of the input argument. | |
| template<class Type > | |
| Type | move (Type const &a) throw () |
| Just returns the input argument. | |
| template<class Type > | |
| Type | inc (Type const &a) throw () |
| Increment by 1. | |
| template<class Type > | |
| Type | dec (Type const &a) throw () |
| Decrement by 1. | |
| template<class Type > | |
| Type | log2 (Type const &a) throw () |
| Returns the logarithm base 2 of the input argument. | |
| template<class Type > | |
| Type | neg (Type const &a) throw () |
| Returns the negative of the input argument. | |
| template<class Type > | |
| Type | reciprocal (Type const &a) throw () |
Returns the reciprocal of the input argument (i.e, ). | |
| template<class Type > | |
| Type | sin (Type const &a) throw () |
| Returns the sine of the input argument. | |
| template<class Type > | |
| Type | cos (Type const &a) throw () |
| Returns the cosine of the input argument. | |
| template<class Type > | |
| Type | tan (Type const &a) throw () |
| Returns the tangent of the input argument. | |
| template<class Type > | |
| Type | asin (Type const &a) throw () |
| Returns the arcsine of the input argument. | |
| template<class Type > | |
| Type | acos (Type const &a) throw () |
| Returns the arcosine of the input argument. | |
| template<class Type > | |
| Type | atan (Type const &a) throw () |
| Returns the arctangent of the input argument. | |
| template<class Type > | |
| Type | sinh (Type const &a) throw () |
| Returns the hyperbolic sine of the input argument. | |
| template<class Type > | |
| Type | cosh (Type const &a) throw () |
| Returns the hyperbolic cosine of the input argument. | |
| template<class Type > | |
| Type | tanh (Type const &a) throw () |
| Returns the hyperbolic tangent of the input argument. | |
| template<class Type > | |
| Type | sqrt (Type const &a) throw () |
| Returns the square root of the input argument. | |
| template<class Type > | |
| Type | log (Type const &a) throw () |
| Returns the natural logarithm of the input argument. | |
| template<class Type > | |
| Type | log10 (Type const &a) throw () |
| Returns the logarithm base 10 of the input argument. | |
| template<class Type > | |
| Type | exp (Type const &a) throw () |
| Returns the exponent of the input argument. | |
| template<class Type > | |
| Type | ceil (Type const &a) throw () |
| Returns the input argument rounded up to the next highest integer. | |
| template<class Type > | |
| Type | floor (Type const &a) throw () |
| Returns the input argument rounded down to the next lowest integer. | |
| template<class Type > | |
| Type | frac (Type const &a) throw () |
| Returns the fractional part of the input argument. | |
| template<class Type > | |
| Type | sign (Type const &a) throw () |
| Returns 0 if the input is 0, -1 if the input is negative or 1 if the input argument is positive. | |
| template<class Type > | |
| Type | m2f (Type const &a) throw () |
| Returns the input argument converted from MIDI note numbers to frequency (in Hz). | |
| template<class Type > | |
| Type | f2m (Type const &a) throw () |
| Returns the input argument converted from frequency (in Hz) to MIDI note numbers. | |
| template<class Type > | |
| Type | a2dB (Type const &) throw () |
| Returns the input argument converted from linear amplitude to decibels where 0dB is an amplitude of 1. | |
| template<class Type > | |
| Type | dB2a (Type const &db) throw () |
| Returns the input argument converted from decibels to linear amplitude where 0dB is an amplitude of 1. | |
| template<class Type > | |
| Type | d2r (Type const °) throw () |
| Returns the input argument converted from degrees to radians. | |
| template<class Type > | |
| Type | r2d (Type const °) throw () |
| Returns the input argument converted from radians to degrees. | |
| template<class Type > | |
| Type | distort (Type const &a) throw () |
| Returns the input argument distorted. | |
| template<class Type > | |
| Type | zap (Type const &x) throw () |
| Returns the input argument with infinities, NaNs and denormallised numbers removed. | |
Unary arithmetic operator functions.
| Type a2dB | ( | Type const & | amp | ) | throw () [inline] |
Returns the input argument converted from linear amplitude to decibels where 0dB is an amplitude of 1.
| Type acos | ( | Type const & | a | ) | throw () [inline] |
Returns the arcosine of the input argument.
| Type asin | ( | Type const & | a | ) | throw () [inline] |
Returns the arcsine of the input argument.
| Type atan | ( | Type const & | a | ) | throw () [inline] |
Returns the arctangent of the input argument.
| Type ceil | ( | Type const & | a | ) | throw () [inline] |
Returns the input argument rounded up to the next highest integer.
| Type cos | ( | Type const & | a | ) | throw () [inline] |
Returns the cosine of the input argument.
| Type cosh | ( | Type const & | a | ) | throw () [inline] |
Returns the hyperbolic cosine of the input argument.
| Type d2r | ( | Type const & | deg | ) | throw () [inline] |
Returns the input argument converted from degrees to radians.
| Type dB2a | ( | Type const & | db | ) | throw () [inline] |
Returns the input argument converted from decibels to linear amplitude where 0dB is an amplitude of 1.
| Type dec | ( | Type const & | a | ) | throw () [inline] |
Decrement by 1.
| Type distort | ( | Type const & | a | ) | throw () [inline] |
Returns the input argument distorted.
| Type exp | ( | Type const & | a | ) | throw () [inline] |
Returns the exponent of the input argument.
| Type f2m | ( | Type const & | a | ) | throw () [inline] |
Returns the input argument converted from frequency (in Hz) to MIDI note numbers.
| Type floor | ( | Type const & | a | ) | throw () [inline] |
Returns the input argument rounded down to the next lowest integer.
| Type frac | ( | Type const & | a | ) | throw () [inline] |
Returns the fractional part of the input argument.
| Type inc | ( | Type const & | a | ) | throw () [inline] |
Increment by 1.
| Type log | ( | Type const & | a | ) | throw () [inline] |
Returns the natural logarithm of the input argument.
| Type log10 | ( | Type const & | a | ) | throw () [inline] |
Returns the logarithm base 10 of the input argument.
| Type log2 | ( | Type const & | a | ) | throw () [inline] |
Returns the logarithm base 2 of the input argument.
| Type m2f | ( | Type const & | a | ) | throw () [inline] |
Returns the input argument converted from MIDI note numbers to frequency (in Hz).
| Type move | ( | Type const & | a | ) | throw () [inline] |
Just returns the input argument.
| Type neg | ( | Type const & | a | ) | throw () [inline] |
Returns the negative of the input argument.
| Type r2d | ( | Type const & | deg | ) | throw () [inline] |
Returns the input argument converted from radians to degrees.
| Type reciprocal | ( | Type const & | a | ) | throw () [inline] |
Returns the reciprocal of the input argument (i.e,
).
| Type sign | ( | Type const & | a | ) | throw () [inline] |
Returns 0 if the input is 0, -1 if the input is negative or 1 if the input argument is positive.
| Type sin | ( | Type const & | a | ) | throw () [inline] |
Returns the sine of the input argument.
| Type sinh | ( | Type const & | a | ) | throw () [inline] |
Returns the hyperbolic sine of the input argument.
| Type sqrt | ( | Type const & | a | ) | throw () [inline] |
Returns the square root of the input argument.
| Type tan | ( | Type const & | a | ) | throw () [inline] |
Returns the tangent of the input argument.
| Type tanh | ( | Type const & | a | ) | throw () [inline] |
Returns the hyperbolic tangent of the input argument.
| Type zap | ( | Type const & | x | ) | throw () [inline] |
Returns the input argument with infinities, NaNs and denormallised numbers removed.
from music-dsp list
1.7.4