Uses of Class
org.jjazz.utilities.api.FloatRange
Package
Description
The model of a music phrase for a single instrument, e.g. a bass phrase or a drums phrase.
Objects and helper methods to generate musical phrases from the song and form the final backing track (see SongSequenceBuilder).
Describe the context for which a backing track should be generated: which (part of the) song, which MidiMix.
The model of a song structure, ie a list of SongParts.
General purpose utilities.
-
Uses of FloatRange in org.jjazz.phrase.api
Modifier and TypeMethodDescriptionGrid.getAdjustedBeatRange()
The beat range of this grid adjusted to the pre-cell beat window.NoteEvent.getBeatRange()
Phrase.getBeatRange()
Get the beat range from start of first note to end of last note.SizedPhrase.getBeatRange()
Get the beat range corresponding to this phrase.Grid.getCellBeatRange
(int cell) The FloatRange corresponding to the specified cell.Grid.getOriginalBeatRange()
The beat range used to create this grid.Modifier and TypeMethodDescriptionGrid.getCellRange
(FloatRange fr, boolean strict) Return the cell range based on the specified beat range.Phrase.getNotes
(Predicate<NoteEvent> tester, FloatRange range, boolean excludeUpperBound) Get the NoteEvents which match the tester and whose start position is in the [posFrom:posTo] or [posFrom:posTo[ range.static Phrase
Phrases.getSlice
(Phrase p, FloatRange range, boolean keepLeft, int cutRight, float beatWindow) Get a new phrase with cloned NoteEvents but keeping only the notes in the specified beat range, taking into account possible live-played/non-quantized notes via the beatWindow parameter.static void
Phrases.silence
(Phrase p, FloatRange range, boolean cutLeft, boolean keepRight, float beatWindow) Remove all phrase notes whose start position is in the specified beat range, taking into account possible live-played/non-quantized notes via the beatWindow parameter.Phrase.subSet
(FloatRange range, boolean excludeUpperBound) A subset of all notes in the specified range.ModifierConstructorDescriptionGrid
(Phrase p, FloatRange beatRange, int nbCellsPerBeat, Predicate<NoteEvent> filter) Obtain a grid for the specified Phrase p.SizedPhrase
(int channel, FloatRange beatRange, TimeSignature ts, boolean isDrums) Create a sized phrase with no notes. -
Uses of FloatRange in org.jjazz.phrase.api.ui
Modifier and TypeMethodDescriptionPhraseBirdsEyeViewComponent.getBeatRange()
The beat range shown in this component.Modifier and TypeMethodDescriptionvoid
PhraseBirdsEyeViewComponent.setBeatRange
(FloatRange beatRange) Set the beat range shown in this component.void
PhraseBirdsEyeViewComponent.setModel
(Phrase model, TimeSignature ts, FloatRange beatRange) Set the Phrase model. -
Uses of FloatRange in org.jjazz.pianoroll.api
Modifier and TypeMethodDescriptionPianoRollEditorTopComponent.getBeatRange()
The edited beat range.PianoRollEditor.getPhraseBeatRange()
PianoRollEditor.getVisibleBeatRange()
Get the min/max beat positions which are visible.Modifier and TypeMethodDescriptionvoid
PianoRollEditor.setModel
(Phrase p, FloatRange beatRange, int phraseStartBar, int rulerStartBar, int channel, NavigableMap<Float, TimeSignature> mapPosTs, DrumKit.KeyMap kMap) Set the edited model. -
Uses of FloatRange in org.jjazz.rhythmmusicgeneration.api
Modifier and TypeFieldDescriptionGridChordContext.afterBeatRange
from=chord position, to=end of the zone (last cell position minus the pre-cell window)Modifier and TypeMethodDescriptionSimpleChordSequence.getBeatRange
(float startBarPosInBeats) The beat range of this SimpleChordSequence provided it starts at startBarPosInBeats.SongChordSequence.getBeatRange()
Get the BeatRange of this SongChordSequence. -
Uses of FloatRange in org.jjazz.songcontext.api
Modifier and TypeMethodDescriptionSongContext.getBeatRange()
The range (computed at the time of this object creation) for which music should be produced.SongContext.getSptBeatRange
(SongPart spt) Get the intersection between the song part beat range and this SongContext beat range. -
Uses of FloatRange in org.jjazz.songstructure.api
Modifier and TypeMethodDescriptionSongStructure.toBeatRange
(IntRange barRange) Converts the specified bar range into a natural beat range. -
Uses of FloatRange in org.jjazz.utilities.api
Modifier and TypeFieldDescriptionstatic final FloatRange
FloatRange.EMPTY_FLOAT_RANGE
The special shared instance for the empty range.Modifier and TypeMethodDescriptionFloatRange.getIntersectRange
(FloatRange rg) FloatRange.getTransformed
(float offset) Get a new range with bounds modified by adding offset.FloatRange.getTransformed
(float fromOffset, float toOffset) Get a new range with bounds modified.FloatRange.getUnion
(FloatRange r) Get a new range made from the lowest and highest bounds from this object and r.Modifier and TypeMethodDescriptionboolean
FloatRange.contains
(FloatRange fr, boolean excludeUpperBound) Check if specified range is within this float range.FloatRange.getIntersectRange
(FloatRange rg) FloatRange.getUnion
(FloatRange r) Get a new range made from the lowest and highest bounds from this object and r.boolean
FloatRange.intersects
(FloatRange rg) Check if specified range intersects with this range.