Improvements for exporting .wav files

added createWave
added nameFile