 
 
	 
In file ../include/EST_SingleChannelWave.h:
| class EST_SingleChannelWave | 
An alias for wave which can be used to tell the compiler you know it is a simple one channel wave.
Access functions for finding ampltiudes of samples
![[more]](icon1.gif) short& a(int i, int channel = 0)
short& a(int i, int channel = 0)
![[more]](icon1.gif) short operator()(int i, int channel) const
short operator()(int i, int channel) const 
![[more]](icon1.gif) short operator()(int i) const
short operator()(int i) const 
![[more]](icon1.gif) short& a_safe(int i, int channel = 0)
short& a_safe(int i, int channel = 0)
![[more]](icon1.gif) float t(int i) const
float t(int i) const 
Information functions
![[more]](icon1.gif) int num_samples() const
int num_samples() const 
![[more]](icon1.gif) int num_channels() const
int num_channels() const 
![[more]](icon1.gif) int sample_rate() const
int sample_rate() const 
![[more]](icon1.gif) void set_sample_rate(const int n)
void set_sample_rate(const int n)
![[more]](icon1.gif) int length() const
int length() const 
![[more]](icon1.gif) float end()
float end()
![[more]](icon1.gif) bool have_left_context(unsigned int n) const
bool have_left_context(unsigned int n) const 
![[more]](icon1.gif) EST_String sample_type() const
EST_String sample_type() const 
![[more]](icon1.gif) EST_String name() const
EST_String name() const 
![[more]](icon1.gif) void set_name(const EST_String n)
void set_name(const EST_String n)
Waveform manipulation functions
![[more]](icon1.gif) void resize(int num_samples, int num_channels = EST_ALL, int set=1)
void resize(int num_samples, int num_channels = EST_ALL, int set=1)
![[more]](icon1.gif) void resample(int rate)
void resample(int rate)
![[more]](icon1.gif) void rescale(float gain, int normalize=0)
void rescale(float gain, int normalize=0)
![[more]](icon1.gif) void clear()
void clear()
File i/o functions
![[more]](icon1.gif) EST_read_status load(const EST_String filename, int offset=0, int length = 0, int rate = default_sample_rate)
EST_read_status load(const EST_String filename, int offset=0, int length = 0, int rate = default_sample_rate)
![[more]](icon1.gif) EST_read_status load_file(const EST_String filename, const EST_String filetype, int sample_rate, const EST_String sample_type, int bo, int nc, int offset = 0, int length = 0)
EST_read_status load_file(const EST_String filename, const EST_String filetype, int sample_rate, const EST_String sample_type, int bo, int nc, int offset = 0, int length = 0)
 EST_Wave& operator = (const EST_Wave& w)
EST_Wave& operator = (const EST_Wave& w)
 EST_Wave& operator +=(const EST_Wave &a)
EST_Wave& operator +=(const EST_Wave &a)
 EST_Wave& operator |=(const EST_Wave &a)
EST_Wave& operator |=(const EST_Wave &a)
 void integrity() const
void integrity() const 
An alias for wave which can be used to tell the compiler you know it is a simple one channel wave. This can speed up access.
 EST_SingleChannelWave()
 EST_SingleChannelWave()
 
Alphabetic index HTML hierarchy of classes or Java
 
This page is part of the 
Edinburgh Speech Tools Library documentation
Copyright  University of Edinburgh 1997
Contact:  
         speech_tools@cstr.ed.ac.uk