Toast Engine
Loading...
Searching...
No Matches
event::MusicBeat Struct Reference

Fired when MusicPlayer reaches a beat or bar boundary. More...

#include <audio_events.hpp>

Inheritance diagram for event::MusicBeat:
Collaboration diagram for event::MusicBeat:

Public Member Functions

 MusicBeat (int bar, int beat, int position_ms, float tempo, int upper, int lower)

Public Attributes

int bar
 0-based bar number
int beat
 0-based beat within the bar
int position_ms
float tempo
int time_sig_upper
 numerator of the time signature
int time_sig_lower
 denominator of the time signature
Public Attributes inherited from event::Event< MusicBeat >
friend T

Additional Inherited Members

Public Types inherited from event::Event< MusicBeat >
using callback_t
 callbacks that return 'true' are consumed and do not propogate
using iterator_t

Detailed Description

Fired when MusicPlayer reaches a beat or bar boundary.


The documentation for this struct was generated from the following file: