Firelight Technologies FMOD Studio API
FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES
This structure holds information about a beat on the timeline.
C/C++ Syntax
typedef struct {
int bar;
int beat;
int position;
float tempo;
int timesignatureupper;
int timesignaturelower;
} FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES;
JavaScript Syntax
struct FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES
{
bar,
beat,
position,
tempo,
timesignatureupper,
timesignaturelower,
};
Members
bar
The bar number (starting from 1).
beat
The beat number within the bar (starting from 1).
position
The position of the beat on the timeline in milliseconds.
tempo
The current tempo in beats per minute.
timesignatureupper
The current time signature upper number (beats per bar).
timesignaturelower
The current time signature lower number (beat unit).
Remarks
This data is passed to the event callback function when type is FMOD_STUDIO_EVENT_CALLBACK_TIMELINE_BEAT.
JavaScript only :
Not all fields are currently supported or may not work as expected at this time. To initialize an new instance in javascript use "FMOD.STUDIO_TIMELINE_BEAT_PROPERTIES()", no 'new' keyword is required.
See Also
Version 1.10.03 Built on Feb 1, 2018