Skip to content

AudioChannel

Struct

Source: AudioTypes.h

Description

Represents the internal state of a single audio channel.

Designed to be static and memory-efficient.

Properties

NameTypeDescription
sweepSamplesTotaluint32_tTotal samples for the sweep.
sweepSamplesRemaininguint32_tSamples remaining in the sweep.
sweepStartHzfloatStarting frequency in Hz.
sweepEndHzfloatEnding frequency in Hz.
sweepStartIncQ32uint32_tQ32 phase increment at sweep start.
sweepEndIncQ32uint32_tQ32 phase increment at sweep end.

Methods

void reset()

Description:

Resets the channel to a clean disabled state.

Released under the MIT License.