Alice Community  

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

Reply
 
Thread Tools Display Modes
Error!!! i imported a sound file and it is not working
Old
the man
Junior Member
 
Status: Offline
Posts: 3
Join Date: Aug 2011
Unhappy Error!!! i imported a sound file and it is not working - 08-19-2011, 07:12 AM

Alice version: 2.2 02/10/2011



*****Running World*****

Exception in thread "JMF thread: com.sun.media.PlaybackEngine@a6bcec ( 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$Gai n.setValue(Unknown Source)

at com.sun.media.renderer.audio.device.JavaSoundOutpu t.setGain(JavaSoundOutput.java:157)

at com.sun.media.renderer.audio.AudioRenderer.initDev ice(AudioRenderer.java:294)

at com.sun.media.renderer.audio.JavaSoundRenderer.ini tDevice(JavaSoundRenderer.java:125)

at com.sun.media.renderer.audio.JavaSoundRenderer.ope n(JavaSoundRenderer.java:91)

at com.sun.media.BasicRendererModule.doPrefetch(Basic RendererModule.java:157)

at com.sun.media.BasicTrackControl.prefetchTrack(Basi cTrackControl.java:98)

at com.sun.media.PlaybackEngine.doPrefetch1(PlaybackE ngine.java:592)

at com.sun.media.PlaybackEngine.doPrefetch(PlaybackEn gine.java:547)

at com.sun.media.PrefetchWorkThread.process(BasicCont roller.java:1430)

at com.sun.media.StateTransitionWorkThread.run(BasicC ontroller.java:1339)

*****Stopping World*****

*****Running World*****

*****Stopping World*****

*****Running World*****

*****Stopping World*****

*****Running World*****

Exception in thread "JMF thread: com.sun.media.PlaybackEngine@c2e9d1 ( 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$Gai n.setValue(Unknown Source)

at com.sun.media.renderer.audio.device.JavaSoundOutpu t.setGain(JavaSoundOutput.java:157)

at com.sun.media.renderer.audio.AudioRenderer.initDev ice(AudioRenderer.java:294)

at com.sun.media.renderer.audio.JavaSoundRenderer.ini tDevice(JavaSoundRenderer.java:125)

at com.sun.media.renderer.audio.JavaSoundRenderer.ope n(JavaSoundRenderer.java:91)

at com.sun.media.BasicRendererModule.doPrefetch(Basic RendererModule.java:157)

at com.sun.media.BasicTrackControl.prefetchTrack(Basi cTrackControl.java:98)

at com.sun.media.PlaybackEngine.doPrefetch1(PlaybackE ngine.java:592)

at com.sun.media.PlaybackEngine.doPrefetch(PlaybackEn gine.java:547)

at com.sun.media.PrefetchWorkThread.process(BasicCont roller.java:1430)

at com.sun.media.StateTransitionWorkThread.run(BasicC ontroller.java:1339)

*****Stopping World*****

*****Running World*****

Exception in thread "JMF thread: com.sun.media.PlaybackEngine@1442e06 ( 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$Gai n.setValue(Unknown Source)

at com.sun.media.renderer.audio.device.JavaSoundOutpu t.setGain(JavaSoundOutput.java:157)

at com.sun.media.renderer.audio.AudioRenderer.initDev ice(AudioRenderer.java:294)

at com.sun.media.renderer.audio.JavaSoundRenderer.ini tDevice(JavaSoundRenderer.java:125)

at com.sun.media.renderer.audio.JavaSoundRenderer.ope n(JavaSoundRenderer.java:91)

at com.sun.media.BasicRendererModule.doPrefetch(Basic RendererModule.java:157)

at com.sun.media.BasicTrackControl.prefetchTrack(Basi cTrackControl.java:98)

at com.sun.media.PlaybackEngine.doPrefetch1(PlaybackE ngine.java:592)

at com.sun.media.PlaybackEngine.doPrefetch(PlaybackEn gine.java:547)

at com.sun.media.PrefetchWorkThread.process(BasicCont roller.java:1430)

at com.sun.media.StateTransitionWorkThread.run(BasicC ontroller.java:1339)
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-19-2011, 07:59 AM

Alice is not a music lover and is very fickle about what she likes to listen to. May I have the file I maybe I can fix it. Just put in a Zip file .


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein
   
Reply With Quote
Old
the man
Junior Member
 
Status: Offline
Posts: 3
Join Date: Aug 2011
Default 08-23-2011, 04:44 PM

at first Alice played my video with this sound clip but then suddenly I got the "ERROR" message. Anyways, here you go
Attached Files
File Type: zip One small step for man, one giant leap for mankind.zip (55.6 KB, 2 views)
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-23-2011, 05:05 PM

Ta da!


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein

Last edited by legolizard; 08-23-2011 at 05:11 PM.
   
Reply With Quote
Old
the man
Junior Member
 
Status: Offline
Posts: 3
Join Date: Aug 2011
Default 08-25-2011, 09:41 AM

Thank you.

Unfortunately I couldn´t get it to work

Error during simulation.




Alice version: 2.2 02/10/2011



Throwable that caused the error:

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$Gai n.setValue(Unknown Source)

at com.sun.media.renderer.audio.device.JavaSoundOutpu t.setGain(JavaSoundOutput.java:157)

at com.sun.media.renderer.audio.JavaSoundRenderer$GCA .setLevel(JavaSoundRenderer.java:202)

at edu.cmu.cs.stage3.media.jmfmedia.Player.updateVolu meLevel(Player.java:104)

at edu.cmu.cs.stage3.media.jmfmedia.Player.setVolumeL evel(Player.java:111)

at edu.cmu.cs.stage3.alice.core.response.SoundRespons e$RuntimeSoundResponse.updateVolumeLevel(SoundResp onse.java:94)

at edu.cmu.cs.stage3.alice.core.response.SoundRespons e$RuntimeSoundResponse.prologue(SoundResponse.java :154)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childPrologueIfNecessary(DoInOrder. java:53)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:100)

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.upd ate(CallToUserDefinedResponse.java:89)

at edu.cmu.cs.stage3.alice.core.behavior.TriggerBehav ior.internalSchedule(TriggerBehavior.java:70)

at edu.cmu.cs.stage3.alice.core.Behavior.schedule(Beh avior.java:233)

at edu.cmu.cs.stage3.alice.core.Sandbox.scheduleBehav iors(Sandbox.java:70)

at edu.cmu.cs.stage3.alice.core.World.scheduleBehavio rs(World.java:457)

at edu.cmu.cs.stage3.alice.core.World.schedule(World. java:499)

at edu.cmu.cs.stage3.alice.core.clock.DefaultClock.sc hedule(DefaultClock.java:99)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l$8.run(AuthoringTool.java:710)

at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.simulateOnce(DefaultScheduler.java:115)

at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.run(DefaultScheduler.java:76)

at edu.cmu.cs.stage3.scheduler.AbstractScheduler.run( AbstractScheduler.java:45)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.Dialog$1.run(Unknown Source)

at java.awt.Dialog$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.awt.Dialog.show(Unknown Source)

at java.awt.Component.show(Unknown Source)

at java.awt.Component.setVisible(Unknown Source)

at java.awt.Window.setVisible(Unknown Source)

at java.awt.Dialog.setVisible(Unknown Source)

at edu.cmu.cs.stage3.swing.DialogManager.showModalDia log(DialogManager.java:61)

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(D ialogManager.java:131)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.play(AuthoringTool.java:5182)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$16.a ctionPerformed(Actions.java:177)

at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)

at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)
   
Reply With Quote
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-25-2011, 03:02 PM

Strange. Let me test it out I might have uploaded the wrong file...

Edit: Ah. I see the problem; update your version of Alice and then it should work.


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein

Last edited by legolizard; 08-25-2011 at 03:06 PM.
   
Reply With Quote
Old
aikmin
Senior Member
 
aikmin's Avatar
 
Status: Offline
Posts: 85
Join Date: Mar 2008
Default 08-29-2011, 02:36 AM

This bug has been fixed in the new August 5th update.
   
Reply With Quote
Reply

Tags
error, sound file

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