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

Public Member Functions

 SinOscillator (double startPhase=0., double startFreq=1.)
 
Process ()
 
Process (double freqHz) override
 
- 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)
 

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 SinOscillator< T >

Definition at line 57 of file Oscillator.h.

Constructor & Destructor Documentation

◆ SinOscillator()

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

Definition at line 60 of file Oscillator.h.

Member Function Documentation

◆ Process() [1/2]

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

Definition at line 65 of file Oscillator.h.

◆ Process() [2/2]

template<typename T >
T SinOscillator< T >::Process ( double  freqHz)
inlineoverridevirtual

Implements IOscillator< T >.

Definition at line 71 of file Oscillator.h.


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