net.beadsproject.beads.analysis.featureextractors
Class BasicTimeDataWriter<T>
java.lang.Object
net.beadsproject.beads.core.Bead
net.beadsproject.beads.analysis.FeatureExtractor<java.lang.Object,T>
net.beadsproject.beads.analysis.featureextractors.BasicTimeDataWriter<T>
public class BasicTimeDataWriter<T>
- extends FeatureExtractor<java.lang.Object,T>
BasicTimeDataWriter grabs forwarded feature data and prints it to a file in a simple format.
Each line contains the running time of the AC and a set of features at that timestep.
Each individual feature is separated by whitespace.
Method Summary |
void |
process(TimeStamp startTime,
TimeStamp endTime,
T data)
Process some data of type P (specified by the class def). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicTimeDataWriter
public BasicTimeDataWriter(AudioContext ac,
java.io.FileOutputStream fos)
- Instantiates a new BasicDataWriter with the given FileOutputStream.
- Parameters:
fos
- the FileOutputStream.
process
public void process(TimeStamp startTime,
TimeStamp endTime,
T data)
- Description copied from class:
FeatureExtractor
- Process some data of type P (specified by the class def). This method must be overidden by implementing classes.
- Specified by:
process
in class FeatureExtractor<java.lang.Object,T>
data
- the data.