Data representation and parser for MEAPsoft analysis frames.
- data MEAP
- read_meap :: FilePath -> IO (Either String MEAP)
- features :: MEAP -> [Feature]
- n_frames :: MEAP -> Int
- uarray_data :: MEAP -> UArray (Int, Int) Double
- n_columns :: MEAP -> Int
- frame_l :: MEAP -> Int -> [Double]
- column_l :: MEAP -> Int -> [Double]
- position :: MEAP -> (Int, Int) -> Double
- segments_l :: MEAP -> [(Double, Double)]
- feature_names :: [String]
- module Sound.Analysis.Meapsoft.Data
- module Sound.Analysis.Meapsoft.Header
Documentation
read_meap :: FilePath -> IO (Either String MEAP)Source
Load a MEAPsoft analysis file, either a segmentation file or a feature file.
uarray_data :: MEAP -> UArray (Int, Int) DoubleSource
The analysis data stored in a UArray
.
Indices are of the form (row, 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.
module Sound.Analysis.Meapsoft.Data