alice-teacher Errors when trying to playback sound file within a program
Minni Ang
minni.ang at gmail.com
Tue Apr 5 17:52:25 EDT 2011
Hi, I was wondering if anyone could advise me on the error below, which I
copied from my clipboard when Alice crashed when I was trying to run a
program. The crash happens when it tries to playback a sound file. I tried
using both WAV as well as MP3 files, but all give the same error. In fact, I
have never before been able to playback any soundfiles within Alice.
If I remove the call to playback sound, the program runs fine.
Minni
Alice version: 2.2 02/10/2011
*****Running World*****
Exception in thread "JMF thread: com.sun.media.PlaybackEngine at 1bb6dee (
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/alice-teachers/attachments/20110405/e9f0a527/attachment.html
More information about the alice-teachers
mailing list