hmeap-0.7: Haskell Meapsoft Parser

Sound.Analysis.Meapsoft

Description

Data representation and parser for MEAPsoft analysis frames.

Synopsis

Documentation

data MEAP Source

Data type representing a MEAPsoft anaylsis file.

read_meap :: FilePath -> IO (Either String MEAP)Source

Load a MEAPsoft analysis file.

features :: MEAP -> [Feature]Source

The list of Features contained in the analysis file.

n_frames :: MEAP -> IntSource

The number of frames (rows) contained in the analysis file.

uarray_data :: MEAP -> UArray (Int, Int) DoubleSource

The analysis data stored in a UArray. Indices are of the form (row, column).

n_columns :: MEAP -> IntSource

The number of columns at each analysis frame (row).

frame_l :: MEAP -> Int -> [Double]Source

Extract the indicated frame (row) as a list.

column_l :: MEAP -> Int -> [Double]Source

Extract the indicated column as a list.

position :: MEAP -> (Int, Int) -> DoubleSource

Extract data from the indicated frame and column.

segments_l :: MEAP -> [(Double, Double)]Source

Extract segmentation data as a list. The segmentation data is given by the two columns onset_time and chunk_length.

feature_names :: [String]Source

The list of feature names generated by MEAPsoft 2.0.