jAudioFeatureExtractor.DataTypes
クラス RecordingInfo

java.lang.Object
  上位を拡張 jAudioFeatureExtractor.DataTypes.RecordingInfo
すべての実装されたインタフェース:
java.io.Serializable

public class RecordingInfo
extends java.lang.Object
implements java.io.Serializable

A class for holding references to audio recordings.

作成者:
Cory McKay
関連項目:
直列化された形式

フィールドの概要
 java.lang.String file_path
          The path of the audio file referred to by objects of this class.
 java.lang.String identifier
          A name used internally to refer to the referenced recording.
 AudioSamples samples
          Audio samples stored as arrays of doubles.
 boolean should_extract_features
          Whether or not a feature extractor receiving an object of this class should extract features from the referenced file.
 
コンストラクタの概要
RecordingInfo(java.lang.String file_path)
          Basic constructor for filling fields.
RecordingInfo(java.lang.String identifier, java.lang.String file_path, AudioSamples samples, boolean should_extract_features)
          Basic constructor for filling fields.
 
メソッドの概要
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

identifier

public java.lang.String identifier
A name used internally to refer to the referenced recording.


file_path

public java.lang.String file_path
The path of the audio file referred to by objects of this class. Should be unique.


samples

public transient AudioSamples samples
Audio samples stored as arrays of doubles. May sometimes be set to null in order to store space, in which case they can be extracted from the file referred to in the file_path field.


should_extract_features

public boolean should_extract_features
Whether or not a feature extractor receiving an object of this class should extract features from the referenced file.

コンストラクタの詳細

RecordingInfo

public RecordingInfo(java.lang.String identifier,
                     java.lang.String file_path,
                     AudioSamples samples,
                     boolean should_extract_features)
Basic constructor for filling fields.

パラメータ:
identifier - A name used internally to refer to the referenced recording.
file_path - The path of the audio file referred to by objects of this class. Should be unique.
samples - Audio samples stored as arrays of doubles. May sometimes be set to null in order to store space.
should_extract_features - Whether or not a feature extractor receiving an object of this class should extract features from the referenced file.

RecordingInfo

public RecordingInfo(java.lang.String file_path)
Basic constructor for filling fields. Sets the identifier to the file name extracted from the given file_path, and sets the should_extract_features field to false and the samples field to null.

パラメータ:
file_path - The path of the audio file referred to by objects of this class. Should be unique.