#include <include/EST_SingleChannelWave.h>


Public Member Functions | |
| EST_SingleChannelWave () | |
| default constructor More... | |
| EST_SingleChannelWave (const EST_SingleChannelWave &w) | |
| EST_SingleChannelWave (int n, int sr) | |
| INLINE short & | a_no_check (int i, int channel=0) |
| INLINE short | a_no_check (int i, int channel=0) const |
Public Member Functions inherited from EST_Wave | |
| EST_Wave () | |
| default constructor More... | |
| EST_Wave (const EST_Wave &a) | |
| copy constructor More... | |
| EST_Wave (ssize_t n, ssize_t c, int sr) | |
| EST_Wave (ssize_t samps, ssize_t chans, short *memory, int offset=0, int sample_rate=default_sample_rate, int free_when_destroyed=0) | |
| Construct from memory supplied by caller. More... | |
| ~EST_Wave () | |
| const EST_SMatrix & | values () const |
| EST_SMatrix & | values () |
| EST_Wave & | operator= (const EST_Wave &w) |
| Assignment operator. More... | |
| EST_Wave & | operator+= (const EST_Wave &a) |
| EST_Wave & | operator|= (const EST_Wave &a) |
| void | integrity () const |
| short & | a (ssize_t i, ssize_t channel=0) |
| short | a (ssize_t i, ssize_t channel=0) const |
| INLINE short & | a_no_check (ssize_t i, ssize_t channel=0) |
| INLINE short | a_no_check (ssize_t i, ssize_t channel=0) const |
| INLINE short & | a_no_check_1 (ssize_t i, ssize_t channel=0) |
| INLINE short | a_no_check_1 (ssize_t i, ssize_t channel=0) const |
| INLINE short | set_a (ssize_t i, ssize_t channel=0, short val=0) |
| short | operator() (ssize_t i, ssize_t channel) const |
| short | operator() (ssize_t i) const |
| short & | a_safe (ssize_t i, ssize_t channel=0) |
| float | t (ssize_t i) const |
| return the time position in seconds of the ith sample More... | |
| ssize_t | num_samples () const |
| return the number of samples in the waveform More... | |
| ssize_t | num_channels () const |
| return the number of channels in the waveform More... | |
| int | sample_rate () const |
| return the sampling rate (frequency) More... | |
| void | set_sample_rate (const int n) |
Set sampling rate to n More... | |
| ssize_t | length () const |
| return the size of the waveform, i.e. the number of samples. More... | |
| float | end () |
| return the time position of the last sample. More... | |
| bool | have_left_context (unsigned int n) const |
| Can we look N samples to the left? More... | |
| EST_String | sample_type () const |
| void | set_sample_type (const EST_String t) |
| EST_String | file_type () const |
| void | set_file_type (const EST_String t) |
| EST_String | name () const |
| A string identifying the waveform, commonly used to store the filename. More... | |
| void | set_name (const EST_String n) |
| Sets name. More... | |
| void | resize (int num_samples, int num_channels=EST_ALL, int set=1) |
| resize the waveform More... | |
| void | resample (int rate) |
Resample waveform to rate More... | |
| void | rescale (float gain, int normalize=0) |
| void | rescale (const EST_Track &factor_contour) |
| void | clear () |
| clear waveform and set size to 0. More... | |
| void | copy (const EST_Wave &from) |
| void | fill (short v=0, ssize_t channel=EST_ALL) |
| void | empty (ssize_t channel=EST_ALL) |
| void | sample (EST_TVector< short > &sv, ssize_t n) |
| void | channel (EST_TVector< short > &cv, ssize_t n) |
| void | copy_channel (ssize_t n, short *buf, int offset=0, ssize_t num=EST_ALL) const |
| void | copy_sample (ssize_t n, short *buf, int offset=0, ssize_t num=EST_ALL) const |
| void | set_channel (ssize_t n, const short *buf, int offset=0, ssize_t num=EST_ALL) |
| void | set_sample (ssize_t n, const short *buf, int offset=0, ssize_t num=EST_ALL) |
| void | sub_wave (EST_Wave &sw, int offset=0, ssize_t num=EST_ALL, ssize_t start_c=0, ssize_t nchan=EST_ALL) |
| void | sub_wave (EST_Wave &sw, int offset=0, ssize_t num=EST_ALL, ssize_t start_c=0, ssize_t nchan=EST_ALL) const |
| EST_read_status | load (const EST_String filename, int offset=0, ssize_t length=0, int rate=default_sample_rate) |
| EST_read_status | load (EST_TokenStream &ts, int offset=0, ssize_t length=0, int rate=default_sample_rate) |
| EST_read_status | load (const EST_String filename, const EST_String filetype, int offset=0, ssize_t length=0, int rate=default_sample_rate) |
| EST_read_status | load (EST_TokenStream &ts, const EST_String filetype, int offset=0, ssize_t length=0, int rate=default_sample_rate) |
| EST_read_status | load_file (const EST_String filename, const EST_String filetype, int sample_rate, const EST_String sample_type, int bo, ssize_t nc, int offset=0, ssize_t length=0) |
| EST_read_status | load_file (EST_TokenStream &ts, const EST_String filetype, int sample_rate, const EST_String sample_type, int bo, ssize_t nc, int offset=0, ssize_t length=0) |
| EST_write_status | save (const EST_String filename, const EST_String EST_filetype="") |
| EST_write_status | save (FILE *fp, const EST_String EST_filetype="") |
| EST_write_status | save_file (const EST_String filename, EST_String filetype, EST_String sample_type, int bo, const char *mode="wb") |
| EST_write_status | save_file (FILE *fp, EST_String filetype, EST_String sample_type, int bo) |
| EST_write_status | save_file_header (FILE *fp, EST_String ftype, EST_String stype, int obo) |
| EST_write_status | save_file_data (FILE *fp, EST_String ftype, EST_String stype, int obo) |
Public Member Functions inherited from EST_Featured | |
| int | f_Int (const char *name, int def) const |
| int | f_Int (const char *name) const |
| int | f_I (const char *name, int def) const |
| int | f_I (const char *name) const |
| void | f_set (const EST_String name, int val) |
| void | f_set_path (const EST_String name, int val) |
| float | f_Float (const char *name, float def) const |
| float | f_Float (const char *name) const |
| float | f_F (const char *name, float def) const |
| float | f_F (const char *name) const |
| void | f_set (const EST_String name, float val) |
| void | f_set_path (const EST_String name, float val) |
| EST_String | f_String (const char *name, const EST_String &def) const |
| EST_String | f_String (const char *name) const |
| EST_String | f_S (const char *name, const EST_String &def) const |
| EST_String | f_S (const char *name) const |
| void | f_set (const EST_String name, const char *val) |
| void | f_set_path (const EST_String name, const char *val) |
| const EST_Val & | f_Val (const char *name, const EST_Val &def) const |
| const EST_Val & | f_Val (const char *name) const |
| const EST_Val & | f_V (const char *name, const EST_Val &def) const |
| const EST_Val & | f_V (const char *name) const |
| void | f_set_val (const EST_String name, EST_Val val) |
| void | f_set_path (const EST_String name, EST_Val val) |
| void | f_set (const EST_Features &f) |
| int | f_present (const EST_String name) const |
| void | f_remove (const EST_String name) |
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.
Definition at line 47 of file EST_SingleChannelWave.h.
|
inline |
default constructor
Definition at line 51 of file EST_SingleChannelWave.h.
|
inline |
Definition at line 53 of file EST_SingleChannelWave.h.
Definition at line 55 of file EST_SingleChannelWave.h.
Definition at line 57 of file EST_SingleChannelWave.h.
Definition at line 59 of file EST_SingleChannelWave.h.