Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial


Public Member Functions | List of all members
stk::FileWvOut Class Reference

STK audio file output class. More...

#include <FileWvOut.h>

Inheritance diagram for stk::FileWvOut:
stk::WvOut stk::Stk

Public Member Functions

 FileWvOut (unsigned int bufferFrames=1024)
 Default constructor with optional output buffer size argument.
 
 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.
 
virtual ~FileWvOut ()
 Class destructor.
 
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.
 
void tick (const StkFloat sample)
 Output a single sample to all channels in a sample frame.
 
void tick (const StkFrames &frames)
 Output the StkFrames data.
 
- Public Member Functions inherited from stk::WvOut
 WvOut (void)