alice-teacher Errors when trying to playback sound file within a program
Don Slater
dslater at andrew.cmu.edu
Thu Apr 7 16:25:58 EDT 2011
You may remember this post from last week…
Minni was able to fix the problem by installing the latest version of Alice 2.2…
Don Slater
On Apr 5, 2011, at 5:52 PM, Minni Ang wrote:
> 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)
>
>
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
More information about the alice-teachers
mailing list