Extracting sound effects from a Switch game

As part of my previous post reverse engineering the Denon XML API I talked about my love for the Golf sound effects in Nintendo Switch Sports, complete with a way to build an ambient soundscape. But where did I get those sound files? There are in-game ambience recordings on YouTube but the sounds are all muddled together, and separating them out is a bit of a nightmare. So where and how do I get…