iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FastSinOscillator< T > Class Template Reference
Inheritance diagram for FastSinOscillator< T >:
[legend]

Public Member Functions

 FastSinOscillator (double startPhase=0., double startFreq=1.)
 
Process ()
 
Process (double freqCPS) override
 
void ProcessBlock (T *pOutput, int nFrames)
 
- Public Member Functions inherited from IOscillator< T >
 IOscillator (double startPhase=0., double startFreq=1.)
 
virtual T Process (double freqHz)=0
 
void SetFreqCPS (double freqHz)
 
void SetSampleRate (double sampleRate)
 
void Reset ()
 
void SetPhase (double phase)
 

Static Public Member Functions

static T Lookup (double phaseRadians)
 

Public Attributes

mLastOutput = 0.
 

Additional Inherited Members

- Protected Attributes inherited from IOscillator< T >
double mPhase = 0.
 
double mPhaseIncr = 0.
 
double mSampleRate = 44100.
 
double mStartPhase
 

Detailed Description

template<typename T>
class FastSinOscillator< T >

Definition at line 126 of file Oscillator.h.

Constructor & Destructor Documentation

◆ FastSinOscillator()

template<typename T >
FastSinOscillator< T >::FastSinOscillator ( double  startPhase = 0.,
double  startFreq = 1. 
)
inline

Definition at line 135 of file Oscillator.h.

Member Function Documentation

◆ Lookup()

template<typename T >
static T FastSinOscillator< T >::Lookup ( double  phaseRadians)
inlinestatic

Definition at line 158 of file Oscillator.h.

◆ Process() [1/2]

template<typename T >
T FastSinOscillator< T >::Process ( )
inline

Definition at line 140 of file Oscillator.h.

◆ Process() [2/2]

template<typename T >
T FastSinOscillator< T >::Process ( double  freqCPS)
inlineoverridevirtual

Implements IOscillator< T >.

Definition at line 148 of file Oscillator.h.

◆ ProcessBlock()

template<typename T >
void FastSinOscillator< T >::ProcessBlock ( T *  pOutput,
int  nFrames 
)
inline

Definition at line 177 of file Oscillator.h.

Member Data Documentation

◆ mLastOutput

template<typename T >
T FastSinOscillator< T >::mLastOutput = 0.

Definition at line 206 of file Oscillator.h.


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