ChoonMLLib - class library to access and convert ChoonML files

Sample.StartWrite Method 

[This is preliminary documentation and subject to change.]

Start writing a sample. This sets up a data buffer into which sample data gets written

A converter typically calls StartWrite, then AddData to add data until the buffer is full, then WriteSample to write the sample data out

public void StartWrite(
   int channels,
   int bytesSample,
   int rate


1 for mono, 2 for stereo
The number of bytes in sample, 2 for 16-bit, 4 for 32-bit
The sample rate (e.g 44100)

See Also

Sample Class | ChoonML Namespace