add some checks to make sure the `soundFilePath` is not empty