Update Read.java which can calculate the snoring time from a piece of .wav file and write the result into a file