Read a .wav file

It is possible to read a .wav file. All the data is already between -1 and
1 and it is saved in the output variable. I don't know why it isn't
playing the sound (nothing happens). Maybe it can be the fact that the
read data is recorded with "-E6", for example, in the double array. Need
to fix that.