audio/metronome.h file

Contents

Metronome related logic.

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.
void metronome_queue_events(AudioEngine* self, const nframes_t loffset, const nframes_t nframes)
Queues metronome events (if any) within the current processing cycle.