sequencer
Public Member Functions | List of all members
sequencer::audio::oscillator_t Class Reference

#include <oscillator.hpp>

Inheritance diagram for sequencer::audio::oscillator_t:
Inheritance graph
[legend]

Public Member Functions

template<class FM >
double operator() (double t, FM fm) const noexcept
 
double operator() (double t) const noexcept
 
void set_wave_form (oscillator_wave_form wave_form)
 
double frequency () const noexcept
 
void set_frequency (double frequency) noexcept
 
void set_amplitude (double amplitude) noexcept
 
void set_phase (double phase) noexcept
 
void set_pulse_length (double pulse_length) noexcept
 

Member Function Documentation

◆ frequency()

double sequencer::audio::oscillator_t::frequency ( ) const
inlinenoexcept

◆ operator()() [1/2]

template<class FM >
double sequencer::audio::oscillator_t::operator() ( double  t,
FM  fm 
) const
inlinenoexcept

◆ operator()() [2/2]

double sequencer::audio::oscillator_t::operator() ( double  t) const
inlinenoexcept

◆ set_amplitude()

void sequencer::audio::oscillator_t::set_amplitude ( double  amplitude)
inlinenoexcept

◆ set_frequency()

void sequencer::audio::oscillator_t::set_frequency ( double  frequency)
inlinenoexcept

◆ set_phase()

void sequencer::audio::oscillator_t::set_phase ( double  phase)
inlinenoexcept

◆ set_pulse_length()

void sequencer::audio::oscillator_t::set_pulse_length ( double  pulse_length)
inlinenoexcept

◆ set_wave_form()

void sequencer::audio::oscillator_t::set_wave_form ( oscillator_wave_form  wave_form)
inline

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