Sound from disk in Carbon?

Gah... Sound programming is obviously not for me. Could anyone help me out with these questions?

Is there a way to play a sound loaded from disk in Carbon (I guess this has something to do with Get1Resource) and not having to store all the sounds in one resource file? (I would like to store all the sounds for one level in one file (preferrably packed together with the other files, but that's another worry. If anyone has suggestions towards this, they are welcome.)

Is it too slow to use Quicktime MP3:s for every sound effect in the game? (I would think so...)

What's a good strategy for playing sound effects in a game? Any tips, give them to me!

Quote:Originally posted by Fenris Is there a way to play a sound loaded from disk in Carbon (I guess this has something to do with Get1Resource) and not having to store all the sounds in one resource file? (I would like to store all the sounds for one level in one file (preferrably packed together with the other files, but that's another worry. If anyone has suggestions towards this, they are welcome.)

What's a good strategy for playing sound effects in a game? Any tips, give them to me!

If you use bundles, it's easy to have one resource file per level so you don't have to store all the sounds in one file. In Project Builder, you add the resource files to your project, then move the files into the Resource Manager Resources section (you do this in your build settings). I haven't made bundles with CodeWarrior, but the process is probably similar. As OneSadCookie said, you change the current resource file to load the new sounds you want to play.

For sound effects, QuickTime and snd resources are the easiest to program. I would use snd resources for sound effects and QuickTime for music.