I just reprod it from the official demo in the docs here Babylon.js Playground on this page Babylon.js Playground by cloning the sound before playing and setting position.
When standing outside of the sphere, you can still hear the music. In the original demo, you cannot. If you don’t clone it first, and pass the options into the sound constructor, that is not the case.
As a side note, in game dev you often build directly against the Engine source to be able to debug, step into, and make changes for upstream submission. I wonder how hard it would be to get that working. I have a bunch of scripts that auto modify the babylon package.jsons to point at the non minified versions to make it more tolerable to work with the engine. Targeting the minified versions is really tough.
Out future packages (for 5.0) will all include sourcemaps for developers, including full typescript sources. Should be used only during development, of course, but it will be a change to what we are doing right now, that’s for sure.