Marsyas  0.5.0-beta1
Public Member Functions
RawFileSource Class Reference

SoundFileSource for .raw wavetable files. More...

#include <RawFileSource.h>

Inherits AbsSoundFileSource.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
void openFile (std::string filename)
 RawFileSource (std::string name)
void setFrequency (mrs_real frequency)
 ~RawFileSource ()

Detailed Description

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.


Constructor & Destructor Documentation

RawFileSource ( std::string  name)

Definition at line 24 of file RawFileSource.cpp.

Definition at line 38 of file RawFileSource.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 47 of file RawFileSource.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

Parameters:
inInput data to read.
outOutput 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)

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