22 #ifndef EDSP_OSCILLATOR_TRIANGLE_HPP 23 #define EDSP_OSCILLATOR_TRIANGLE_HPP 28 namespace edsp {
namespace oscillators {
62 #endif // EDSP_OSCILLATOR_TRIANGLE_HPP The class sawtooth_oscillator generates a sawtooth signal.
Definition: sawtooth.hpp:41
The class triangular_oscillator generates a triangular signal.
Definition: triangular.hpp:41
constexpr triangular_oscillator(value_type amplitude, value_type samplerate, value_type frequency) noexcept
Creates a sawtooth oscillator that generates a waveform with the configuration.
Definition: triangular.hpp:56
constexpr value_type frequency() const noexcept
Returns the fundamental frequency in Hz.
Definition: sinusoidal.hpp:239
constexpr value_type samplerate() const noexcept
Returns the sampling frequency in Hz.
Definition: sinusoidal.hpp:228
constexpr value_type amplitude() const noexcept
Returns the amplitude of the periodic signal.
Definition: sinusoidal.hpp:259
T value_type
Definition: sawtooth.hpp:43
Definition: amplifier.hpp:29