writewav takes two arguments, a string containing a file name and an audio clip object, and writes the clip to disk as a WAV file with the specified name. It returns 1 on success and 0 on failure.
For example, input :
Output :