Struct SimpleOsc¶
template <int freq>
Public Attributes¶
| Type | Name |
|---|---|
| float | phs_ |
Public Static Attributes¶
| Type | Name |
|---|---|
| constexpr float | kSignalIncrement = (M\_TWOPI \* kTargetFreq) \* (1.f / kTargetSr) |
| constexpr float | kTargetFreq = 220.f |
Public Functions¶
| Type | Name |
|---|---|
| float | RenderSample () |
| float | RenderSample () |
| SimpleOsc () |
|
| SimpleOsc () |
Detailed Description¶
Basic Fixed-frequency oscillator
Generic Fixed-frequency oscillator
Public Attributes Documentation¶
variable phs_¶
Public Static Attributes Documentation¶
variable kSignalIncrement¶
variable kTargetFreq¶
Public Functions Documentation¶
function RenderSample [½]¶
function RenderSample [½]¶
function SimpleOsc [½]¶
function SimpleOsc [½]¶
The documentation for this class was generated from the following file external-docs/libDaisy/examples/WavWriter/WavWriter.cpp