# auwrite

## Purpose

Write µ-law encoded audio file.

## Synopsis

    auwrite(Y,'filename')

## Description

`auwrite(Y,'filename')`converts the file `Y` to µ-law encoded bytes and writes it to the audio file `filename`. If `filename` is not specified, `auwrite` uses `/dev/audio` on either the local machine, or on the remote machine specified by the environment variable `display`.

Note that Sun's audiotool cannot read files written by the `auwrite` function.

## See Also

    auread

(c) Copyright 1994 by The MathWorks, Inc.