How can .wav files be created on an iPhone or iPad?
Twisted Wave

This looks like a solid piece of audio editing software. It uses the internal microphone on your iPad to record audio and can export to .wav or many other formats.