public class BarIterator.Bar
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
duration()
the duration of this bar accounting for time signature and tempo in force
|
int |
index()
the index of the bar
|
BarIterator.Part |
metronome()
get an artificial Part for a metronome in this bar
|
BarIterator.Part |
part(int partIndex)
get a Part in the score
|
java.lang.String |
toString() |
public BarIterator.Part part(int partIndex)
partIndex
- the part index - 0 is the top part in the scorepublic BarIterator.Part metronome()
public int index()
public int duration()
public java.lang.String toString()
toString
in class java.lang.Object