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

#include <AuLib/BlOsc.h>

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

Public Member Functions

 BlOsc (double amp, double freq, const TableSet &waveset, double phase=0., uint32_t vframes=def_vframes, double sr=def_sr)
 
- Public Member Functions inherited from AuLib::Oscili
 Oscili (double amp=0., double freq=0., double phase=0., uint32_t vframes=def_vframes, double sr=def_sr)
 
 Oscili (double amp, double freq, const FuncTable &ftable, double phase=.0, uint32_t vframes=def_vframes, double sr=def_sr)
 
- Public Member Functions inherited from AuLib::Oscil
 Oscil (double amp=0., double freq=0., double phase=0., uint32_t vframes=def_vframes, double sr=def_sr)
 
 Oscil (double amp, double freq, const FuncTable &ftable, double phase=0., uint32_t vframes=def_vframes, double sr=def_sr)
 
const Oscilprocess ()
 
const Oscilprocess (double amp)
 
const Oscilprocess (double amp, double freq)
 
const double * process (const double *amp, const double *freq)
 
const double * process (const double *amp)
 
const double * process (double amp, const double *freq)
 
const double * process (const double *amp, double freq)
 
const Oscilprocess (const AudioBase &obja)
 
const Oscilprocess (const AudioBase &obja, double freq)
 
const Oscilprocess (double amp, const AudioBase &objf)
 
const Oscilprocess (const AudioBase &obja, const AudioBase &objf)
 
const Osciloperator() (const AudioBase &a, const AudioBase &b)
 
const Osciloperator() (double a, const AudioBase &b)
 
const Osciloperator() (const AudioBase &a)
 
const Osciloperator() (const AudioBase &a, double b)
 
const Osciloperator() (double a)
 
const Osciloperator() ()
 
- 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 am_fm (uint32_t ndx)
 
void tselect ()
 
virtual void set_incr (double f)
 
- Protected Member Functions inherited from AuLib::Oscili
virtual void dsp ()
 
- Protected Member Functions inherited from AuLib::Oscil
void mod ()
 

Protected Attributes

const TableSetm_waves
 
- Protected Attributes inherited from AuLib::Oscil
const double * m_table
 
double m_phs
 
double m_amp
 
double m_freq
 
double m_incr
 
const double * m_am
 
const double * m_fm
 
uint64_t m_tframes
 
- 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
 

Additional Inherited Members

- Public Types inherited from AuLib::AudioBase
typedef std::vector< double >::iterator iterator
 
typedef std::vector< double >::const_iterator const_iterator
 
- Static Protected Attributes inherited from AuLib::Oscil
static const FourierTable m_sine
 

Detailed Description

Bandlimited wavetable oscillator

Constructor & Destructor Documentation

◆ BlOsc()

AuLib::BlOsc::BlOsc ( double  amp,
double  freq,
const TableSet waveset,
double  phase = 0.,
uint32_t  vframes = def_vframes,
double  sr = def_sr 
)
inline

BlOsc constructor

amp - amplitude
freq - frequency in Hz
waveset - TableSet reference with the set of bandlimited tables
phase - init phase (0-1)
vframes - vector size
sr - sampling rate

Member Function Documentation

◆ am_fm()

virtual void AuLib::BlOsc::am_fm ( uint32_t  ndx)
inlineprotectedvirtual

AM/FM processing

Reimplemented from AuLib::Oscil.

◆ set_incr()

virtual void AuLib::BlOsc::set_incr ( double  f)
inlineprotectedvirtual

set the sampling increment

Reimplemented from AuLib::Oscil.

◆ tselect()

void AuLib::BlOsc::tselect ( )
inlineprotected

table selection

Member Data Documentation

◆ m_waves

const TableSet& AuLib::BlOsc::m_waves
protected

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