SpectMorph
|
#include <smencoder.hh>
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 |
Encoder parameters.
This struct contains parameters that configure the encoder algorithm.
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