SpectMorph
Public Member Functions | List of all members
SpectMorph::WavData Class Reference

Public Member Functions

 WavData (const std::vector< float > &samples, int n_channels, float mix_freq)
 
bool load (const std::string &filename)
 
bool load_mono (const std::string &filename)
 
void load (const std::vector< float > &samples, int n_channels, float mix_freq)
 
bool save (const std::string &filename)
 
void clear ()
 
void prepend (const std::vector< float > &samples)
 
float mix_freq () const
 
int n_channels () const
 
size_t n_values () const
 
const std::vector< float > & samples () const
 
const char * error_blurb () const
 
float operator[] (size_t pos) const
 

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