AuLib  1.0beta
Public Member Functions | Protected Member Functions | List of all members
AuLib::Expon Class Reference

#include <AuLib/Expon.h>

Inheritance diagram for AuLib::Expon:
Inheritance graph
[legend]
Collaboration diagram for AuLib::Expon:
Collaboration graph
[legend]

Public Member Functions

 Expon (double start=db_min, double end=1., double time=1., uint32_t vframes=def_vframes, double sr=def_sr)
 
- Public Member Functions inherited from AuLib::Line
 Line (double start=.0, double end=1., double time=1., uint32_t vframes=def_vframes, double sr=def_sr)
 
const Lineprocess ()
 
const Lineoperator() ()
 
void retrig ()
 
void reset (double start, double end, double time)
 
- Public Member Functions inherited from AuLib::AudioBase
 AudioBase (uint32_t nchnls=def_nchnls, uint32_t vframes=def_vframes, double sr=def_sr)
 
virtual const AudioBaseoperator*= (double scal)
 
virtual const AudioBaseoperator*= (const double *sig)
 
virtual const AudioBaseoperator*= (const AudioBase &obj)
 
virtual const AudioBaseoperator+= (double offs)
 
virtual const AudioBaseoperator+= (const double *sig)
 
virtual const AudioBaseoperator+= (const AudioBase &obj)
 
double & operator[] (uint32_t ndx)
 
const double & operator[] (uint32_t ndx) const
 
iterator begin ()
 
iterator end ()
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const AudioBaseset (const AudioBase &obj)
 
const AudioBaseset (const double *sig)
 
const double * set (double v)
 
double set (double v, uint32_t p)
 
 operator const std::vector< double > & () const
 
 operator const double * () const
 
const double * vector () const
 
double vector (uint32_t frndx, uint32_t chn) const
 
uint32_t vframes (uint32_t frames)
 
uint32_t resize_exact (uint32_t frames)
 
uint32_t vframes () const
 
uint32_t vsamps () const
 
uint32_t nchnls () const
 
uint32_t sr () const
 
uint32_t error () const
 
virtual const char * error_message () const
 

Protected Member Functions

virtual void dsp ()
 
virtual void restart ()
 

Additional Inherited Members

- Public Types inherited from AuLib::AudioBase
typedef std::vector< double >::iterator iterator
 
typedef std::vector< double >::const_iterator const_iterator
 
- Protected Attributes inherited from AuLib::Line
double m_y
 
double m_y0
 
double m_y1
 
uint32_t m_x1
 
double m_incr
 
uint64_t m_cnt
 
- Protected Attributes inherited from AuLib::AudioBase
uint32_t m_nchnls
 
uint32_t m_vframes
 
std::vector< double > m_vector
 
double m_sr
 
uint32_t m_error
 

Detailed Description

Generates a signal based on an exponential curve between two points over a given duration.

Constructor & Destructor Documentation

◆ Expon()

AuLib::Expon::Expon ( double  start = db_min,
double  end = 1.,
double  time = 1.,
uint32_t  vframes = def_vframes,
double  sr = def_sr 
)
inline

Expon constructor

start - start value
end - end value
time - duration(s)
vframes - vector size
sr - sampling rate

Member Function Documentation

◆ dsp()

virtual void AuLib::Expon::dsp ( )
inlineprotectedvirtual

process the output vector

Reimplemented from AuLib::Line.

◆ restart()

virtual void AuLib::Expon::restart ( )
inlineprotectedvirtual

Reimplemented from AuLib::Line.


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