Output Methods

The Output device provides methods for writing sound samples out to the various channels of its associated output file. The ch1 and chL methods are equivalent, as are the ch2 and chR methods. Obviously chL and chR are designed for use with two channel stereo output. In each case <value> is an arbitrary mathematical expression yielding a floating point value. There is no need to ensure that the output samples stay within a predefined range, since all Tao output files are normalised as a post-processing stage before conversion into a more conventional integer-based format such as WAV. This is achieved with the taosf shell command (see section *).

    ch1(<value>)
    ch2(<value>)
    ch3(<value>)
    ch4(<value>)
    chL(<value>)
    chR(<value>)


©1999,2000 Mark Pearson m.pearson@ukonline.co.uk April 30, 2000