Uses of Class
org.jjazz.song.api.Song
Packages that use Song
Package
Description
The chord leadsheet editor.
Service providers for the chord leadsheet editor.
Various file readers
The model for the mix of a song (instruments used per channel and their settings, volume, effect, etc.).
A service provider to find the most relevant instrument for a given rhythm voice.
The mix console editor to edit a song's MidiMix.
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).
The model of a song, which mainly contains a ChordLeadSheet and a SongStructure.
Service providers to create songs using eg importers.
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).
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.
Service provider to provide SptViewer instances.
-
Uses of Song in org.jjazz.activesong.spi
Methods in org.jjazz.activesong.spi that return SongMethods in org.jjazz.activesong.spi with parameters of type SongModifier and TypeMethodDescriptionActiveSongManager.isActivable(Song sg) booleanSet the specified song and MidiMix as active:
- send MidiMessages for all MidiMix parameters at activation
- listen to MidiMix changes and send the related Midi messages according to the SendPolicy
- reset MusicController session
- Fire a PROP_ACTIVE_SONG change event (oldValue=mm, newValue=sg) -
Uses of Song in org.jjazz.chordinspector.spi
Methods in org.jjazz.chordinspector.spi with parameters of type SongModifier and TypeMethodDescriptionvoidChordViewer.setContext(Song song, MidiMix midiMix, RhythmVoice rv) Provide optional context info to the viewer. -
Uses of Song in org.jjazz.cl_editor.api
Methods in org.jjazz.cl_editor.api that return SongModifier and TypeMethodDescriptionabstract SongCL_Editor.getSongModel()CL_EditorTopComponent.getSongModel()Methods in org.jjazz.cl_editor.api with parameters of type SongModifier and TypeMethodDescriptionstatic intCL_EditorClientProperties.getBarAnnotationNbLines(Song song) static intCL_EditorClientProperties.getZoomXFactor(Song song) static intCL_EditorClientProperties.getZoomYFactor(Song song) static booleanCL_EditorClientProperties.isBarAnnotationVisible(Song song) static voidCL_EditorClientProperties.setBarAnnotationNbLines(Song song, int n) static voidCL_EditorClientProperties.setBarAnnotationVisible(Song song, boolean b) static voidCL_EditorClientProperties.setZoomXFactor(Song song, int factor) Note: it might be easier to useCL_Editor.setNbColumns(int).static voidCL_EditorClientProperties.setZoomYFactor(Song song, int factor) Constructors in org.jjazz.cl_editor.api with parameters of type Song -
Uses of Song in org.jjazz.cl_editor.spi
Methods in org.jjazz.cl_editor.spi with parameters of type SongModifier and TypeMethodDescriptiondefault CL_EditorCL_EditorFactory.createEditor(Song song) Create an editor with the default settings.CL_EditorFactory.createEditor(Song song, CL_EditorSettings settings, BarBoxFactory bbf, BarRendererFactory brf) Create an editor with the specified settings. -
Uses of Song in org.jjazz.importers.api
Methods in org.jjazz.importers.api that return Song -
Uses of Song in org.jjazz.midimix.api
Methods in org.jjazz.midimix.api that return SongMethods in org.jjazz.midimix.api with parameters of type SongModifier and TypeMethodDescriptionvoidMidiMix.checkConsistency(Song sg, boolean fullCheck) Check if this MidiMix is consistent with the specified song.DefaultMidiMixManager.findExistingMix(Song s) final voidAssociate a song to this MidiMix : listen to song changes to keep this MidiMix consistent.Constructors in org.jjazz.midimix.api with parameters of type Song -
Uses of Song in org.jjazz.midimix.spi
Methods in org.jjazz.midimix.spi with parameters of type SongModifier and TypeMethodDescriptionCreate a new MidiMix for the specified song.MidiMixManager.findExistingMix(Song s) Find a mix which must be existing.Get a MidiMix for the specified song in the following order. -
Uses of Song in org.jjazz.mixconsole.api
Methods in org.jjazz.mixconsole.api that return Song -
Uses of Song in org.jjazz.musiccontrol.api
Methods in org.jjazz.musiccontrol.api that return SongMethods in org.jjazz.musiccontrol.api with parameters of type SongModifier and TypeMethodDescriptionstatic booleanSongMidiExporter.songToMidiFile(Song song, MidiMix midiMix, File midiFile, RhythmVoice rv) Export a song to the specified midi File.Constructors in org.jjazz.musiccontrol.api with parameters of type SongModifierConstructorDescriptionSongMusicGenerationListener(Song song, MidiMix midiMix, int preFireChangeEventDelayMs) Construct a SongMusicGenerationListener. -
Uses of Song in org.jjazz.musiccontrol.spi
Methods in org.jjazz.musiccontrol.spi that return Song -
Uses of Song in org.jjazz.musiccontrolactions.api.ui
Methods in org.jjazz.musiccontrolactions.api.ui that return SongMethods in org.jjazz.musiccontrolactions.api.ui with parameters of type Song -
Uses of Song in org.jjazz.pianoroll.api
Methods in org.jjazz.pianoroll.api that return SongModifier and TypeMethodDescriptionPianoRollEditor.getSong()Get the song the edited phrase belongs to.PianoRollEditorTopComponent.getSong()The song associated to this TopComponent.Methods in org.jjazz.pianoroll.api with parameters of type SongModifier and TypeMethodDescriptionstatic PianoRollEditorTopComponentSearch for the PianoRollEditorTopComponent associated to song.static StringPianoRollEditorTopComponent.getDefaultTabName(Song song) The default tab name for a song.voidAssociate an optional song to the editor -this method can be called only once.Constructors in org.jjazz.pianoroll.api with parameters of type SongModifierConstructorDescriptionPianoRollEditorTopComponent(Song sg, PianoRollEditorSettings settings) Create a TopComponent editor for the specified song. -
Uses of Song in org.jjazz.rhythmmusicgeneration.api
Methods in org.jjazz.rhythmmusicgeneration.api that return SongMethods in org.jjazz.rhythmmusicgeneration.api with parameters of type SongModifier and TypeMethodDescriptionstatic voidSongChordSequence.fillChordSequence(ChordSequence cSeq, Song song, IntRange barRange) Fill a ChordSequence with the chord symbols of the specified song (or part of the song).Constructors in org.jjazz.rhythmmusicgeneration.api with parameters of type SongModifierConstructorDescriptionSongChordSequence(Song song, IntRange barRange) Build a ChordSequence for the specified song, or part of the song. -
Uses of Song in org.jjazz.rhythmselectiondialog.spi
Methods in org.jjazz.rhythmselectiondialog.spi with parameters of type SongModifier and TypeMethodDescriptionvoidRhythmPreviewer.setContext(Song sg, SongPart spt) Set the context for which the object will preview rhythms. -
Uses of Song in org.jjazz.song.api
Methods in org.jjazz.song.api that return SongModifier and TypeMethodDescriptionSongFactory.createEmptySong(String songName) Create a 8-bar empty song with only the 4/4 initial Section named "A" and its corresponding SongPart.SongFactory.createEmptySong(String songName, int nbBars, String initSectionName, TimeSignature ts, String initialChord) Create an empty song with the specified parameters.SongFactory.createSong(String name, ChordLeadSheet cls) Create a Song from the specified chordleadsheet.SongFactory.createSong(String name, SongStructure sgs) Create a Song from a SongStructure and its parent ChordLeadSheet.SongFactory.createSong(String name, SongStructure sgs, boolean noClsSgsLink) Create a Song from a SongStructure and its parent ChordLeadSheet, possibly unlinked.SongFactory.findSong(ChordLeadSheet cls) Find in the created song the first one which uses the specified ChordLeadSheet.SongFactory.findSong(SongStructure sgs) Find in the created song the first one which uses the specified SongStructure.Return a deep copy of the specified song.static SongSongUtilities.getLinearizedSong(Song song, boolean register) Get a new song with the lead sheet linearized ("unfolded") according to the song structure.static SongSongUtilities.getSimplifiedLeadSheet(Song song, boolean register) Get a new song with a simplified lead sheet.BeatIterator.getSong()SongMetaEvents.getSong()static SongSong.loadFromFile(File f) Load a Song from a file.Methods in org.jjazz.song.api that return types with arguments of type SongMethods in org.jjazz.song.api with parameters of type SongModifier and TypeMethodDescriptionstatic voidSongUtilities.doubleChordLeadsheet(Song song) Double the chord leadsheet of the specified song.Return a deep copy of the specified song.static SongMetaEventsSongMetaEvents.getInstance(Song song) static SongSongUtilities.getLinearizedSong(Song song, boolean register) Get a new song with the lead sheet linearized ("unfolded") according to the song structure.static SongSongUtilities.getSimplifiedLeadSheet(Song song, boolean register) Get a new song with a simplified lead sheet.static voidSongUtilities.halfChordLeadsheet(Song song) Half the chord leadsheet of the specified song.voidSongFactory.registerSong(Song sg) Register a song if it was not created by this SongFactory.voidSongFactory.unregisterSong(Song song) Remove a song from the list returned by getRegisteredSong().Constructors in org.jjazz.song.api with parameters of type SongModifierConstructorDescriptionBeatIterator(Song song) Create a beat iterator for the specified song.BeatIterator(Song song, Position pos) Construct an iterator for the specified song, starting at specified position.BeatIterator(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 Song in org.jjazz.song.spi
Methods in org.jjazz.song.spi that return SongModifier and TypeMethodDescriptionSongImporter.importFromFile(File f) Try to build a Song object from the specified file. -
Uses of Song in org.jjazz.songcontext.api
Methods in org.jjazz.songcontext.api that return SongConstructors in org.jjazz.songcontext.api with parameters of type SongModifierConstructorDescriptionSongContext(Song s, MidiMix mm) Create a SongContext object for the whole song.SongContext(Song s, MidiMix mm, IntRange bars) Create a SongContext object for whole or part of a song.SongPartContext(Song s, MidiMix mix, SongPart spt) Create a SongPartContext.SongPartContext(Song s, MidiMix mix, IntRange bars) Create a SongPartContext. -
Uses of Song in org.jjazz.songeditormanager.spi
Methods in org.jjazz.songeditormanager.spi that return SongModifier and TypeMethodDescriptionLoad a song from a file and show it.Methods in org.jjazz.songeditormanager.spi that return types with arguments of type SongModifier and TypeMethodDescriptionSongEditorManager.getOpenedSongs()Get all the currently opened songs.Methods in org.jjazz.songeditormanager.spi with parameters of type SongModifier and TypeMethodDescriptionbooleanProgrammatically close all the editors associated to a song.SongEditorManager.getSongEditorSet(Song s) Get the editors currently opened for the specified song.SongEditorManager.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.SongEditorManager.showPianoRollEditorForUserTrack(Song song, MidiMix midiMix, UserRhythmVoice userRhythmVoice) Open (or show) the song's PianoRollEditor and set it up to edit a user track associated to userRhythmVoice.voidShow a song in the application. -
Uses of Song in org.jjazz.spteditor.spi
Methods in org.jjazz.spteditor.spi with parameters of type SongModifier 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 Song in org.jjazz.ss_editor.api
Methods in org.jjazz.ss_editor.api that return SongModifier and TypeMethodDescriptionabstract SongSS_Editor.getSongModel()SS_EditorTopComponent.getSongModel()Methods in org.jjazz.ss_editor.api with parameters of type SongModifier and TypeMethodDescriptionstatic List<RhythmParameter<?>> SS_EditorClientProperties.getCompactViewModeVisibleRPs(Song song, Rhythm r) Get the list of visible RPs in compact view mode for the specified rhythm.SS_EditorClientProperties.getViewMode(Song song) static intSS_EditorClientProperties.getZoomXFactor(Song song) static intSS_EditorClientProperties.getZoomYFactor(Song song) static voidSS_EditorClientProperties.setCompactViewModeVisibleRPs(Song song, Rhythm r, List<RhythmParameter<?>> rps) Set the list of visible RPs in compact view mode for the specified rhythm.static voidSS_EditorClientProperties.setViewMode(Song song, SS_EditorClientProperties.ViewMode mode) static voidSS_EditorClientProperties.setZoomXFactor(Song song, int factor) static voidSS_EditorClientProperties.setZoomYFactor(Song song, int factor) Constructors in org.jjazz.ss_editor.api with parameters of type Song -
Uses of Song in org.jjazz.ss_editor.rpviewer.api
Methods in org.jjazz.ss_editor.rpviewer.api that return SongModifier and TypeMethodDescriptionMeterRpRenderer.getSong()RpViewerRenderer.getSong()The Song context.StringRpRenderer.getSong()Constructors in org.jjazz.ss_editor.rpviewer.api with parameters of type SongModifierConstructorDescriptionMeterRpRenderer(Song song, SongPart spt) StringRpRenderer(Song song, SongPart spt, Supplier<String> stringSupplier, StringRpRendererSettings settings) -
Uses of Song in org.jjazz.ss_editor.rpviewer.spi
Methods in org.jjazz.ss_editor.rpviewer.spi with parameters of type SongModifier 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 Song in org.jjazz.ss_editor.spi
Methods in org.jjazz.ss_editor.spi with parameters of type SongModifier and TypeMethodDescriptionSS_EditorFactory.createEditor(Song song, SS_EditorSettings settings, SptViewerFactory factory) -
Uses of Song in org.jjazz.ss_editor.sptviewer.spi
Methods in org.jjazz.ss_editor.sptviewer.spi with parameters of type SongModifier and TypeMethodDescriptionSptViewerFactory.createSptViewer(Song song, SongPart spt, SptViewerSettings settings, DefaultRpViewerRendererFactory factory)