SpectMorph
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
SpectMorph::Sample Class Reference

Classes

struct  Shared
 

Public Types

enum class  Loop { NONE , FORWARD , PING_PONG , SINGLE_FRAME }
 
typedef std::shared_ptr< SharedSharedP
 

Public Member Functions

 Sample (Instrument *inst, const WavData &wav_data)
 
void set_marker (MarkerType marker_type, double value)
 
double get_marker (MarkerType marker_type) const
 
int midi_note () const
 
void set_midi_note (int note)
 
Loop loop () const
 
void set_loop (Loop loop)
 
double volume () const
 
void set_volume (double volume)
 
SharedP shared () const
 
const WavDatawav_data () const
 
std::string wav_data_hash () const
 

Public Attributes

std::string filename
 
std::string short_name
 
std::unique_ptr< Audioaudio
 

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