How to have audio continue during scene change?

I need to be able to play music and sound fx during a scene change. I added DontDestroyOnLoad() to my sound objects, and while this worked, it created duplicate objects every time the scene changed.

Is there another way to do this?

i haven’t done it myself but i believe you could add code in Awake to check if there is an copy of the object already existing in the scene and, if so, to have this new object destroy itself before it does anything.

http://forum.unity3d.com/viewtopic.php?p=172047

I figured as much, but how do I go about destroying every instance but the one in use?

according to the manual,

it never runs again, even when changing scene. so you shouldn’t have to worry about the duplicate-preventing code causing the original to destroy itself when changing the scene. does that answer your question, or have i misunderstood?