Classes | Static Public Member Functions

pav::lib::frame::Frame Class Reference

List of all members.

Classes

class  Descriptor
class  Transform

Static Public Member Functions

static void update (float[] samples)
static void setSampleRate (float rate)
static float getSampleRate ()
static float[] samples ()
static float[] samplesWindowed ()

Detailed Description

Provides access to the current signal frame aswell as descriptors and transform functionality. This is a static class.

Author:
christopher

Member Function Documentation

static float pav::lib::frame::Frame::getSampleRate (  )  [inline, static]

Gets the sample rate the frame was sampled with.

Returns:
The sample rate
static float [] pav::lib::frame::Frame::samples (  )  [inline, static]

Gets the samples of the frame. Must not be modified.

Returns:
The samples
static float [] pav::lib::frame::Frame::samplesWindowed (  )  [inline, static]

Gets the samples of the frame, windowed with a Hamming window.

Returns:
The windowed samples
static void pav::lib::frame::Frame::setSampleRate ( float  rate  )  [inline, static]

Sets the rate the frame was sampled with.

Parameters:
rate The sample rate. Must be > 0
static void pav::lib::frame::Frame::update ( float[]  samples  )  [inline, static]

Updates the current frame.

Parameters:
samples The samples that make up the new frame. Must not be null

The documentation for this class was generated from the following file:
 All Classes Functions Variables