wavwrite

Parent Previous Next

wavwrite

y = wavwrite ( x,filename,opt )
y = x.wavwrite ( filename,opt )

Generate a .wav file from the audio signal

arg

type

Description

Unit or Value scale

x

AUDIO



filename

STR

.wav audio file name


opt

STR

file encoding format


Outputs

  • The output y, if specified, is the audio signal x.

Notes

  • If filename doesn't indicate the extension, .wav is used.
  • opt is 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

Examples

See Also

wave

Created with the Personal Edition of HelpNDoc: Full-featured Help generator