| In DirectCsound there is 'fout', similar to 'soundout' which can
generate a wave file with any number of channels (in various formats: 32
bit floats, 16 bit integers with and without wav header). Also in next
version there will be 'foutk', 'fouti' which handle files of any number
of channels at k and i-rate; and 'fin', 'fink', 'fini', which can handle
any file generated by the previous family of opcodes as input (any
number of channels too; in the case of 'fouti' and 'fini' also ascii
files are allowed).
Gabriel
jpff@maths.bath.ac.uk wrote:
> The code for writing WAv and AIFF files is present in teh function.
> At present I cannot se where it does the finalisaton, closing and
> writing headers, but I suspect it is supposed to be able to write
> other than raw files. I think this code was last worked over my matt
> ingals, who might understand it better than I do. |