The play method below is from a class which, upon instantiation, reads a .wav file into a byte array called data, and stores the sound format in an
play
data
It is likely the loading of the byte[] that is the problem.
byte[]