Modified constructor to accept either URL or AudioBuffer object so that local files can be loaded. Added pause functionality.