SSPDBar

Superclass:
NSObject
Declared In:

Introduction

a multi part bar containing single parts SSPDPart and a metronome SSPDPart



Methods

-duration_midi:

get the bar duration in midi ticks (24 per crotchet)

-part:

get the SSPDPart for the 0-based part index


duration_midi:


get the bar duration in midi ticks (24 per crotchet)

-(int)duration_midi:(int)crotchet_duration; 
Parameters
crotchet_duration

midi ticks in crotchet

Return Value

duration of the current bar in midi ticks


part:


get the SSPDPart for the 0-based part index

-(SSPDPart*) part:(int)partIndex; 

Properties

countInBar

return a copy of this bar as a count-in bar (ie with a maximum of 4 beats)

duration_ms

the bar duration in milliseconds

index

the bar index [0..number of bars in score-1]

isLastInSequence

true if this is the last bar in the sequence

metronome

get a virtual SSPDPart for the metronome This contains 1 note for each metronome beat

metronomeBeatsInBar

number of metronome beats in a bar

sequenceIndex

the index of the bar in the play sequence (accounting for repeats)

tempoCrotchetBPM

crotchet tempo in beats per minute


countInBar


return a copy of this bar as a count-in bar (ie with a maximum of 4 beats)

@property (readonly) SSPDBar *countInBar; 

duration_ms


the bar duration in milliseconds

@property (readonly) int duration_ms; 

index


the bar index [0..number of bars in score-1]

@property (readonly) int index; 

isLastInSequence


true if this is the last bar in the sequence

@property (readonly) bool isLastInSequence; 

metronome


get a virtual SSPDPart for the metronome This contains 1 note for each metronome beat

@property (readonly) SSPDPart *metronome; 

metronomeBeatsInBar


number of metronome beats in a bar

@property (readonly) int metronomeBeatsInBar; 

sequenceIndex


the index of the bar in the play sequence (accounting for repeats)

@property (readonly) int sequenceIndex; 

tempoCrotchetBPM


crotchet tempo in beats per minute

@property (readonly) int tempoCrotchetBPM;