Uses of Class
org.jjazz.phrase.api.Phrase
Packages that use Phrase
Package
Description
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.
Parameters of a rhythm which alter the way the backing track is rendered.
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.
Manage the creation/destruction of editors for a new/closed song, plus related actions (eg duplicate song).
-
Uses of Phrase in org.jjazz.musiccontrol.api.playbacksession
Methods in org.jjazz.musiccontrol.api.playbacksession that return types with arguments of type PhraseModifier and TypeMethodDescriptionUpdatableSongSession.getCurrentRvPhraseMap()Get the current Phrase for each RhythmVoice track.UpdatableSongSession.Update.getMapRvPhrases()The updated phrases for one or more RhythmVoices.UpdatableSongSession.getOriginalRvPhraseMap()A map giving the original resulting Phrase for each RhythmVoice, in the current context.BaseSongSession.getRvPhraseMap()A map giving the resulting Phrase for each RhythmVoice, in the current context.Constructor parameters in org.jjazz.musiccontrol.api.playbacksession with type arguments of type PhraseModifierConstructorDescriptionUpdate(Map<RhythmVoice, Phrase> mapRvPhrases, ControlTrack controlTrack) -
Uses of Phrase in org.jjazz.phrase.api
Subclasses of Phrase in org.jjazz.phrase.apiModifier and TypeClassDescriptionclassA Phrase which has a size (beat range) and a time signature.classA source Phrase is a Phrase associated to a source chord symbol and possibly with some client properties.Methods in org.jjazz.phrase.api that return PhraseModifier and TypeMethodDescriptionPhrase.clone()A deep clone: returned phrase contains clones of the original NoteEvents.static PhrasePhraseSamples.getBasicDrumPhrase(float startPosInBeats, int nbBars, TimeSignature ts, int channel) Get a basic drums phrase.static PhrasePhraseSamples.getCscalePhrase(int channel, float startPos, float nbBeats) Build a Phrase with 12 notes C-D-E-F-G-A-B-C that fit into nbBeats.Grid.getPhrase()Get a new Phrase with only filtered notes processed by the specified mapper.Phrase.getProcessedPhrasePitch(Function<Integer, Integer> f) Get a new phrase with all notes changed.Phrase.getProcessedPhraseVelocity(Function<Integer, Integer> f) Get a new phrase with notes velocity changed.static PhrasePhraseSamples.getRandomPhrase(int channel, int nbBars, int nbNotes) Get a phrase with random notes at random positions.static PhrasePhrases.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 PhrasePhrases.importPhrase(File midiFile, int channel, boolean isDrums, boolean strictChannel, boolean notifyUserIfNoChannelNotes) Parse a Midi file to extract one phrase from the specified Midi channel notes (notes can be on any track).static PhrasePhrase.loadAsString(String s) Create a Phrase from the specified string.Methods in org.jjazz.phrase.api that return types with arguments of type PhraseModifier and TypeMethodDescriptionPhrases.getPhrases(int tracksPPQ, Track[] tracks, Integer... channels) Parse all tracks to build one phrase per used channel.Methods in org.jjazz.phrase.api with parameters of type PhraseModifier and TypeMethodDescriptionvoidClone NoteEvents from the specified Phrase and add them to this Phrase.voidAdd a Phrase from the specified Phrase.static voidPhrases.addMidiEvents(Phrase p, List<MidiEvent> midiEvents, float posInBeatsOffset, boolean ignoreChannel) Add NoteEvents from a list of NOTE_ON/OFF Midi events at MidiConst.PPQ_RESOLUTION.booleanPhrase.equalsNearPosition(Phrase p, float nearWindow) Compare the notes (pitch, velocity), but tolerate slight differences in position and duration.static voidCreate MidiEvents for each phrase note then add them to the specified track.static ChordGet a chord made of all unique pitch NoteEvents present in the phrase.Phrases.getCrossingNotes(Phrase p, float posInBeats, boolean strict) Get the phrase notes still ringing at specified position.static NoteEventPhrases.getHighestPitchNote(Phrase p) static NoteEventPhrases.getHighestVelocityNote(Phrase p) static NoteEventPhrases.getLowestPitchNote(Phrase p) Phrases.getNotesByPitch(Phrase p, Predicate<NoteEvent> tester) Get phrase notes matching the specified tester and return them per pitch.static PhrasePhrases.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 voidPhrases.limitPitch(Phrase p, int lowLimit, int highLimit) Change the octave of phrase notes whose pitch is above highLimit or below lowLimit.static voidPhrases.removeOverlappedNotes(Phrase p) Remove overlapped phrase notes with identical pitch.static StringPhrase.saveAsString(Phrase p) Save the specified Phrase as a string.static voidPhrases.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.static voidPhrases.silenceAfter(Phrase p, float posInBeats) Make sure there is no note ringing in the phrase after the specified position.Phrases.toMidiEvents(Phrase p) Get the phrase notes as MidiEvents.Constructors in org.jjazz.phrase.api with parameters of type PhraseModifierConstructorDescriptionGrid(Phrase p, FloatRange beatRange, int nbCellsPerBeat, Predicate<NoteEvent> filter) Obtain a grid for the specified Phrase p.SourcePhrase(Phrase p, ExtChordSymbol ecs) Build a new SourcePhrase . -
Uses of Phrase in org.jjazz.phrase.api.ui
Methods in org.jjazz.phrase.api.ui that return PhraseMethods in org.jjazz.phrase.api.ui with parameters of type PhraseModifier and TypeMethodDescriptionvoidPhraseBirdsEyeViewComponent.setModel(Phrase model, TimeSignature ts, FloatRange beatRange) Set the Phrase model. -
Uses of Phrase in org.jjazz.pianoroll.api
Methods in org.jjazz.pianoroll.api that return PhraseModifier and TypeMethodDescriptionPianoRollEditor.getModel()Get the Phrase edited by this editor.Methods in org.jjazz.pianoroll.api that return types with arguments of type PhraseModifier and TypeMethodDescriptionPianoRollEditor.getGhostPhrases()Get the optional view-only phrases shown faded in the background of the editor.Methods in org.jjazz.pianoroll.api with parameters of type PhraseModifier and TypeMethodDescriptionvoidPianoRollEditor.setModel(Phrase p, FloatRange beatRange, int phraseStartBar, int rulerStartBar, int channel, NavigableMap<Float, TimeSignature> mapPosTs, DrumKit.KeyMap kMap) Set the edited model.voidPianoRollEditorTopComponent.setModelForSongPartCustomPhrase(SongPart spt, Phrase p, int channel, DrumKit.KeyMap keyMap) Configure the TopComponent to edit a custom phrase of a song part.voidPianoRollEditorTopComponent.setModelForUserPhrase(Phrase p, int channel, DrumKit.KeyMap keyMap) Configure the TopComponent to edit a user phrase on the whole song.Method parameters in org.jjazz.pianoroll.api with type arguments of type PhraseModifier and TypeMethodDescriptionvoidPianoRollEditor.setGhostPhases(Map<Integer, Phrase> mapChannelPhrases) Optional view-only phrases shown faded in the background of the editor. -
Uses of Phrase in org.jjazz.rhythm.api.rhythmparameters
Methods in org.jjazz.rhythm.api.rhythmparameters that return PhraseModifier and TypeMethodDescriptionRP_SYS_CustomPhraseValue.getCustomizedPhrase(RhythmVoice rv) Get the custom phrase for the specified RhythmVoice.RP_SYS_CustomPhraseValue.removeCustomizedPhrase(RhythmVoice rv) Remove the customized phrase for the specified RhythmVoice.Methods in org.jjazz.rhythm.api.rhythmparameters with parameters of type PhraseModifier and TypeMethodDescriptionvoidRP_SYS_CustomPhraseValue.setCustomizedPhrase(RhythmVoice rv, Phrase p) Set the customized phrase for the specified RhythmVoice. -
Uses of Phrase in org.jjazz.rhythmmusicgeneration.api
Fields in org.jjazz.rhythmmusicgeneration.api with type parameters of type PhraseMethods in org.jjazz.rhythmmusicgeneration.api that return PhraseModifier and TypeMethodDescriptionstatic PhraseUtilities.fitBassPhrase2ChordSymbol(SourcePhrase pSrc, ExtChordSymbol ecsDest) Adapt the notes from a bass melody-oriented source phrase to a destination chord symbol.static PhraseUtilities.fitChordPhrase2ChordSymbol(SourcePhrase pSrc, ExtChordSymbol ecsDest) Adapt the notes from a chord-oriented source phrase to a destination chord symbol.static PhraseUtilities.fitMelodyPhrase2ChordSymbol(SourcePhrase pSrc, ExtChordSymbol ecsDest, boolean chordMode) Adapt the notes from a melody-oriented source phrase to a destination chord symbol.static PhraseDummyGenerator.getBasicBassPhrase(float startPosInBeats, SimpleChordSequence cSeq, int channel) Get a basic bass phrase.Methods in org.jjazz.rhythmmusicgeneration.api that return types with arguments of type PhraseModifier and TypeMethodDescriptionSongSequenceBuilder.buildMapRvPhrase(boolean silent) Build the RhythmVoice phrases for the defined context.DummyGenerator.generateMusic(SongContext sgContext) MusicGenerationQueue.Result.mapRvPhrases()Returns the value of themapRvPhrasesrecord component.Methods in org.jjazz.rhythmmusicgeneration.api with parameters of type PhraseModifier and TypeMethodDescriptionvoidAnticipatedChordProcessor.anticipateChords_Drums(Phrase p, DrumKit kit) Process the anticipatable chords for Drums phrase p.voidAnticipatedChordProcessor.anticipateChords_Mono(Phrase p) Process the anticipatable chords for a monophonic phrase p (eg a bass phrase).voidAnticipatedChordProcessor.anticipateChords_Poly(Phrase p) Process the anticipatable chords for a polyphonic phrase p (eg a piano phrase).voidAccentProcessor.processAccentBass(Phrase p) Process the accents of a bass phrase.voidAccentProcessor.processAccentChord(Phrase p) Process accents of a chord oriented phrase (polyphonic).voidAccentProcessor.processAccentDrums(Phrase p, DrumKit kit) Process a drums phrase (not percussion).voidAccentProcessor.processHoldShotChord(Phrase p, AccentProcessor.HoldShotMode hsMode) Process the Hold/Shot of a chord-based phrase (polyphonic)voidAccentProcessor.processHoldShotDrums(Phrase p, DrumKit kit, AccentProcessor.HoldShotMode hsMode) Process Hold/Shots for a drums phrase (not percussion).voidAccentProcessor.processHoldShotMono(Phrase p, AccentProcessor.HoldShotMode hsMode) Process the Hold/Shot of a monophonic phrase (bass or others).Method parameters in org.jjazz.rhythmmusicgeneration.api with type arguments of type PhraseModifier and TypeMethodDescriptionSongSequenceBuilder.buildSongSequence(Map<RhythmVoice, Phrase> rvPhrases) Build the SongSequence from the specified RhythmVoice phrases for the defined context.Constructor parameters in org.jjazz.rhythmmusicgeneration.api with type arguments of type PhraseModifierConstructorDescriptionResult(SongContext songContext, Map<RhythmVoice, Phrase> mapRvPhrases, Exception userException) Creates an instance of aResultrecord class. -
Uses of Phrase in org.jjazz.rhythmmusicgeneration.spi
Methods in org.jjazz.rhythmmusicgeneration.spi that return types with arguments of type PhraseModifier and TypeMethodDescriptionMusicGenerator.generateMusic(SongContext context) Generate the note Phrases which correspond to a musical accompaniment for a given rhythm. -
Uses of Phrase in org.jjazz.song.api
Methods in org.jjazz.song.api that return PhraseModifier and TypeMethodDescriptionSong.getUserPhrase(String name) Get the user phrase associated to specified name.Song.removeUserPhrase(String name) Remove the user phrase associated to name.Methods in org.jjazz.song.api with parameters of type PhraseModifier and TypeMethodDescriptionvoidSong.setUserPhrase(String name, Phrase p) Set the user phrase for the specified name. -
Uses of Phrase in org.jjazz.songeditormanager.api
Methods in org.jjazz.songeditormanager.api with parameters of type PhraseModifier and TypeMethodDescriptionSongEditorManager.showPianoRollEditorForSptCustomPhrase(Song song, MidiMix midiMix, SongPart spt, RhythmVoice rv, Phrase p) Open (or show) the song's PianoRollEditor and set it up to edit a custom phrase of a SongPart. -
Uses of Phrase in org.jjazz.testplayerservice.spi
Methods in org.jjazz.testplayerservice.spi with parameters of type PhraseModifier and TypeMethodDescriptionvoidTestPlayer.playTestNotes(Phrase phrase, Runnable endAction) Play the test notes from specified phrase.