Uses of Class
org.deepsymmetry.beatlink.data.BeatGrid
-
Packages that use BeatGrid Package Description org.deepsymmetry.beatlink.data Offers rich information about the tracks loaded in players on the network. -
-
Uses of BeatGrid in org.deepsymmetry.beatlink.data
Fields in org.deepsymmetry.beatlink.data declared as BeatGrid Modifier and Type Field Description BeatGrid
BeatGridUpdate. beatGrid
The beat grid which is now associated with the track loaded in the player's main deck.BeatGrid
TrackPositionUpdate. beatGrid
The track metadata against which this update was calculated, so that if it has changed, we know to discard the update.Methods in org.deepsymmetry.beatlink.data that return BeatGrid Modifier and Type Method Description BeatGrid
MetadataProvider. getBeatGrid(MediaDetails sourceMedia, DataReference track)
Get the beat grid for a particular track, if it is available.BeatGrid
BeatGridFinder. getLatestBeatGridFor(int player)
Look up the beat grid we have for the track loaded in the main deck of a given player number.BeatGrid
BeatGridFinder. getLatestBeatGridFor(DeviceUpdate update)
Look up the beat grid we have for a given player, identified by a status update received from that player.BeatGrid
BeatGridFinder. requestBeatGridFrom(DataReference track)
Ask the specified player for the beat grid of the track in the specified slot with the specified rekordbox ID, first checking if we have a cache we can use instead.Methods in org.deepsymmetry.beatlink.data that return types with arguments of type BeatGrid Modifier and Type Method Description Map<DeckReference,BeatGrid>
BeatGridFinder. getLoadedBeatGrids()
Get the beat grids available for all tracks currently loaded in any player, either on the play deck, or in a hot cue.Methods in org.deepsymmetry.beatlink.data with parameters of type BeatGrid Modifier and Type Method Description String
SignatureFinder. computeTrackSignature(String title, SearchableItem artist, int duration, WaveformDetail waveformDetail, BeatGrid beatGrid)
Calculate the signature by which we can reliably recognize a loaded track.JComponent
WaveformDetail. createViewComponent(TrackMetadata metadata, BeatGrid beatGrid)
Create a standard Swing component which can be added to a user interface that will draw this waveform detail, optionally including annotations like the current playback position and minute markers (if you supplyTrackMetadata
so the total length can be determined), and cue markers (if you also supply aCueList
).void
WaveformPreviewComponent. setBeatGrid(BeatGrid beatGrid)
Establish a beat grid to use when translating between times and beat numbers, for example to paint the phrase bars.void
WaveformDetailComponent. setWaveform(WaveformDetail waveform, CueList cueList, BeatGrid beatGrid)
Change the waveform preview being drawn.void
WaveformDetailComponent. setWaveform(WaveformDetail waveform, TrackMetadata metadata, BeatGrid beatGrid)
Change the waveform preview being drawn.Constructors in org.deepsymmetry.beatlink.data with parameters of type BeatGrid Constructor Description TrackPositionUpdate(long timestamp, long milliseconds, int beatNumber, boolean definitive, boolean playing, double pitch, boolean reverse, BeatGrid beatGrid)
Constructor simply sets the fields of this immutable value class.TrackPositionUpdate(long timestamp, long milliseconds, int beatNumber, boolean definitive, boolean playing, double pitch, boolean reverse, BeatGrid beatGrid, boolean precise, boolean fromBeat)
Constructor simply sets the fields of this immutable value class.WaveformDetailComponent(WaveformDetail waveform, CueList cueList, BeatGrid beatGrid)
Create a view which draws a specific waveform, even if it is not currently loaded in a player.WaveformDetailComponent(WaveformDetail waveform, TrackMetadata metadata, BeatGrid beatGrid)
Create a view which draws a specific waveform, even if it is not currently loaded in a player.
-