wavwrite
Generate a .wav file from the audio signal
Syntax
y = wavwrite ( x,filename,opt )
y = x.wavwrite ( filename,opt )
Inputs
| Argument | Type | Description | Unit |
|---|---|---|---|
x | audio | .wav audio file name | n/a |
filename | STR | file encoding format | - |
opt | STR | - | - |
Outputs / Return Value
y: The outputy, if specified, is the audio signalx.
Notes
- If
filenamedoesn't indicate the extension, .wav is used. optis one of the following- "8" 8-bit PCM
- "16" 16-bit PCM (default)
- "24" 24-bit PCM
- "32" 32-bit PCM
- "alaw" a-law encoding
- "ulaw" μ-law encoding
- "adpcm1" ADPCM encoding 1
- "adpcm2" ADPCM encoding 2
See Also
Review Status
- Legacy parameter naming does not exactly match current engine metadata and should be reviewed manually.