Uses of Class
org.jjazz.utilities.api.IntRange
Package
Description
The model of a chord leadsheet.
Models to represent a playback session played by the MusicController.
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).
The model of a song, which mainly contains a ChordLeadSheet and a SongStructure.
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 IntRange in org.jjazz.chordleadsheet.api
Modifier and TypeMethodDescriptiondefault IntRange
ChordLeadSheet.getBarRange()
Get the bar range of this chord leadsheet.default IntRange
ChordLeadSheet.getBarRange
(CLI_Section cliSection) The bar range of the specified section. -
Uses of IntRange in org.jjazz.musiccontrol.api.playbacksession
Modifier and TypeMethodDescriptionBaseSongSession.getBarRange()
PlaybackSession.getBarRange()
The bar range corresponding to the sequence.UpdatableSongSession.getBarRange()
-
Uses of IntRange in org.jjazz.phrase.api
Modifier and TypeMethodDescriptionGrid.getCellRange()
The cell index range of this object.Grid.getCellRange
(FloatRange fr, boolean strict) Return the cell range based on the specified beat range.Modifier and TypeMethodDescriptionvoid
Grid.changeDuration
(IntRange range, int cellOff, boolean shorterOk, boolean longerOk) Change the duration of all notes in specified cell range so that they end at cell cellIndexOff.void
Grid.changeVelocity
(IntRange range, Function<Integer, Integer> f) Modify velocity of notes in the specified cell range.Grid.getCellNotes
(IntRange range) Get the notes in the specified cell range.int
Grid.getFirstNoteCell
(IntRange range) Get the cell index of the first note in the specified cell range.int
Grid.getLastNoteCell
(IntRange range) Get the cell of the last note in the specified cell range.Grid.removeNotes
(IntRange range) Remove all notes in the specified cells range. -
Uses of IntRange in org.jjazz.pianoroll.api
Modifier and TypeMethodDescriptionPianoRollEditorTopComponent.getBarRange()
The edited bar range.PianoRollEditor.getPhraseBarRange()
PianoRollEditor.getRulerBarRange()
Get the ruler bar range.PianoRollEditor.getVisibleBarRange()
Get the min/max bar indexes which are visible.PianoRollEditor.getVisiblePitchRange()
Get the min/max notes which are currently visible. -
Uses of IntRange in org.jjazz.rhythmmusicgeneration.api
Modifier and TypeFieldDescriptionGridChordContext.afterCellRange
from=chordCell+1, to=cell before next chord symbol or end of grid, can be empty.GridChordContext.beforeCellRange
from=cell after previous chord symbol or start of grid, to=chordCell-1, can be empty.GridChordContext.cellRange
from=1st cell of this zone, to=last cell of this zoneGridChordContext.fromBeatStartCellRange
from=beat start, to=chordCell-1, can be empty.GridChordContext.toNextBeatCellRange
from=chordCell+1, to=cell before next beat, can be empty.Modifier and TypeMethodDescriptionfinal IntRange
ChordSequence.getBarRange()
SongChordSequence.getSptBarRange
(SongPart spt) Get the intersection between the specified SongPart and the bar range of this ChordSequence.Modifier and TypeMethodDescriptionstatic void
SongChordSequence.fillChordSequence
(ChordSequence cSeq, Song song, IntRange barRange) Fill a ChordSequence with the chord symbols of the specified song (or part of the song).ChordSequence.subSequence
(IntRange subRange, boolean addInitChordSymbol) A new sub-sequence from this sequence.SimpleChordSequence.subSequence
(IntRange subRange, boolean addInitChordSymbol) Overridden to return a SimpleChordSequence.ModifierConstructorDescriptionChordSequence
(IntRange barRange) Construct a chord sequence for the specified bar range.SimpleChordSequence
(IntRange barRange, TimeSignature ts) SongChordSequence
(Song song, IntRange barRange) Build a ChordSequence for the specified song, or part of the song. -
Uses of IntRange in org.jjazz.song.api
ModifierConstructorDescriptionBeatIterator
(Song song, IntRange barRange) Construct an iterator for the specified bar range within a song.BeatIterator
(Song song, IntRange barRange, Position pos) Construct an iterator for the specified bar range within a song, starting at pos. -
Uses of IntRange in org.jjazz.songcontext.api
Modifier and TypeMethodDescriptionSongContext.getBarRange()
Music should be produced only for this range of bars.SongContext.getSptBarRange
(SongPart spt) Get the intersection between the song part bar range and this SongContext bar range.ModifierConstructorDescriptionSongContext
(Song s, MidiMix mm, IntRange bars) Create a SongContext object for whole or part of a song.SongContext
(SongContext sgContext, IntRange newRange) Create a SongContext which reuse sgContext's Song and MidiMix, but with the specified range.SongContextCopy
(Song s, MidiMix mm, IntRange barRange, boolean registerSongCopy) SongContextCopy
(SongContext sgContext, IntRange newRange, boolean registerSongCopy) SongPartContext
(Song s, MidiMix mix, IntRange bars) Create a SongPartContext. -
Uses of IntRange in org.jjazz.songstructure.api
Modifier and TypeMethodDescriptiondefault IntRange
SongPart.getBarRange()
Convenience method.default IntRange
SongStructure.getBarRange()
The bar range corresponding to this song structure.Modifier and TypeMethodDescriptionSongStructure.toBeatRange
(IntRange barRange) Converts the specified bar range into a natural beat range. -
Uses of IntRange in org.jjazz.utilities.api
Modifier and TypeFieldDescriptionstatic final IntRange
IntRange.EMPTY_RANGE
The special shared instance for the empty range.Modifier and TypeMethodDescriptionIntRange.getIntersection
(IntRange r) IntRange.getTransformed
(int offset) IntRange.getTransformed
(int fromOffset, int toOffset) Get a new range with bounds modified.Get a new range made from the lowest and highest bounds from this object and r.Modifier and TypeMethodDescriptionboolean
Check if specified range is contained in this range.IntRange.getIntersection
(IntRange r) Get a new range made from the lowest and highest bounds from this object and r.boolean
IntRange.isAdjacent
(IntRange r) Test if r is adjacent to this range, e.g. [4;6] and [7;12] are adjacent.boolean
IntRange.isIntersecting
(IntRange r) Check if specified range intersects with this range.