Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
metronome.h File Reference

Metronome related logic. More...

#include <cstddef>
#include "utils/types.h"
Include dependency graph for metronome.h:

Go to the source code of this file.

Data Structures

struct  Metronome
 Metronome settings. More...
 

Macros

#define METRONOME   (AUDIO_ENGINE->metronome)
 

Enumerations

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

Functions

Metronomemetronome_new (void)
 Initializes the Metronome by loading the samples into memory.
 
NONNULL void metronome_set_volume (Metronome *self, float volume)
 
NONNULL void metronome_queue_events (AudioEngine *self, const nframes_t loffset, const nframes_t nframes)
 Queues metronome events (if any) within the current processing cycle.
 
NONNULL void metronome_free (Metronome *self)
 

Detailed Description

Metronome related logic.

Definition in file metronome.h.