|
Marsyas
0.6.0-alpha
|
SoundFileSource for .raw wavetable files. More...
#include <RawFileSource.h>
Inherits AbsSoundFileSource.
Public Member Functions | |
| MarSystem * | clone () const |
| void | myProcess (realvec &in, realvec &out) |
| Processes data. | |
| void | openFile (std::string filename) |
| RawFileSource (std::string name) | |
| void | setFrequency (mrs_real frequency) |
| ~RawFileSource () | |
SoundFileSource for .raw wavetable files.
STK rawwave files have no header and are assumed to contain a monophonic stream of 16-bit signed integers in big-endian byte order with a sample rate of 22050 Hz.
Definition at line 39 of file RawFileSource.h.
| RawFileSource | ( | std::string | name | ) |
Definition at line 24 of file RawFileSource.cpp.
| ~RawFileSource | ( | ) |
Definition at line 38 of file RawFileSource.cpp.
Implements MarSystem.
Definition at line 47 of file RawFileSource.cpp.
Processes data.
| in | Input data to read. |
| out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements AbsSoundFileSource.
Definition at line 208 of file RawFileSource.cpp.
| void openFile | ( | std::string | filename | ) |
Definition at line 69 of file RawFileSource.cpp.
| void setFrequency | ( | mrs_real | frequency | ) |
1.7.6.1