Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Switching between songs
Senior Member
fourbros's Avatar
Status: Offline
Posts: 476
Join Date: Nov 2011
Location: Right Behind You...
Default Switching between songs - 09-02-2012, 01:07 PM

I know I've asked this before, but I can't find the thread where the question was answered. How do you switch between songs, where song 1 stops when you press a certain key, and song two starts . When I tried doing something, the first song continued to run even though the variable was 2 ( it was only supposed to play when the variable was 1). Any suggestions?

My avatar is from the anime "Hyouka".......

You've probably never seen it, much less heard of it.....

You should watch it........

print("Hello World")
This is python code.

Lakers > Clippers
Vikings > Packers
Cardinals > Brewers/Pirates/Cubs/Reds
Reply With Quote
Switching between songs
Status: Offline
Posts: 191
Join Date: Jan 2007
Default Switching between songs - 09-02-2012, 01:22 PM

I would be interested to know if anyone has figured out a work around for this... Alice does not have its own media manager, but relies on eth Media Manager of the system... Once a song is launched, Alice no longer has any control over the media being played... It exists in its own thread, and will continue to play until completion

The only solution I have is to have your songs recorded in short loops that repeat as long as the variable value is 1 or 2... You have to figure out the timing of the loop so that there is not an excessive lag while you wait for the loop to complete...

Anyone else?

Don Slater
Alice Team
Carnegie Mellon University
Reply With Quote
Senior Member
sfunk's Avatar
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 09-02-2012, 02:15 PM

Here you go, very simple solution to this. it may seem like a large download, But that's just from containing three songs. But play the world, use the up arrow to go through the songs, then the down arrow to go back through them, should work pretty flawlessly
Attached Files
File Type: a2w Music_Help.a2w (6.80 MB, 12 views)

If you are stuck on a project, check out the tutorials I made here at this link:

There are lots of tutorials on it so far, including some youtube videos, check it out


Go to my youtube channel to check out my alice 2.2 tutorials I have there..
Reply With Quote
Senior Member
arty-fishL's Avatar
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 09-02-2012, 04:39 PM

You can also modify the volume on the fly using the same method.
Use the left/right arrow keys to alter the volume up to 5 steps either way:
Attached Files
File Type: a2w Music_Help.a2w (6.81 MB, 2 views)


I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬
Reply With Quote
Switching between songs
Junior Member
Status: Offline
Posts: 1
Join Date: Aug 2012
Location: Alabama/Abbeville
Default Switching between songs - 09-03-2012, 05:11 AM

Thanks for giving such important tricks in this forum and i liked those tricks.and i tell this tricks to my friends and they are enjoyed.
Reply With Quote

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 ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.