Uses of Interface
org.jjazz.songstructure.api.SongPart
Packages that use SongPart
Package
Description
Music controller: control the overall playback of a song.
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.
Manage the creation/destruction of editors for a new/closed song, plus related actions (eg duplicate song).
The model of a song structure, ie a list of SongParts.
The possible change events received by a SongStructure change listener.
The graphical editor window of a song part.
Service provider for indvidual RhythmParameter editor components.
The SongStructure graphical editor.
The graphical RpViewer component to represent a RhythmParameter value within a SptViewer.
Service provider to provider RpViewer instances for each type of RhythmParameter.
The graphical SongPart viewer component, which holds the RpViewers components.
Service provider to provide SptViewer instances.
-
Uses of SongPart in org.jjazz.musiccontrol.api
Methods in org.jjazz.musiccontrol.api that return SongPartModifier and TypeMethodDescriptionMusicController.getCurrentSongPart()The current SongPart being played.Methods in org.jjazz.musiccontrol.api with parameters of type SongPartModifier and TypeMethodDescriptionvoidPlaybackListener.songPartChanged(SongPart spt) Called on SongPart change.voidPlaybackListenerAdapter.songPartChanged(SongPart newSpt) -
Uses of SongPart in org.jjazz.pianoroll.api
Methods in org.jjazz.pianoroll.api that return SongPartModifier and TypeMethodDescriptionPianoRollEditorTopComponent.getSongPart()The edited SongPart, or null if the whole song is edited.Methods in org.jjazz.pianoroll.api with parameters of type SongPartModifier and TypeMethodDescriptionvoidPianoRollEditorTopComponent.setModelForSongPartCustomPhrase(SongPart spt, Phrase p, int channel, DrumKit.KeyMap keyMap) Configure the TopComponent to edit a custom phrase of a song part. -
Uses of SongPart in org.jjazz.rhythmmusicgeneration.api
Methods in org.jjazz.rhythmmusicgeneration.api that return SongPartModifier and TypeMethodDescriptionCompositeMusicGenerator.DelegateUnit.songPart()Returns the value of thesongPartrecord component.Methods in org.jjazz.rhythmmusicgeneration.api that return types with arguments of type SongPartModifier and TypeMethodDescriptionSongChordSequence.getSongParts()Get the SongParts (whole or partially) included in this SongChordSequence.Methods in org.jjazz.rhythmmusicgeneration.api with parameters of type SongPartModifier and TypeMethodDescriptionCompositeMusicGenerator.RvToDelegateUnitMapper.get(RhythmVoice baseRv, SongPart spt) Get the DelegateUnit to be used to generate music for baseRv in the context of songPart.SongChordSequence.getSptBarRange(SongPart spt) Get the intersection between the specified SongPart and the bar range of this ChordSequence.Method parameters in org.jjazz.rhythmmusicgeneration.api with type arguments of type SongPartModifier and TypeMethodDescriptionSongChordSequence.buildSimpleChordSequences(Predicate<SongPart> sptTester) Build a SimpleChordSequence for each sequence of contiguous SongParts which match the predicate.Constructors in org.jjazz.rhythmmusicgeneration.api with parameters of type SongPartModifierConstructorDescriptionDelegateUnit(SongPart songPart, RhythmVoice rvBase, MusicGenerator mg, String rpVariationValue) Constructor to use when rvBase has no delegate (delegates to itself).DelegateUnit(SongPart songPart, RhythmVoice rvBase, MusicGenerator mg, RhythmVoice rv, String rpVariationValue, Consumer<Phrase> postProcessor) Creates an instance of aDelegateUnitrecord class. -
Uses of SongPart in org.jjazz.rhythmselectiondialog.spi
Methods in org.jjazz.rhythmselectiondialog.spi with parameters of type SongPartModifier and TypeMethodDescriptionvoidRhythmPreviewer.setContext(Song sg, SongPart spt) Set the context for which the object will preview rhythms. -
Uses of SongPart in org.jjazz.songcontext.api
Methods in org.jjazz.songcontext.api that return SongPartMethods in org.jjazz.songcontext.api that return types with arguments of type SongPartModifier and TypeMethodDescriptionSongContext.getSongParts()Get all the song parts contained in this context bar range.Methods in org.jjazz.songcontext.api with parameters of type SongPartModifier and TypeMethodDescriptionSongContext.getSptBarRange(SongPart spt) Get the intersection between the song part bar range and this SongContext bar range.SongContext.getSptBeatRange(SongPart spt) Get the intersection between the song part beat range and this SongContext beat range.SongContext.getSptTickRange(SongPart spt) Get the range of ticks of spt belonging to this context.booleanCheck if the specified spt has at least one bar in the range of this context.Constructors in org.jjazz.songcontext.api with parameters of type SongPartModifierConstructorDescriptionSongPartContext(Song s, MidiMix mix, SongPart spt) Create a SongPartContext. -
Uses of SongPart in org.jjazz.songeditormanager.spi
Methods in org.jjazz.songeditormanager.spi with parameters of type SongPartModifier 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 SongPart in org.jjazz.songstructure.api
Methods in org.jjazz.songstructure.api that return SongPartModifier and TypeMethodDescriptionSongStructure.createSongPart(Rhythm r, String name, int startBarIndex, int nbBars, CLI_Section parentSection, boolean reusePrevParamValues) Create a new SongPart instance whose container is this object.SongPart.getCopy(Rhythm r, int startBarIndex, int nbBars, CLI_Section parentSection) Create a new SongPart with same name based on this object.SongStructure.getSongPart(int absoluteBarIndex) Get the SongPart which contains a specific bar.SongPartParameter.getSpt()Methods in org.jjazz.songstructure.api that return types with arguments of type SongPartModifier and TypeMethodDescriptionSongStructure.getSongParts()SongStructure.getSongParts(Predicate<SongPart> tester) Get the SongParts which match the tester.Methods in org.jjazz.songstructure.api with parameters of type SongPartModifier and TypeMethodDescriptionSongStructure.getSptItemPosition(SongPart spt, ChordLeadSheetItem<?> clsItem) Get the absolute position in the song structure of a chordleadsheet item referred to by the specified song part.default booleanReturn true if name, startBarIndex, nbBars, rhythm, parent section and all rp values match.<T> voidSongStructure.setRhythmParameterValue(SongPart spt, RhythmParameter<T> rp, T value) Change the value of a specific RhythmParameter.Method parameters in org.jjazz.songstructure.api with type arguments of type SongPartModifier and TypeMethodDescriptionvoidSongStructure.addSongParts(List<SongPart> spts) Add one by one a list of SongParts.SongStructure.getSongParts(Predicate<SongPart> tester) Get the SongParts which match the tester.voidSongStructure.removeSongParts(List<SongPart> spts) Remove some SongParts.voidSongStructure.replaceSongParts(List<SongPart> oldSpts, List<SongPart> newSpts) Replace SongParts by other SongParts.voidSongStructure.resizeSongParts(Map<SongPart, Integer> mapSptSize) Change the size in bars of SongParts.voidSongStructure.setSongPartsName(List<SongPart> spts, String name) Change the name of one or more SongParts.Constructors in org.jjazz.songstructure.api with parameters of type SongPart -
Uses of SongPart in org.jjazz.songstructure.api.event
Methods in org.jjazz.songstructure.api.event that return SongPartMethods in org.jjazz.songstructure.api.event that return types with arguments of type SongPartModifier and TypeMethodDescriptionSptResizedEvent.getMapOldSptSize()SptReplacedEvent.getNewSpts()SgsChangeEvent.getSongParts()Method parameters in org.jjazz.songstructure.api.event with type arguments of type SongPartConstructors in org.jjazz.songstructure.api.event with parameters of type SongPartModifierConstructorDescriptionRpValueChangedEvent(SongStructure src, SongPart spt, RhythmParameter<?> rp, Object oldValue, Object newValue) Create an event.SgsChangeEvent(SongStructure src, SongPart spt) Constructor parameters in org.jjazz.songstructure.api.event with type arguments of type SongPartModifierConstructorDescriptionSgsChangeEvent(SongStructure src, Collection<SongPart> spts) SptAddedEvent(SongStructure src, List<SongPart> addedSpts) SptRemovedEvent(SongStructure src, List<SongPart> removedSpts) SptRenamedEvent(SongStructure src, Collection<SongPart> renamedSpts) Some SongParts names have been changedSptReplacedEvent(SongStructure src, List<SongPart> oldSpts, List<SongPart> newSpts) SptResizedEvent(SongStructure src, Map<SongPart, Integer> mapOldSptSize) Some SongParts have been resized. -
Uses of SongPart in org.jjazz.spteditor.api
Methods in org.jjazz.spteditor.api that return SongPartConstructors in org.jjazz.spteditor.api with parameters of type SongPartModifierConstructorDescriptionRpEditor(SongPart spt, RhythmParameter<?> rp, RpEditorComponent editor) Initialize the RpEditor for the specified RhythmParameter with the specified editor. -
Uses of SongPart in org.jjazz.spteditor.spi
Methods in org.jjazz.spteditor.spi with parameters of type SongPartModifier and TypeMethodDescriptionDefaultRpEditorComponentFactory.createComponent(Song song, DefaultRpEditorComponentFactory.Type type, SongPart spt, RhythmParameter<?> rp) Create a RpEditorComponent of the specified type.RpEditorComponentFactory.createComponent(Song song, SongPart spt, RhythmParameter<?> rp) Create a RpEditorComponent adapted to rp class (whatever the containing rhythm). -
Uses of SongPart in org.jjazz.ss_editor.api
Methods in org.jjazz.ss_editor.api that return SongPartModifier and TypeMethodDescriptionabstract SongPartSS_Editor.getFocusedSongPart(boolean includeFocusedRhythmParameter) Get the focused SongPart, if any.Methods in org.jjazz.ss_editor.api that return types with arguments of type SongPartModifier and TypeMethodDescriptionSS_Selection.getIndirectlySelectedSongParts()The list of selected SongParts (ordered by startBarIndex), or corresponding to the selected RhythmParameters if RhythmParameters are selected.SS_Selection.getSelectedSongParts()Methods in org.jjazz.ss_editor.api with parameters of type SongPartModifier and TypeMethodDescriptionabstract RectangleSS_Editor.getRpViewerRectangle(SongPart spt, RhythmParameter<?> rp) Get the bounds of the component representing the specified RhythmParameter.SS_Selection.getSelectedSongPartParameter(SongPart spt) abstract RectangleSS_Editor.getSptViewerRectangle(SongPart spt) Get the bounds of the component representing the specified SongPart.booleanSS_Selection.isRhythmParameterSelected(SongPart spt, RhythmParameter<?> rp) booleanSS_Selection.isSongPartSelected(SongPart spt) abstract voidSS_Editor.makeSptViewerVisible(SongPart spt) Try to scroll so that the specified song part becomes visible.abstract voidSS_Editor.selectRhythmParameter(SongPart spt, RhythmParameter<?> rp, boolean b) Select a specific RhythmParameter.abstract voidSS_Editor.selectSongPart(SongPart spt, boolean b) Select a songpart.abstract voidSS_Editor.setFocusOnRhythmParameter(SongPart spt, RhythmParameter<?> rp) Set the focus on a specific RhythmParameter.abstract voidSS_Editor.setFocusOnSongPart(SongPart spt) Set the focus on a specific SongPart.Constructor parameters in org.jjazz.ss_editor.api with type arguments of type SongPart -
Uses of SongPart in org.jjazz.ss_editor.rpviewer.api
Methods in org.jjazz.ss_editor.rpviewer.api that return SongPartModifier and TypeMethodDescriptionMeterRpRenderer.getSongPart()RpViewerRenderer.getSongPart()The SongPart context.StringRpRenderer.getSongPart()RpViewer.getSptModel()Methods in org.jjazz.ss_editor.rpviewer.api with parameters of type SongPartModifier and TypeMethodDescription<E> voidRpViewerController.rhythmParameterEdit(SongPart spt, RhythmParameter<E> rp, E rpValue) User has directly edited a RhythmParameter value, probably from a RpViewerEditableRenderer.voidRpViewerController.rhythmParameterEditWithCustomDialog(SongPart spt, RhythmParameter<?> rp) User wants to use the custom edit dialog of the specified RhythmParameter.Constructors in org.jjazz.ss_editor.rpviewer.api with parameters of type SongPartModifierConstructorDescriptionMeterRpRenderer(Song song, SongPart spt) RpViewer(SongPart spt, RhythmParameter<?> rp, RpViewerSettings settings, RpViewerRenderer renderer) StringRpRenderer(Song song, SongPart spt, Supplier<String> stringSupplier, StringRpRendererSettings settings) -
Uses of SongPart in org.jjazz.ss_editor.rpviewer.spi
Methods in org.jjazz.ss_editor.rpviewer.spi with parameters of type SongPartModifier and TypeMethodDescriptionDefaultRpViewerRendererFactory.getRpViewerRenderer(Song song, SongPart spt, RhythmParameter<?> rp, DefaultRpViewerRendererFactory.Type type, RpViewerSettings settings) Get the RpViewerRenderer of the specified type.RpViewerRendererFactory.getRpViewerRenderer(Song song, SongPart spt, RhythmParameter<?> rp, RpViewerSettings settings) Get a RpViewerRenderer instance adapted to the specified RhyhtmParameter. -
Uses of SongPart in org.jjazz.ss_editor.sptviewer.api
Methods in org.jjazz.ss_editor.sptviewer.api that return SongPartMethods in org.jjazz.ss_editor.sptviewer.api with parameters of type SongPartModifier and TypeMethodDescriptionvoidSptViewerMouseListener.editSongPartName(SongPart spt) User wants to edit the specified songpart's name.voidSptViewerMouseListener.editSongPartRhythm(SongPart spt) User wants to edit the specified songpart's rhythm.voidSptViewerMouseListener.rhythmParameterClicked(MouseEvent e, SongPart spt, RhythmParameter<?> rp) voidSptViewerMouseListener.rhythmParameterDragged(MouseEvent e, SongPart spt, RhythmParameter<?> rp) voidSptViewerMouseListener.rhythmParameterReleased(MouseEvent e, SongPart spt, RhythmParameter<?> rp) voidSptViewerMouseListener.rhythmParameterWheelMoved(MouseWheelEvent e, SongPart spt, RhythmParameter<?> rp) voidSptViewerMouseListener.songPartClicked(MouseEvent e, SongPart spt, boolean multiSelect) voidSptViewerMouseListener.songPartDragged(MouseEvent e, SongPart spt) voidSptViewerMouseListener.songPartReleased(MouseEvent e, SongPart spt) -
Uses of SongPart in org.jjazz.ss_editor.sptviewer.spi
Methods in org.jjazz.ss_editor.sptviewer.spi with parameters of type SongPartModifier and TypeMethodDescriptionSptViewerFactory.createSptViewer(Song song, SongPart spt, SptViewerSettings settings, DefaultRpViewerRendererFactory factory) -
Uses of SongPart in org.jjazz.ss_editorimpl.api
Method parameters in org.jjazz.ss_editorimpl.api with type arguments of type SongPartModifier and TypeMethodDescriptionstatic voidEditRhythm.changeSongPartsRhythm(List<SongPart> selectedSpts) Show the rhythm selection dialog initialized with the 1st selected song part.