|
FastLED 3.9.15
|
Definition at line 53 of file synth.cpp.hpp.
#include <synth.cpp.hpp>
Inheritance diagram for fl::audio::SynthOscillatorImpl:
Collaboration diagram for fl::audio::SynthOscillatorImpl:Public Member Functions | |
| SynthOscillatorImpl (const SynthOscillatorImpl &) FL_NOEXCEPT=delete | |
| SynthOscillatorImpl (fl::shared_ptr< SynthEngineImpl > engine, const SynthParams ¶ms) | |
| ~SynthOscillatorImpl () FL_NOEXCEPT override | |
| void | generateSamples (fl::span< float > output, float freq) override |
| Generate audio samples (span version) | |
| void | generateSamples (float *output, i32 numSamples, float freq) override |
| Generate audio samples. | |
| ISynthEnginePtr | getEngine () const override |
| Get the engine this oscillator uses. | |
| SynthParams | getParams () const override |
| Get current waveform parameters. | |
| SynthOscillatorImpl & | operator= (const SynthOscillatorImpl &) FL_NOEXCEPT=delete |
| void | reset () override |
| Reset oscillator to beginning of cycle. | |
| void | setParams (const SynthParams ¶ms) override |
| Change waveform parameters (takes effect at next cycle boundary) | |
| void | setShape (SynthShape shape) override |
| Change waveform shape (takes effect at next cycle boundary) | |
Public Member Functions inherited from fl::audio::ISynthOscillator | |
| virtual | ~ISynthOscillator () FL_NOEXCEPT=default |
Private Attributes | |
| SynthParams | mCurrentParams |
| fl::shared_ptr< SynthEngineImpl > | mEngine |
| hw::HexWave * | mHexWave = nullptr |
Additional Inherited Members | |
Static Public Member Functions inherited from fl::audio::ISynthOscillator | |
| static ISynthOscillatorPtr | create (ISynthEnginePtr engine, const SynthParams ¶ms) |
| Factory function to create an oscillator with specified engine and parameters. | |
| static ISynthOscillatorPtr | create (ISynthEnginePtr engine, SynthShape shape=SynthShape::Sawtooth) |
| Factory function to create an oscillator with specified engine and shape. | |