Gin
Public Member Functions | Protected Attributes | List of all members
VoicedStereoOscillator< O, P > Class Template Reference

Stereo Oscillator with multiples voices, pan, spread, detune, etc. More...

Public Member Functions

 VoicedStereoOscillator ()=default
 
void setSampleRate (double sr)
 
void noteOn (float phase=-1)
 
void noteOn (float phases[])
 
void process (float note, const P &params, juce::AudioSampleBuffer &buffer)
 
void processAdding (float note, const P &params, juce::AudioSampleBuffer &buffer)
 

Protected Attributes

juce::OwnedArray< O > oscillators
 

Detailed Description

template<typename O, typename P>
class VoicedStereoOscillator< O, P >

Stereo Oscillator with multiples voices, pan, spread, detune, etc.

Constructor & Destructor Documentation

◆ VoicedStereoOscillator()

template<typename O , typename P >
VoicedStereoOscillator< O, P >::VoicedStereoOscillator ( )
default

Member Function Documentation

◆ setSampleRate()

template<typename O , typename P >
void VoicedStereoOscillator< O, P >::setSampleRate ( double  sr)

◆ noteOn() [1/2]

template<typename O , typename P >
void VoicedStereoOscillator< O, P >::noteOn ( float  phase = -1)

◆ noteOn() [2/2]

template<typename O , typename P >
void VoicedStereoOscillator< O, P >::noteOn ( float  phases[])

◆ process()

template<typename O , typename P >
void VoicedStereoOscillator< O, P >::process ( float  note,
const P &  params,
juce::AudioSampleBuffer &  buffer 
)

◆ processAdding()

template<typename O , typename P >
void VoicedStereoOscillator< O, P >::processAdding ( float  note,
const P &  params,
juce::AudioSampleBuffer &  buffer 
)

Member Data Documentation

◆ oscillators

template<typename O , typename P >
juce::OwnedArray<O> VoicedStereoOscillator< O, P >::oscillators
protected

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