MEAPChunk

a MEAPChunk is an object that contains all of the data for a single segment of a sound file.  In general, MEAPChunk objects are part of the MEAPSoft object, but they can also be used anywhere in SuperCollider

Creation:

*new

Creates an empty MEAPChunk Object.

n = MEAPChunk.new;

Data:

In general, the MEAPChunk Object is created/populated when a MEAPSoft object loads up an EDL or FEATure file that has been created by MEAPSoft.

//first lets load some stuff

m = MEAPSoft.new;
m.loadEDL;
m.loadFEAT;

fileName

Stores name of the file where the chunk is located.

m.edlList[0].fileName;

segTime

Stores the time in the file where the chunk occurs

m.edlList[0].segTime;

segLength

Stores the length of the segment

m.edlList[0].segLength;

edlTimes

Stores a Dictionary where the key is the integer location in the edlFile where the MEAPChunk exists and the Object pointed at is the time that it is played in the EDL file

m.edlList[0].edlTimes;

featDict

Stores a Dictionary where the key is the name of the feature and the object pointed at is the data for that feature.  Current features extracted by MEAPSoft are:

AvgChroma
AvgChromaScalar
AvgChunkPower 
AvgFreqSimple 
AvgMelSpec
AvgMFCC
AvgPitchSimple
AvgSpec
AvgSpecCentroid
AvgSpecFlatness
ChunkLength
ChunkStartTime
SpectralStability

The MEAPChunk will only contain those features that have been loaded from a FEATure file

m.edlList[0].featDict[\AvgChroma];
m.edlList[0].featDict[\AvgFreqSimple];
m.edlList[0].featDict[\ChunkLength];

see the MEAPSoft help file for more examples