Uses of Class
org.jjazz.phrase.api.NoteEvent
Packages that use NoteEvent
Package
Description
The model of a music phrase for a single instrument, e.g. a bass phrase or a drums phrase.
-
Uses of NoteEvent in org.jjazz.phrase.api
Methods in org.jjazz.phrase.api that return NoteEventModifier and TypeMethodDescriptionAdd a new NoteEvent from the parameters.NoteEvent.clone()Also clone the client properties.Phrase.first()static NoteEventPhrase.getCeilNote(float pos) Create a NoteEvent limit to be used as a ceil/max position as per NoteEvent.compareTo().NoteEvent.getCopyDur(float durationInBeats) Get a copy with one parameter modified.NoteEvent.getCopyDurPos(float durationInBeats, float posInBeats) Get a copy with the specified parameters modified.NoteEvent.getCopyPitch(int pitch) Get a copy with one parameter modified.NoteEvent.getCopyPitchPos(int pitch, float posInBeats) Get a copy with the specified parameters modified.NoteEvent.getCopyPitchVel(int pitch, int velocity) Get a copy with the specified parameters modified.NoteEvent.getCopyPos(float posInBeats) Get a copy with one parameter modified.NoteEvent.getCopyVel(int velocity) Get a copy with one parameter modified.Grid.getFirstNote(int cell) Get the first note of the cellstatic NoteEventPhrase.getFloorNote(float pos) Create a NoteEvent limit to be used as a floor/min position as per NoteEvent.compareTo().static NoteEventPhrases.getHighestPitchNote(Phrase p) static NoteEventPhrases.getHighestVelocityNote(Phrase p) Grid.getLastNote(int cell) Get the last note of the cellstatic NoteEventPhrases.getLowestPitchNote(Phrase p) NoteEvent.AsNoteKey.getNoteEvent()Phrase.last()static NoteEventNoteEvent.loadAsString(String s) Create a NoteEvent from the specified string.Move a NoteEvent.Move a NoteEvent.Phrase.pollFirst()Phrase.pollLast()Methods in org.jjazz.phrase.api that return types with arguments of type NoteEventModifier and TypeMethodDescriptionComparator<? super NoteEvent>Phrase.comparator()Phrase.descendingIterator()Phrase.descendingSet()Grid.getCellNotes(int cell) Get the note of the specified cell.Grid.getCellNotes(IntRange range) Get the notes in the specified cell range.Phrases.getCrossingNotes(Phrase p, float posInBeats, boolean strict) Get the phrase notes still ringing at specified position.Phrase.getNotes()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.Phrases.getNotesByPitch(Phrase p, Predicate<NoteEvent> tester) Get phrase notes matching the specified tester and return them per pitch.Grid.getPredicate()Phrase.iterator()Move NoteEvents.Grid.removeNotes(int cell) Convenient method that just return removeNotes(new IntRange(cell, cell)).Grid.removeNotes(IntRange range) Remove all notes in the specified cells range.Phrase.subSet(NoteEvent fromElement, boolean fromInclusive, NoteEvent toElement, boolean toInclusive) Phrase.subSet(FloatRange range, boolean excludeUpperBound) A subset of all notes in the specified range.Methods in org.jjazz.phrase.api with parameters of type NoteEventModifier and TypeMethodDescriptionbooleanAdd a NoteEvent.booleanAdd a NoteEvent.booleanSizedPhrase.canAddNote(NoteEvent ne) Overridden to check NoteEvent is within the beat range (including the upper bound).intNoteEvent.compareToAsPosition(NoteEvent n) Compare using only position.booleanNoteEvent.equalsAsNoteNearPosition(NoteEvent ne, float nearWindow) Check for equality as a Note tolerating slight differences in position and duration.booleanMove a NoteEvent.Move a NoteEvent.voidReplace a NoteEvent by another one.voidReplace a NoteEvent by another one.voidGrid.replaceNote(NoteEvent oldNote, NoteEvent newNote) Replace a note by another one at same position.static StringNoteEvent.saveAsString(NoteEvent ne) Save the specified NoteEvent as a string.Phrase.subSet(NoteEvent fromElement, boolean fromInclusive, NoteEvent toElement, boolean toInclusive) Method parameters in org.jjazz.phrase.api with type arguments of type NoteEventModifier and TypeMethodDescriptionbooleanPhrase.addAll(Collection<? extends NoteEvent> collection) Add several NoteEvents.booleanPhrase.addAll(Collection<? extends NoteEvent> collection, boolean isAdjusting) Add several NoteEvents.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.Phrases.getNotesByPitch(Phrase p, Predicate<NoteEvent> tester) Get phrase notes matching the specified tester and return them per pitch.Get a new Phrase with only filtered notes processed by the specified mapper.Get a new Phrase with only filtered notes processed by the specified mapper.Get a new Phrase with only filtered notes processed by the specified mapper.Overridden to return a SourcePhrase.Overridden to return a SourcePhrase.Overridden to return a SourcePhrase.Move NoteEvents.voidTransform the notes which satisfy the specified tester.voidTransform the notes which satisfy the specified tester.voidTransform the notes which satisfy the specified tester.voidPhrase.replaceAll(Map<NoteEvent, NoteEvent> mapOldNew, boolean isAdjusting) Replace NoteEvents.voidPhrase.replaceAll(Map<NoteEvent, NoteEvent> mapOldNew, boolean isAdjusting) Replace NoteEvents.Constructors in org.jjazz.phrase.api with parameters of type NoteEventModifierConstructorDescriptionCreate a new NoteEvent from another NoteEvent.Constructor parameters in org.jjazz.phrase.api with type arguments of type NoteEventModifierConstructorDescriptionGrid(Phrase p, FloatRange beatRange, int nbCellsPerBeat, Predicate<NoteEvent> filter) Obtain a grid for the specified Phrase p. -
Uses of NoteEvent in org.jjazz.pianoroll.api
Methods in org.jjazz.pianoroll.api that return NoteEventModifier and TypeMethodDescriptionCopyNoteBuffer.getFirstNote()CopyNoteBuffer.getLastNote()NoteView.getModel()Methods in org.jjazz.pianoroll.api that return types with arguments of type NoteEventModifier and TypeMethodDescriptionNoteView.getNotes(Collection<NoteView> noteViews) Get a list of notes from a collection of NoteViews.CopyNoteBuffer.getNotesCopy(float targetStartPosition) Return a copy of the buffer notes adjusted so that the first note is at targetStartPosition.Methods in org.jjazz.pianoroll.api with parameters of type NoteEventModifier and TypeMethodDescriptionintRely on NoteEvent.compareTo() but returns 0 only if noteEvent==ne.PianoRollEditor.getNoteView(NoteEvent ne) Get the NoteView associated to the specified NoteEvent.booleanPianoRollEditor.isNoteSelected(NoteEvent ne) voidPianoRollEditor.selectNote(NoteEvent ne, boolean b) voidMethod parameters in org.jjazz.pianoroll.api with type arguments of type NoteEventModifier and TypeMethodDescriptionvoidPut items in the buffer in ItemMode.voidPianoRollEditor.selectNotes(Collection<NoteEvent> notes, boolean b) Select or unselect NoteViews.Constructors in org.jjazz.pianoroll.api with parameters of type NoteEvent