Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Sin< T > Struct Template Reference

Sinusoid sequence generator. More...

#include <gen.h>

Inheritance diagram for Sin< T >:
RAdd< T > Val< T >

List of all members.

Public Member Functions

operator[] (uint32_t i) const
 Array get; generates next element.
 Sin (const T &frq, const T &phs=T(0), const T &amp=T(1))
 Constructor.
operator() () const
 Generate next value.
T & operator[] (uint32_t i)
 Array set; sets current value.
const T & recede () const
 Go back one step.
void line (T begin, T end, T length)
 Set to generate line between points (0, begin) and (length, end)
void line (T end, T length)
 Set to generate line between points (0, val) and (length, end)
void constant (T v)
 Set to generate constant value.

Public Attributes

amp
 Generate next value.
add
 Addition amount.
val
 Value.

Detailed Description

template<class T = gam::real>
struct gam::gen::Sin< T >

Sinusoid sequence generator.


The documentation for this struct was generated from the following file: