class TimeSig

A time signature change. More...

Full nameTSE3::TimeSig
Definition#include <TimeSigTrack.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

TimeSig objects are representations of a time signature change that occurs in the Song. They are held in the TimeSigTrack.

This class defines the type that is used to create TimeSigEvents, which are of type Event<TimeSig>.

When streamed from a Playable interface (using the TimeSigTrackIterator class) TimeSig objects are represented by a MidiEvent containing a MidiCommand_TSE_Meta MidiCommand with data 1 byte as MidiCommand_TSE_Meta_TimeSig.

TimeSig is a value type.

See also: TimeSigTrack, Event

 TimeSig (int top = 4, int bottom = 4)

TimeSig

Create a TimeSig.

Parameters:
topTime signature top value
bottomTime signature bottom value

int top

top

int bottom

bottom

int  operator== (const TimeSig &t)

operator==

[const]

The time signature bottom value.