M2K Signal class

Kris West (
kw@cmp.uea.ac.uk)

Contents

  1. Overview
  2. Data storage
  3. Access methods
  4. Editing methods
  5. Time Stamps

Overview

The M2K Signal class was designed to encapsulate any signal, from a monophone waveform to an N-dimensional signal, such as a set of MFCCs calculated from a waveform. Meta-data storage is provided in the form a HashMap, allowing data to be stored in a variety formats. Keys to meta-data are standardised (both key name and value data type) and a list of the current standards is output by the metadataStandards() method.
top

Data storage

top

Access methods

Data matrix

Meta-data

top

Editing methods

Data matrix

Meta-data

top

Time Stamps

A time-stamp for a particular row of data in the Signal can be calculated with the getTimeStamp(int rowNumber) method, which requires the "sampleRate" meta-data to be set. If the "frameSize" and "overlapSize" are set they are used in the time stamp calculation, allowing the same method to be used for both waveform data and spectral data.
top