Package org.jjazz.musiccontrol.api.playbacksession
package org.jjazz.musiccontrol.api.playbacksession
Models to represent a playback session played by the MusicController.
-
ClassDescriptionA base implementation of a PlaybackSession to render a SongContext.PlaybackSession additional capability: the sequence contains a control track.PlaybackSession additional capability: an action should be executed when music playback is stopped (because user stopped it or end of sequence is reached).A PlaybackSession contains the data needed by the MusicController to play music and provide related services (firing beat or chord symbol events, managing tempo changes, ...).PlaybackSession additional capability: the session provides a SongContextA BaseSongSession which becomes dirty as soon as the SongContext has changed musically.An UpdatableSongSession is a BaseSongSession wrapper which enables on-the-fly updates of the playing sequence using
UpdatableSongSession.updateSequence(org.jjazz.musiccontrol.api.playbacksession.UpdatableSongSession.Update)
.A song update produced by an UpdateProvider and processed by the UpdatableSongSession.A SongContextSession capability: can provide updates after sequence was generated (i.e. while session is in the GENERATED state).A special UpdatableSongSession, which accepts an UpdateProvider as base session, and which closes itself after being played.A session to be used as a BaseSongSession for an UpdatableSongSession.