Marsyas  0.5.0-beta1
Public Member Functions
SoundFileSource2 Class Reference

Interface for sound file sources. More...

#include <SoundFileSource2.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Interface for sound file sources.

Todo:
Merge this with SoundFileSource (and all the other soundfileXXX2 stuff)

Abstract base class for any type of sound file input. Specific IO classes for various formats like AuFileSource are children of this class.

Definition at line 42 of file SoundFileSource2.h.


Constructor & Destructor Documentation

SoundFileSource2 ( std::string  name)

Definition at line 25 of file SoundFileSource2.cpp.

Definition at line 40 of file SoundFileSource2.cpp.

Definition at line 35 of file SoundFileSource2.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 47 of file SoundFileSource2.cpp.

realvec & getAudioRegion ( mrs_natural  startSample,
mrs_natural  endSample 
)

Definition at line 244 of file SoundFileSource2.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.

Definition at line 250 of file SoundFileSource2.cpp.


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