csl::SndFileInstrument Class Reference

#include <SndFileInstrument.h>

Inheritance diagram for csl::SndFileInstrument:

csl::Instrument csl::UnitGenerator List of all members.

Detailed Description

Sound file player instrument


Public Member Functions

 SndFileInstrument (string path="", int start=-1, int stop=-1)
 ~SndFileInstrument ()
void setParameter (unsigned selector, void *value)
 Plug functions.
void play ()
 play note
void playOSC (const char *types, void *args)
void playNote (float ampl=1, float pos=0, float rate=1, int start=-1, int stop=-1, float attack=0.0, float decay=0.0)
 These are the UGens of the DSP graph (i.e., the sndfile player instrument).

Public Attributes

SoundFile mPlayer
 sample player
AR mEnvelope
 AR envelope.
Panner mPanner
 stereo panner
StaticVariable mRate
 plugs playback rate (ignored for now)
int mStart
int mStop
 start/stop sample indices


Constructor & Destructor Documentation

SndFileInstrument::SndFileInstrument string  path = "",
int  start = -1,
int  stop = -1
 

SndFileInstrument::~SndFileInstrument  ) 
 


Member Function Documentation

void SndFileInstrument::setParameter unsigned  selector,
void *  value
[virtual]
 

Plug functions.

Reimplemented from csl::Instrument.

void SndFileInstrument::play  )  [virtual]
 

play note

Reimplemented from csl::Instrument.

void SndFileInstrument::playOSC const char *  types,
void *  args
[virtual]
 

Reimplemented from csl::Instrument.

void SndFileInstrument::playNote float  ampl = 1,
float  pos = 0,
float  rate = 1,
int  start = -1,
int  stop = -1,
float  attack = 0.0,
float  decay = 0.0
 

These are the UGens of the DSP graph (i.e., the sndfile player instrument).


Member Data Documentation

SoundFile csl::SndFileInstrument::mPlayer
 

sample player

AR csl::SndFileInstrument::mEnvelope
 

AR envelope.

Panner csl::SndFileInstrument::mPanner
 

stereo panner

StaticVariable csl::SndFileInstrument::mRate
 

plugs playback rate (ignored for now)

int csl::SndFileInstrument::mStart
 

int csl::SndFileInstrument::mStop
 

start/stop sample indices


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