public interface RhythmAltLayerProvider
Modifier and Type | Method and Description |
---|---|
java.lang.String |
provideAltLayer(int segment)
Override this method to provide Rhythm with an alternate layer
based on the current segment.
|
java.lang.String provideAltLayer(int segment)
if (segment % 5 == 0) return "S...O...S..oO..."
If there is no alt layer to provide, return null.segment
- The index into rhythm's lengthRhythm.setLength()