Refactor how sample audio is loaded