audio/metronome.h file

Metronome related logic.

Contents

Classes

struct Metronome
Metronome settings.

Enums

enum MetronomeType { METRONOME_TYPE_NONE, METRONOME_TYPE_EMPHASIS, METRONOME_TYPE_NORMAL }
The type of the metronome sound.

Typedefs

using MetronomeType = enum MetronomeType
The type of the metronome sound.
using Metronome = struct Metronome
Metronome settings.

Functions

auto metronome_new(void) -> Metronome*
Initializes the Metronome by loading the samples into memory.
auto metronome_queue_events(AudioEngine* self, const nframes_t loffset, const nframes_t nframes) -> NONNULL void
Queues metronome events (if any) within the current processing cycle.