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_;
STK audio file output class.
Definition FileWrite.h:32
static const FILE_TYPE FILE_WAV
Definition FileWrite.h:38
STK audio file output class.
Definition FileWvOut.h:33
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.
void openFile(std::string fileName, unsigned int nChannels, FileWrite::FILE_TYPE type, Stk::StkFormat format)
Open a new file with the specified parameters.
void tick(const StkFrames &frames)
Output the StkFrames data.
void closeFile(void)
Close a file if one is open.
FileWvOut(unsigned int bufferFrames=1024)
Default constructor with optional output buffer size argument.
void tick(const StkFloat sample)
Output a single sample to all channels in a sample frame.
virtual ~FileWvOut()
Class destructor.
An STK class to handle vectorized audio data.
Definition Stk.h:279
static const StkFormat STK_SINT16
Definition Stk.h:141
STK audio output abstract base class.
Definition WvOut.h:23
The STK namespace.
Definition ADSR.h:6