Alice Community
>
Alice 2
>
How do I...?
Sound stops playing
User Name
Remember Me?
Password
Thread Tools
Display Modes
Sound stops playing
#
1
(permalink)
noface0711
Junior Member
Status:
Offline
Posts: 6
Join Date: Mar 2016
Sound stops playing -
03-25-2016, 08:53 AM
I have a student that is trying to put background noise on his project.
He already has sound files in that work fine.
He created a new method and an event to loop the sound during the entire world.
It stops playing after about 5 seconds.
noface0711
View Public Profile
Send a private message to noface0711
Find all posts by noface0711
#
2
(permalink)
MrMoke
Senior Member
Status:
Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
03-25-2016, 11:20 AM
It depends on:
1) Which Version are you using.
2) How was the loop initiated.
3) How long is the sound clip
If the duration of the sound clip is 5 seconds, then your loop event isn't working.
In Alice2: You can use a "While world is Running" event which gives you the ability to add beginning, during, and ending clips.
In Alice3: You can accomplish similar results by adding a new SceneActivationListener and using Boolean variables.
MrMoke
View Public Profile
Send a private message to MrMoke
Find all posts by MrMoke
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Announcements
Community News and Announcements
Alice 3
How Do I?
Works In Progress
Share Your World
Share Custom Classes
Bugs and Trouble Shooting
Suggestion Box
Alice 2
How do I...?
Works-In-Progress
Share Worlds
Share Objects
Bugs and Troubleshooting
Suggestion Box
Educators
Teaching with Alice
Teaching Using Alice 3
Teaching Using Alice 2
CS Principles and Alice
AP CSA and Intro to Java and Alice
Workshops
General Discussion
Questions and Comments
The Lounge
Copyright ©2018, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.
Contact Us
-
Alice.org
-
Archive
-
Top