HephAudio
v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
HephAudio
HeaderFiles
Oscillators
TriangleWaveOscillator.h
Go to the documentation of this file.
1
#pragma once
2
#include "
HephAudioShared.h
"
3
#include "
Oscillator.h
"
4
7
namespace
HephAudio
8
{
13
class
HEPH_API
TriangleWaveOscillator
final :
public
Oscillator
14
{
15
public
:
17
TriangleWaveOscillator
();
18
24
TriangleWaveOscillator
(uint32_t sampleRate);
25
27
TriangleWaveOscillator
(
double
peakAmplitude,
double
frequency, uint32_t sampleRate,
double
phase_rad);
28
29
double
operator[]
(
size_t
n)
const override
;
30
};
31
}
HephAudioShared.h
HEPH_API
#define HEPH_API
Definition
HephShared.h:132
Oscillator.h
HephAudio::Oscillator
base class for oscillators.
Definition
Oscillator.h:16
HephAudio::TriangleWaveOscillator
generates triangle wave signals.
Definition
TriangleWaveOscillator.h:14
HephAudio::TriangleWaveOscillator::TriangleWaveOscillator
TriangleWaveOscillator()
HephAudio::TriangleWaveOscillator::TriangleWaveOscillator
TriangleWaveOscillator(uint32_t sampleRate)
HephAudio::TriangleWaveOscillator::operator[]
double operator[](size_t n) const override
HephAudio::TriangleWaveOscillator::TriangleWaveOscillator
TriangleWaveOscillator(double peakAmplitude, double frequency, uint32_t sampleRate, double phase_rad)
Generated by
1.11.0