soundout

soundout — Deprecated. Writes audio output to a disk file.

Description

[Note] Note

The usage of soundout is discouraged. Please use fout instead.

Writes audio output to a disk file.

Syntax

soundout  asig1, ifilcod [, iformat]

Initialization

ifilcod -- integer or character-string denoting the destination soundfile name. An integer denotes the file soundin.filcod; a character-string (in double quotes, spaces permitted) gives the filename itself, optionally a full pathname. If not a full path, the named file is sought first in the current directory, then in that given by the environment variable SSDIR (if defined) then by SFDIR See also GEN01

iformat (optional, default=0) -- specifies the audio data file format:

  • 1 = 8-bit signed char (high-order 8 bits of a 16-bit integer)

  • 2 = 8-bit A-law bytes

  • 3 = 8-bit U-law bytes

  • 4 = 16-bit short integers

  • 5 = 32-bit long integers

  • 6 = 32-bit floats

If iformat = 0 it is taken from the soundfile header, and if no header from the Csound -o command-line flag. The default value is 0.

Performance

soundout writes audio output to a disk file.

[Note] Note

Use of fout is recommended instead of soundout

See Also

fout, out, outh, outo, outq, outq1, outq2, outq3, outq4, outs, outs1, outs2 soundouts

Credits

Author: Barry L. Vercoe, Matt Ingalls/Mike Berry
MIT, Mills College
1993-1997