Uses of Class
org.jjazz.songcontext.api.SongContext
Package
Description
Music controller: control the overall playback of a song.
Models to represent a playback session played by the MusicController.
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.
-
Uses of SongContext in org.jjazz.musiccontrol.api
Modifier and TypeMethodDescriptionint
PlaybackSettings.addClickTrack
(Sequence sequence, SongContext context) Add a click track using the current settings.long
PlaybackSettings.addPrecountClickTrack
(Sequence sequence, SongContext context) Add a precount click track to the sequence for the specified song.void
PlaybackSettings.firePlaybackStartVetoableChange
(SongContext sgContext) Notify all playback start VetoableChangeListeners with a PROP_VETO_PRE_PLAYBACK property vetoable change event.ModifierConstructorDescriptionControlTrack
(SongContext sgContext, int trackId) Create a control track for the specified SongContext. -
Uses of SongContext in org.jjazz.musiccontrol.api.playbacksession
Modifier and TypeMethodDescriptionBaseSongSession.getSongContext()
SongContextProvider.getSongContext()
UpdatableSongSession.getSongContext()
Modifier and TypeMethodDescriptionBaseSongSession.getFreshCopy
(SongContext sgContext) PlaybackSession.getFreshCopy
(SongContext sgContext) Get a copy of this session in the NEW state for the specified context.UpdatableSongSession.getFreshCopy
(SongContext sgContext) UpdateProviderSongSession.getFreshCopy
(SongContext sgContext) static StaticSongSession
StaticSongSession.getSession
(SongContext sgContext) Same as getSession(sgContext, true, true, true, true, PLAYBACK_SETTINGS_LOOP_COUNT, null);static StaticSongSession
StaticSongSession.getSession
(SongContext sgContext, boolean enablePlaybackTransposition, boolean includeClickTrack, boolean includePrecountTrack, boolean includeControlTrack, int loopCount, ActionListener endOfPlaybackAction) Create or reuse a session for the specified parameters.static UpdateProviderSongSession
UpdateProviderSongSession.getSession
(SongContext sgContext) Same as getSession(sgContext, true, true, true, true, true, PLAYBACK_SETTINGS_LOOP_COUNT, null);static UpdateProviderSongSession
UpdateProviderSongSession.getSession
(SongContext sgContext, boolean enablePlaybackTransposition, boolean includeClickTrack, boolean includePrecountTrack, boolean includeControlTrack, boolean enableUpdateControl, int loopCount, ActionListener endOfPlaybackAction) Create or reuse a session for the specified parameters.ModifierConstructorDescriptionBaseSongSession
(SongContext sgContext, boolean enablePlaybackTransposition, boolean enableClickTrack, boolean enablePrecountTrack, boolean enableControlTrack, int loopCount, ActionListener endOfPlaybackAction, boolean useActiveSongBackgroundMusicBuilder) Create a session with the specified parameters. -
Uses of SongContext in org.jjazz.rhythmmusicgeneration.api
Modifier and TypeMethodDescriptionMusicGenerationQueue.getLastAddedSongContext()
SongSequenceBuilder.getSongContext()
MusicGenerationQueue.Result.songContext()
Returns the value of thesongContext
record component.Modifier and TypeMethodDescriptionvoid
MusicGenerationQueue.add
(SongContext sgContext) Add a music generation request to this queue.DummyGenerator.generateMusic
(SongContext sgContext) ModifierConstructorDescriptionResult
(SongContext songContext, Map<RhythmVoice, Phrase> mapRvPhrases, Exception userException) Creates an instance of aResult
record class.SongSequenceBuilder
(SongContext context) -
Uses of SongContext in org.jjazz.rhythmmusicgeneration.spi
Modifier and TypeMethodDescriptionMusicGenerator.generateMusic
(SongContext context) Generate the note Phrases which correspond to a musical accompaniment for a given rhythm. -
Uses of SongContext in org.jjazz.songcontext.api
Modifier and TypeClassDescriptionclass
Create a new SongContext by deep copying the Song and the MidiMix.class
A SongContext with only one SongPart.Modifier and TypeMethodDescriptionSongContext.clone()
Clone the SongContext reusing the same song and midi mix.SongContext.deepClone
(boolean register) Deep clone the SongContext : make a copy of the song and the midimix.ModifierConstructorDescriptionSongContext
(SongContext sgContext, IntRange newRange) Create a SongContext which reuse sgContext's Song and MidiMix, but with the specified range.SongContextCopy
(SongContext sgContext, IntRange newRange, boolean registerSongCopy)