Alice Community

Alice Community (
-   Share Objects (
-   -   Music Box - Easier way to use BGM. (

Gillette Fusion 10-04-2008 01:30 AM

Music Box - Easier way to use BGM.
1 Attachment(s)
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! :cool:

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

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.

solo 10-05-2008 02:36 AM

1 Attachment(s)
Thank god for obsessive people... :)
great work !

Bearcat34 10-07-2008 11:04 AM

Good work Bro

deirdre 11-25-2008 02:40 PM

Great tool

spunkycomics 10-13-2009 08:27 AM

We had to make a short game in Alice for our class on computer programming. Your music box tutorial saved our lives!
Thank you so much, great tutorial, genius idea

Jeremytroid 10-16-2009 10:54 AM

Mp3s dont' work on Alice 2.2 on Mac. Will this fix that?

jediaction 02-20-2010 06:29 PM

They dont work on windows either

x2495iiii 02-20-2010 08:11 PM

Yes they do, actually, but only for some users. That's one of those odd bugs that happens to some and doesn't happen to others.

MP3's work fine for me.

King Gamer(gorit) 02-20-2010 08:38 PM

They work for me. It seems like I do not hit any of the errors that some people get and others dont although poses trip for me sometimes.

jediaction 03-29-2010 06:39 PM

Its like some mp3s work

All times are GMT -5. The time now is 06:02 AM.

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