rtbaddout

INSTRUMENT design -- sample output-writing function

The rtbaddout() function is used in RTcmix instrument design to write an array of generated samples to the output buffer for audition or soundfile-writing. It will write a block of samples corresponding to the length argument of the function.

Typically rtbaddout is used inside the INSTRUMENT::run() member function, but after in the sample-computing loop (i.e. an array of samples needs to be computed). rtbaddout assumes that rtsetoutput() was called in the INSTRUMENT::init() member function.

It replaces the older baddout function used in disk-only cmix.



Usage



Examples




See Also