Interface YamJJazzRhythm
- All Superinterfaces:
Comparable<Rhythm>, ConfigurableMusicGeneratorProvider, MusicGeneratorProvider, Rhythm
- All Known Subinterfaces:
YamJJazzAdaptedRhythm
- All Known Implementing Classes:
CompositeRhythm, JJSwingRhythm
Our Rhythm interface extension.
-
Field Summary
Fields inherited from interface Rhythm
PROP_RESOURCES_LOADED -
Method Summary
Modifier and TypeMethodDescriptiongetAccType(String rpMuteValue) Get the AccType corresponding to a RP_SYS_Mute value.intgetComplexityLevel(String rpValue) Analyze the RP_Variation value produced by buildRhythmParameters() to retrieve the complexity level.default RhythmVoiceGet the RhythmVoice corresponding to specified AccType.getStyle()The Style object associated to this rhythm.getStylePart(String rpValue) Analyze a RhythmParameter String value produced by buildRhythmParameters() to retrieve the corresponding StylePart.booleanTrue if it's an extended rhythm, false if it's a standard Yamaha rhythm.Methods inherited from interface ConfigurableMusicGeneratorProvider
setMusicGeneratorMethods inherited from interface MusicGeneratorProvider
getMusicGeneratorMethods inherited from interface Rhythm
addPropertyChangeListener, compareTo, getAuthor, getDescription, getFeatures, getFile, getName, getPreferredTempo, getRhythmParameters, getRhythmVoices, getTags, getTimeSignature, getUniqueId, getVersion, isResourcesLoaded, loadResources, releaseResources, removePropertyChangeListener
-
Method Details
-
getAccType
-
getComplexityLevel
Analyze the RP_Variation value produced by buildRhythmParameters() to retrieve the complexity level.- Parameters:
rpValue- eg "Main A-2"- Returns:
- eg 2, or -1 if no match.
-
getRhythmVoice
Get the RhythmVoice corresponding to specified AccType.- Parameters:
at-- Returns:
- Can be null if this AccType is not used in this rhythm.
-
getStyle
-
getStylePart
-
isExtendedRhythm
boolean isExtendedRhythm()True if it's an extended rhythm, false if it's a standard Yamaha rhythm.- Returns:
-