Uses of Class
org.jjazz.phrase.api.SizedPhrase
Packages that use SizedPhrase
Package
Description
Notes "humanization" methods.
The model of a music phrase for a single instrument, e.g. a bass phrase or a drums phrase.
Object to transform a Phrase into another one.
-
Uses of SizedPhrase in org.jjazz.humanizer.api
Constructors in org.jjazz.humanizer.api with parameters of type SizedPhraseModifierConstructorDescriptionHumanizer(SizedPhrase sizedPhrase, InstrumentFamily insFamily, int tempo) Create an instance in INIT state with DEFAULT_CONFIG, and no registered notes. -
Uses of SizedPhrase in org.jjazz.phrase.api
Methods in org.jjazz.phrase.api that return SizedPhraseModifier and TypeMethodDescriptionSizedPhrase.clone()static SizedPhraseSizedPhrase.loadAsString(String s) Create a SizedPhrase from the specified string.Methods in org.jjazz.phrase.api with parameters of type SizedPhraseModifier and TypeMethodDescriptionstatic booleanPhrases.applyGroove(SizedPhrase spSrc, SizedPhrase spDest, float nearBeatWindow) Update spDest notes so that they match the position/duration/velocity of spSrc notes.static booleanPhrases.fixEndOfPhraseNotes(SizedPhrase sp) Make sure there is no note which ends right on sp boundary: when moving notes (eg Phrase.shiftAllEvents()), because of float rounding errors, this may lead to notes becoming out of SizedPhrase range.static booleanPhrases.isSameNotePositions(SizedPhrase sp1, SizedPhrase sp2, boolean sameNoteDurations, float nearBeatWindow) Check if both phrases have the same number of notes with approximatly the same note start positions, and optionnaly the same note durations.static StringSizedPhrase.saveAsString(SizedPhrase sp) Save the specified SizedPhrase as a string.Constructors in org.jjazz.phrase.api with parameters of type SizedPhrase -
Uses of SizedPhrase in org.jjazz.phrasetransform.api
Methods in org.jjazz.phrasetransform.api that return SizedPhraseModifier and TypeMethodDescriptionDrumsMixTransform.transform(SizedPhrase inPhrase, SongPartContext context) PhraseTransform.transform(SizedPhrase inPhrase, SongPartContext context) Transform inPhrase into another phrase.PhraseTransformChain.transform(SizedPhrase inPhrase, SongPartContext context) Run all the transforms in the chain.Methods in org.jjazz.phrasetransform.api with parameters of type SizedPhraseModifier and TypeMethodDescriptionintDrumsMixTransform.getFitScore(SizedPhrase inPhrase, SongPartContext context) intPhraseTransform.getFitScore(SizedPhrase inPhrase, SongPartContext context) Return a [0-100] value which indicates how much this transform is adapted for the specified parameters.default List<PhraseTransform> PhraseTransformManager.getRecommendedPhraseTransforms(SizedPhrase inPhrase, SongPartContext context, boolean exclude0score) Get the available PhraseTransforms sorted by "fit score" for the specified parameters.DrumsMixTransform.transform(SizedPhrase inPhrase, SongPartContext context) PhraseTransform.transform(SizedPhrase inPhrase, SongPartContext context) Transform inPhrase into another phrase.PhraseTransformChain.transform(SizedPhrase inPhrase, SongPartContext context) Run all the transforms in the chain.