bodhidharma.data_structures
Class Recording

java.lang.Object
  extended by bodhidharma.data_structures.Recording

public class Recording
extends java.lang.Object

Part of the Bodhidharma automatic music classification project. Holds the meta-data relating to a recording.

Holds identification informations for the recording as well as what is to be done with it and any features that have been extracted from it.

See Also:
RecordingsPanel, ParseRecordingsFileHandler, FeatureSet
Author:
Cory McKay

Field Summary
 java.lang.String[] ancestor_categories
          The names of all ancestors of the leaf categories based on the taxonomy in memory when the recording was processed
 java.lang.String artist
          The artist (performer or composer) asociated with the recording
 FeatureSet feature_set
          The values of the features that have been extracted from this recording
 java.lang.String file_path
          The file_path of the recording
 java.lang.String[] leaf_categories
          The names of all leaf categories associated with the recording
 java.lang.String title
          The title of the recording
 boolean use_for_classification
          Whether or not this piece is to be classified during the next classification operation
 boolean use_for_testing
          Whether or not to use this recording a testing piece during classifier training
 boolean use_for_training
          Whether or not to use this recording as a training piece during classifier training
 
Constructor Summary
Recording()
          Basic constructor that sets all fields to null (of false for booleans).
Recording(java.lang.String recording_title, java.lang.String recording_artist, java.lang.String recording_file_path, java.lang.String[] recording_leaf_categories, java.lang.String[] recording_ancestor_categories, boolean use_recording_for_training, boolean use_recording_for_testing, boolean use_recording_for_classification, FeatureSet recording_feature_set)
          Basic constructor that fills in the fields directly with no alterations.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

public java.lang.String title
The title of the recording


artist

public java.lang.String artist
The artist (performer or composer) asociated with the recording


file_path

public java.lang.String file_path
The file_path of the recording


leaf_categories

public java.lang.String[] leaf_categories
The names of all leaf categories associated with the recording


ancestor_categories

public java.lang.String[] ancestor_categories
The names of all ancestors of the leaf categories based on the taxonomy in memory when the recording was processed


use_for_training

public boolean use_for_training
Whether or not to use this recording as a training piece during classifier training


use_for_testing

public boolean use_for_testing
Whether or not to use this recording a testing piece during classifier training


use_for_classification

public boolean use_for_classification
Whether or not this piece is to be classified during the next classification operation


feature_set

public FeatureSet feature_set
The values of the features that have been extracted from this recording

Constructor Detail

Recording

public Recording(java.lang.String recording_title,
                 java.lang.String recording_artist,
                 java.lang.String recording_file_path,
                 java.lang.String[] recording_leaf_categories,
                 java.lang.String[] recording_ancestor_categories,
                 boolean use_recording_for_training,
                 boolean use_recording_for_testing,
                 boolean use_recording_for_classification,
                 FeatureSet recording_feature_set)
Basic constructor that fills in the fields directly with no alterations.


Recording

public Recording()
Basic constructor that sets all fields to null (of false for booleans).