Package com.tagtraum.audiokern.segments
Interface Segments
-
- All Known Implementing Classes:
SegmentList
public interface Segments extends Iterable<Segment>
Segments.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Segments
alignWith(Beats beats)
Create a newSegments
object that contains beat/measure-aligned segments.int
count()
Number of segments.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
alignWith
Segments alignWith(Beats beats)
Create a newSegments
object that contains beat/measure-aligned segments.- Parameters:
beats
- beats- Returns:
- beat aligned segments
- See Also:
Beats.changeTime(com.tagtraum.audiokern.timesignature.TimeSignature)
-
count
int count()
Number of segments.- Returns:
- count or -1 if not known
-
-