Serialized Form


Package ocvolume

Class ocvolume.train implements Serializable

Serialized Fields

WIDTH

int WIDTH
width of window

See Also:
Constant Field Values

HEIGHT

int HEIGHT
height of window

See Also:
Constant Field Values

mic

audio.micInput mic
microphone input


words

java.lang.String[] words
words in the dictionary


checking

java.lang.Thread checking
thread to check whether recording is done


txt

javax.swing.JTextArea txt
text area


scrollPane

javax.swing.JScrollPane scrollPane

menuBar

javax.swing.JMenuBar menuBar
menubar


menu

javax.swing.JMenu menu
menu


menuItem

javax.swing.JMenuItem menuItem
each item in the menu


fc

javax.swing.JFileChooser fc
file chooser to open or save file


optionPane

javax.swing.JOptionPane optionPane
option pane use to show msg box


defaultFont

java.awt.Font defaultFont
default font


frame

javax.swing.JFrame frame
pointer to this frame


num_samples

int num_samples
number of samples used to train a codebook
default is 20


num_recorded

int num_recorded
number of samples recorded


word

java.lang.String word
file path to save the codebook to


file

java.io.File file
word being trained


samples

short[][] samples
samples