On 10-Feb-05, at 2:17 AM, Josh Farquhar wrote:
Ok guys, thanks heaps for your help, but I have only been programming
with RB for a couple of months, and I am a bit confused. If you could
give me step-by-step instructions on how to get a .mod file to play in
my program as background music, it would be a great help. I would like
the music to be playing all the time, and if possible to give the user
the option of changing the background music (if this is not possible,
or quite difficult, don't worry about it)
Like I mentioned in a previous post, declares+libmikmod wouldn't be too
difficult to get going. I realize you're a relative newbie but that
could be a good learning exercise :)
Then again, if you grab my FMOD Wrappers:
<http://developer.chaoticbox.com/> it can be as simple as this (error
checking aside):
f = GetFolderItem("mymusic.mod")
myMusic = f.OpenAsFMODmusic
myMusic.Play
Full documentation is available online:
<http://developer.chaoticbox.com/documentation/fmodwrappers/>, check
out the "Installation & Quickstart" and "FMODmusic Class" sections for
more info.
Of course, you have to make sure FMOD's licensing fits your needs, but
it's free for freeware, and I personally find the shareware licenses to
be extremely reasonable, considering you get the same audio engine used
in the likes of World of Warcraft and FarCry.
Frank.
------------
Open Source RB Plugins and Classes
<http://developer.chaoticbox.com>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|