SpectMorph
Public Member Functions | Public Attributes | List of all members
SpectMorph::EncoderParams Struct Reference

Encoder parameters. More...

#include <smencoder.hh>

Public Member Functions

bool load_config (const std::string &filename)
 
bool get_param (const std::string &param, double &value) const
 
bool get_param (const std::string &param, std::string &value) const
 

Public Attributes

float mix_freq
 
float frame_step_ms
 
float frame_size_ms
 
int zeropad
 
size_t frame_step
 
size_t frame_size
 
size_t block_size
 
double fundamental_freq
 
std::vector< std::string > param_name_d
 
std::map< std::string, double > param_value_d
 
std::vector< std::string > param_name_s
 
std::map< std::string, std::string > param_value_s
 

Detailed Description

Encoder parameters.

This struct contains parameters that configure the encoder algorithm.

Member Data Documentation

size_t SpectMorph::EncoderParams::block_size

analysis block size in samples, must be the smallest power of N greater than frame_size

size_t SpectMorph::EncoderParams::frame_size

size of the analysis frame in samples

float SpectMorph::EncoderParams::frame_size_ms

size of one analysis frame in milliseconds

size_t SpectMorph::EncoderParams::frame_step

size of the frame step in samples

float SpectMorph::EncoderParams::frame_step_ms

step size for analysis frames in milliseconds

double SpectMorph::EncoderParams::fundamental_freq

user defined fundamental freq

float SpectMorph::EncoderParams::mix_freq

sample rate of the original audio file

int SpectMorph::EncoderParams::zeropad

lower bound for the amount of zero padding used during analysis


The documentation for this struct was generated from the following files: