Marsyas  0.5.0-beta1
Public Member Functions
AbsSoundFileSource2 Class Reference

Abstract Interface for SoundFileSource of various formats. More...

#include <AbsSoundFileSource2.h>

Inherits MarSystem.

Inherited by WavFileSource2.

Public Member Functions

 AbsSoundFileSource2 (std::string type, std::string name)
MarSystemclone () const
virtual realvecgetAudioRegion (mrs_natural startSample, mrs_natural endSample)
virtual void myProcess (realvec &in, realvec &out)
 Processes data.
virtual ~AbsSoundFileSource2 ()

Detailed Description

Abstract Interface for SoundFileSource of various formats.

Definition at line 34 of file AbsSoundFileSource2.h.


Constructor & Destructor Documentation

AbsSoundFileSource2 ( std::string  type,
std::string  name 
)

Definition at line 24 of file AbsSoundFileSource2.cpp.

~AbsSoundFileSource2 ( ) [virtual]

Definition at line 31 of file AbsSoundFileSource2.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Reimplemented in WavFileSource2.

Definition at line 51 of file AbsSoundFileSource2.cpp.

realvec & getAudioRegion ( mrs_natural  startSample,
mrs_natural  endSample 
) [virtual]

Reimplemented in WavFileSource2.

Definition at line 86 of file AbsSoundFileSource2.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 MarSystem.

Reimplemented in WavFileSource2.

Definition at line 94 of file AbsSoundFileSource2.cpp.


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