Uses of Class
org.jjazz.phrase.api.NoteEvent
Packages that use NoteEvent
Package
Description
Notes "humanization" methods.
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.humanizer.api
Methods in org.jjazz.humanizer.api that return types with arguments of type NoteEventMethod parameters in org.jjazz.humanizer.api with type arguments of type NoteEventModifier and TypeMethodDescriptionvoidHumanizer.registerNotes(Collection<NoteEvent> nes) Add phrase notes to be humanized by the humanize() method. -
Uses of NoteEvent in org.jjazz.phrase.api
Classes in org.jjazz.phrase.api that implement interfaces with type arguments of type NoteEventModifier and TypeClassDescriptionclassA collection of NoteEvents that are kept sorted by start position.classA collection of NoteEvents that are kept sorted by start position.classA collection of NoteEvents that are kept sorted by start position.Methods in org.jjazz.phrase.api that return NoteEventModifier and TypeMethodDescriptionAdd a new NoteEvent from the parameters.NoteEvent.clone()Clone this instance, including 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().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()NoteEvent.setAccidental(Note.Accidental newAccidental, boolean copyProperties) Get a copy with the alteration parameter modified.NoteEvent.setAll(int pitch, float duration, int velocity, float posInBeats, Note.Accidental acc, boolean copyProperties) Create a new and possibly modified NoteEvent from this instance.NoteEvent.setDuration(float newDurationInBeats, boolean copyProperties) Get a copy with the duration parameter modified.NoteEvent.setPitch(int newPitch, boolean copyProperties) Get a copy with the pitch parameter modified.NoteEvent.setPosition(float newPositionInBeats, boolean copyProperties) Get a copy with the position parameter modified.NoteEvent.setVelocity(int newVelocity, boolean copyProperties) Get a copy with the velocity parameter modified.Methods in org.jjazz.phrase.api that return types with arguments of type NoteEventModifier and TypeMethodDescriptionComparator<? super NoteEvent> Phrase.comparator()Phrase.descendingIterator()Phrase.descendingSet()Phrases.fixOverlappedNotes(Phrase p) Remove overlapped phrase notes with identical pitch.Phrases.fixOverlappedNotes(Phrase p) Remove overlapped phrase notes with identical pitch.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()Notes are sorted by position.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) A subset of all notes starting between the specified notes.Phrase.subSet(FloatRange range, boolean excludeUpperBound) A subset of all notes starting 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.static booleanNoteEvent.isAdjustingNote(NoteEvent ne) Check if note is marked isAdjusting.booleanstatic voidNoteEvent.markIsAdjustingNote(NoteEvent note, boolean b) Set or reset the note as isAdjusting.Move 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) A subset of all notes starting between the specified notes.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.static intPhrases.computeMedianVelocity(List<NoteEvent> notes, int defaultValue) Calculate the median velocity from a list of note events.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 clone of this Phrase with only filtered notes processed by the specified mapper.Get a clone of this Phrase with only filtered notes processed by the specified mapper.Get a clone of this 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 NoteEventConstructor parameters in org.jjazz.phrase.api with type arguments of type NoteEventModifierConstructorDescriptionGrid(Phrase p, FloatRange beatRange, int nbCellsPerBeat, Predicate<NoteEvent> filter, float preCellBeatWindow) Obtain a grid for the specified Phrase p. -
Uses of NoteEvent in org.jjazz.pianoroll.api
Classes in org.jjazz.pianoroll.api that implement interfaces with type arguments of type NoteEventMethods 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.PianoRollEditor.getSelectedNoteEvents()Get the currently selected NoteEvents sorted by NoteEvent natural order.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 from the main EditorPanel 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 -
Uses of NoteEvent in org.jjazz.score.api
Methods in org.jjazz.score.api with parameters of type NoteEventModifier and TypeMethodDescriptionMeasureContext.buildScoreNote(NoteEvent ne, ChordSymbol cs) Build the ScoreNote for the specified note.Method parameters in org.jjazz.score.api with type arguments of type NoteEventModifier and TypeMethodDescriptionMeasureContext.buildChordScoreNotes(List<NoteEvent> nes, ChordSymbol cs) Build several ScoreNotes which should be displayed as a chord (same position).