Alice Community  

Go Back   Alice Community > Alice 2 > Share Objects

Reply
 
Thread Tools Display Modes
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
Ocd
Old
solo
Guest
 
Status:
Posts: n/a
Default Ocd - 10-05-2008, 03:36 AM

Thank god for obsessive people...
great work !
Attached Files
File Type: a2c S&W 29.a2c (1.24 MB, 5 views)

Last edited by x2495iiii; 02-20-2012 at 04:40 PM.
   
Reply With Quote
Old
Bearcat34
Guest
 
Status:
Posts: n/a
Default 10-07-2008, 12:04 PM

Good work Bro
   
Reply With Quote
Great tool
Old
deirdre
Junior Member
 
deirdre's Avatar
 
Status: Offline
Posts: 2
Join Date: Aug 2008
Default Great tool - 11-25-2008, 03:40 PM

Thanks!
   
Reply With Quote
Thankyou-thankyou-thankyou
Old
spunkycomics
Guest
 
Status:
Posts: n/a
Talking Thankyou-thankyou-thankyou - 10-13-2009, 09: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
   
Reply With Quote
Old
Jeremytroid
Guest
 
Status:
Posts: n/a
Default 10-16-2009, 11:54 AM

Mp3s dont' work on Alice 2.2 on Mac. Will this fix that?
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-20-2010, 07:29 PM

They dont work on windows either


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 02-20-2010, 09: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.


(')>
   
Reply With Quote
Yeah
Old
King Gamer(gorit)
Guest
 
Status:
Posts: n/a
Default Yeah - 02-20-2010, 09: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.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 03-29-2010, 07:39 PM

Its like some mp3s work


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Reply

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.