Serialized Form


Package at.ofai.music.beatroot

Class at.ofai.music.beatroot.BeatTrackDisplay extends javax.swing.JPanel implements Serializable

serialVersionUID: 0L

Serialized Fields

gui

GUI gui
handle to the GUI (parent) object


xSize

int xSize
width in pixels of this panel


ySize

int ySize
height in pixels of this panel


img

java.awt.image.BufferedImage img
background image showing audio data but not beats


gImage

java.awt.Graphics gImage
the Graphics object for drawing on img


clipRect

java.awt.Rectangle clipRect
the clip rectangle for painting only those areas which have changed


x0

int x0
x-coordinate corresponding to time t = 0 (could be off-screen)


yTop

int yTop
y-coordinate of top of data area


yMid

int yMid
y-coordinate of the bottom of the spectrogram and top of the amplitude envelope area


yBottom

int yBottom
y-coordinate of bottom of data area (position of x-axis)


fontSize

int fontSize
size of font for inter-beat intervals and axis labels


beats

at.ofai.music.util.EventList beats
beat data encoded as a list of Events


selectedBeat

at.ofai.music.util.Event selectedBeat
the current beat (in editing and annotation operations)


beatPtr

java.util.ListIterator<E> beatPtr
location of selected beat (previous()) in the EventList beats


selectedBeatTime

double selectedBeatTime
time of selected beat (for undo)


startSelection

double startSelection
beginning of selected data region


endSelection

double endSelection
end of selected data region (may be < start)


regionSelected

boolean regionSelected
flag indicating whether a region is selected


scrollDirection

int scrollDirection
the direction of scrolling when dragging outside the displayed bounds


onsetList

at.ofai.music.util.EventList onsetList
a list of onset events for passing to the tempo induction and beat tracking methods


onsets

double[] onsets
the times of onsets (in seconds)


offsets

double[] offsets
the times of offsets (in seconds) for MIDI data


pitches

int[] pitches
the pitches of MIDI notes


env

double[] env
the times corresponding to each point in the magnitudes array


magnitudes

int[] magnitudes
smoothed amplitude envelope of audio signal


tInc

double tInc
time interval between frames of spectrogram data (hop time)


spectro

double[][] spectro
spectrogram data


spectroLength

int spectroLength
number of frames of valid spectrogram data


loThreshold

double loThreshold
the threshold below which the minimum colour is used in the spectrogram


hiThreshold

double hiThreshold
the threshold above which the maximum colour is used in the spectrogram


overlap

double overlap
the ratio of hop size to frame size (for aligning the spectrogram with the audio)


audioScale

double audioScale
Scaling factor for displaying the amplitude envelope


minimumTime

double minimumTime
the minimum time that might need to be displayed for this input file (seconds)


maximumTime

double maximumTime
the maximum time that might need to be displayed for this input file (seconds)


visibleTimeStart

double visibleTimeStart
the time corresponding to the leftmost point on the panel (seconds)


visibleTimeLength

double visibleTimeLength
the duration of the visible audio data (seconds)


currentTime

double currentTime
the current time of audio output (for cursor position)


midiMin

int midiMin
smallest displayed midi pitch


midiMax

int midiMax
largest displayed midi pitch


font

java.awt.Font font
font used for displaying text


metrics

java.awt.FontMetrics metrics
metrics for calculating the size of printed strings


mode

int mode
a bit string indicating what items are displayed on the main data panel

Class at.ofai.music.beatroot.Chooser extends javax.swing.JFileChooser implements Serializable

serialVersionUID: 0L

Class at.ofai.music.beatroot.GUI extends javax.swing.JFrame implements Serializable

serialVersionUID: 0L

Serialized Fields

listener

EventProcessor listener
The object which processes key, button and menu events


audioPlayer

AudioPlayer audioPlayer
The object which handles sound output


audioProcessor

AudioProcessor audioProcessor
The object which reads and processes audio


chooser

Chooser chooser
BeatRoot's file chooser object


preferences

at.ofai.music.util.Parameters preferences
Dialog for setting preferences


metricalLevels

at.ofai.music.util.Parameters metricalLevels
Dialog for specifying metrical levels


percussionSounds

at.ofai.music.util.Parameters percussionSounds
Dialog for setting the percussion sounds which are played on beats


menuBar

javax.swing.JMenuBar menuBar
BeatRoot's menu bar


displayPanel

BeatTrackDisplay displayPanel
The main data panel, which displays audio and beat data, and is a component of this window


scroller

javax.swing.JScrollBar scroller
The scroller for showing or changing the position of the viewport relative to the whole audio file


scrollPane

javax.swing.JPanel scrollPane
An intermediate level panel containing the displayPanel and scroller


controlPanel

ControlPanel controlPanel
The panel containing buttons and text fields, situated at the bottom of the window


beats

at.ofai.music.util.EventList beats
The current list of beat times