Alice Community  

Go Back   Alice Community > Alice 2 > Share Objects

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Music Box - Easier way to use BGM.
Old
Gillette Fusion
Guest
 
Status:
Posts: n/a
Lightbulb Music Box - Easier way to use BGM. - 10-04-2008, 02:30 AM

While searching on ways to create Programs with looping music, I have soon found that sound has its limitations in Alice. Being the generally nerdy, obsessive person I am, I spent the last couple of days experimenting on workarounds.

And here it is - A class that lets you easily Play, Loop, Stop, and Switch on the fly with background music.

The Zip archive contains: the class, a world with the class in action, and a short documentation with installation instructions.

Have fun!

Feel free to let me know if you use this in one of your projects, I'm eager to see how it goes.

Edit: So far there is a minor issue where lounger and/or higher quality songs pause at the end. I theorize that this is Alice loading the sound again. An easy way to fix this would be to compress the sound more, or chop the sound into individual segments, or both.
Attached Files
File Type: zip Music Box.zip (8.17 MB, 456 views)

Last edited by Gillette Fusion; 10-04-2008 at 07:43 PM. Reason: spelling and stuffs; point out minor thing.
   
Reply With Quote
 

Tags
background, background music, bgm, music, sound, stop, stopping

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.