Initializes a new instance of the SoundPlayer class and attaches the specified .wav file.
- soundLocation (String)
- The location of a .wav file to load.
The string passed to the soundLocation parameter must be a path to a .wav file.
If the path is invalid, the SoundPlayer object will still be constructed, but subsequent calls to a load or play method will fail.