Interface CompositeMusicGenerator.RvToDelegateUnitMapper
- Enclosing class:
CompositeMusicGenerator
public static interface CompositeMusicGenerator.RvToDelegateUnitMapper
Map a base RhythmVoice to a DelegateUnit for a given SongPart context.
-
Method Summary
Modifier and TypeMethodDescriptionget(RhythmVoice baseRv, SongPart spt) Get the DelegateUnit to be used to generate music for baseRv in the context of songPart.
-
Method Details
-
get
Get the DelegateUnit to be used to generate music for baseRv in the context of songPart.- Parameters:
baseRv- A RhythmVoice of the baseRhythm. Can not be null.spt- A SongPart which uses the baseRhythm. Can not be null.- Returns:
- A non-null value
-