csl::SoundCue Class Reference

#include <SoundFile.h>

Inheritance diagram for csl::SoundCue:

csl::UnitGenerator List of all members.

Detailed Description

SoundCue -- a pointer to a segment of a sound file


Public Member Functions

 SoundCue ()
 SoundCue (string name, SoundFile *file=0, int start=1, int stop=-1)
 Constructor.
 ~SoundCue ()
void readFrom (FILE *input)
 for loading file lists
void dump (void)
void nextBuffer (Buffer &outputBuffer) throw (CException)
 UGen operations copy next buffer from cache.
bool isActive ()
unsigned channels () const
void setToEnd (void)
void trigger (void)
float duration () const
 duration in frames

Public Attributes

string mName
 my name
SoundFilemFile
 the file I point into
int mStart
int mStop
int mCurrent
 the start/stop samples I represent
UnitGeneratormReadRate
 my playback rate

Protected Member Functions

void nextBufferNonInterp (Buffer &outputBuffer) throw (CException)
 private interpolation methods
void nextBufferInterp (Buffer &outputBuffer) throw (CException)

Protected Attributes

float mFloatCurrent
 current pointer as a float


Constructor & Destructor Documentation

SoundCue::SoundCue  ) 
 

SoundCue::SoundCue string  name,
SoundFile file = 0,
int  start = 1,
int  stop = -1
 

Constructor.

SoundCue::~SoundCue  ) 
 


Member Function Documentation

void SoundCue::readFrom FILE *  input  ) 
 

for loading file lists

void SoundCue::dump void   ) 
 

pretty-print me

void SoundCue::nextBuffer Buffer outputBuffer  )  throw (CException)
 

UGen operations copy next buffer from cache.

bool SoundCue::isActive  ) 
 

unsigned csl::SoundCue::channels  )  const [inline]
 

void SoundCue::setToEnd void   ) 
 

void SoundCue::trigger void   ) 
 

float csl::SoundCue::duration  )  const [inline]
 

duration in frames

void SoundCue::nextBufferNonInterp Buffer outputBuffer  )  throw (CException) [protected]
 

private interpolation methods

void SoundCue::nextBufferInterp Buffer outputBuffer  )  throw (CException) [protected]
 


Member Data Documentation

string csl::SoundCue::mName
 

my name

SoundFile* csl::SoundCue::mFile
 

the file I point into

int csl::SoundCue::mStart
 

int csl::SoundCue::mStop
 

int csl::SoundCue::mCurrent
 

the start/stop samples I represent

UnitGenerator* csl::SoundCue::mReadRate
 

my playback rate

float csl::SoundCue::mFloatCurrent [protected]
 

current pointer as a float


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:18 2007 for CSL by  doxygen 1.4.5-20051010