# wavwrite

## Purpose

Save Microsoft Windows 3.1 .WAV format sound files.

## Synopsis

    wavwrite('wavefile',y,Fs)

## Description

`wavwrite('wavefile',y,Fs)` writes the 8-bit sampled data `y`, with sample rate `Fs`, to the file `wavefile`.

`wavwrite` creates an 8-bit, single channel file. The function truncates sample data of more than eight bits.

## See Also

    wavread

(c) Copyright 1994 by The MathWorks, Inc.