The writewav command writes wav files to disk.
It returns 1 on success and 0 on failure.
The sounds directory now contains the file sine.wav.