Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Sound Help (http://www.alice.org/community/showthread.php?t=4289)

ljb716 04-23-2010 08:39 PM

Sound Help
 
I have tried importing a sound in, and I have also tried to use the sounds that come with Alice and in both scenarios I get the same error.

I try to make a sound play when the movie starts, and it says "An unknown error has occured"

This is also the detailed error:
[COLOR="YellowGreen"]
Alice version: 2.2 8/1/2009

*****Running World*****
Exception in thread "JMF thread: com.sun.media.PlaybackEngine@13ee167 ( prefetchThread)" java.lang.IllegalArgumentException: Requested value 7.9588003 exceeds allowable maximum value 6.0206.
at javax.sound.sampled.FloatControl.setValue(Unknown Source)
at com.sun.media.sound.DirectAudioDevice$DirectDL$Gain.setValue(Unknown Source)
at com.sun.media.renderer.audio.device.JavaSoundOutput.setGain(JavaSoundOutput.java:157)
at com.sun.media.renderer.audio.AudioRenderer.initDevice(AudioRenderer.java:294)
at com.sun.media.renderer.audio.JavaSoundRenderer.initDevice(JavaSoundRenderer.java:125)
at com.sun.media.renderer.audio.JavaSoundRenderer.open(JavaSoundRenderer.java:91)
at com.sun.media.BasicRendererModule.doPrefetch(BasicRendererModule.java:157)
at com.sun.media.BasicTrackControl.prefetchTrack(BasicTrackControl.java:98)
at com.sun.media.PlaybackEngine.doPrefetch1(PlaybackEngine.java:592)
at com.sun.media.PlaybackEngine.doPrefetch(PlaybackEngine.java:547)
at com.sun.media.PrefetchWorkThread.process(BasicController.java:1430)
at com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339)[/COLOR]

Does anyone know of any solution to this?

Dameria 04-23-2010 09:14 PM

Not all sound types are accepted on Alice, even if they are imported with no problem. I haven't used sounds in while, but I know that they can cause the game to crash and problems to occur. Try to convert the sound to a lower quality, and if you find a sound file that works in Alice, only use sounds that are of that sound type.

ljb716 04-24-2010 11:41 AM

Do you know why I keep getting the error even when I use the sounds that come with Alice?

Dameria 04-24-2010 11:49 AM

Its probably because you have already imported the bad sound file. Try deleting the sound file or starting a new world and then use the sounds that come with Alice.


All times are GMT -5. The time now is 12:34 AM.

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