 
    
   
Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial
    1 #ifndef STK_FILEWVOUT_H 
    2 #define STK_FILEWVOUT_H 
   48              unsigned int nChannels = 1,
 
   51              unsigned int bufferFrames = 1024 );
 
   63                  unsigned int nChannels,
 
   64                  FileWrite::FILE_TYPE type,
 
   65                  Stk::StkFormat format );
 
   78   void tick( 
const StkFloat sample );
 
   91   void incrementFrame( 
void );
 
   94   unsigned int bufferFrames_;
 
   95   unsigned int bufferIndex_;
 
 
FileWvOut(unsigned int bufferFrames=1024)
Default constructor with optional output buffer size argument.
void tick(const StkFrames &frames)
Output the StkFrames data.
void tick(const StkFloat sample)
Output a single sample to all channels in a sample frame.
An STK class to handle vectorized audio data.
Definition: Stk.h:276
static const StkFormat STK_SINT16
Definition: Stk.h:138
virtual ~FileWvOut()
Class destructor.
STK audio output abstract base class.
Definition: WvOut.h:23
STK audio file output class.
Definition: FileWvOut.h:33
static const FILE_TYPE FILE_WAV
Definition: FileWrite.h:38
FileWvOut(std::string fileName, unsigned int nChannels=1, FileWrite::FILE_TYPE type=FileWrite::FILE_WAV, Stk::StkFormat format=STK_SINT16, unsigned int bufferFrames=1024)
Overloaded constructor used to specify a file name, type, and data format with this object.
STK audio file output class.
Definition: FileWrite.h:32
The STK namespace.
Definition: ADSR.h:6
void openFile(std::string fileName, unsigned int nChannels, FileWrite::FILE_TYPE type, Stk::StkFormat format)
Open a new file with the specified parameters.
void closeFile(void)
Close a file if one is open.