This site requires JavaScript, please enable it in your browser!
Greenfoot back
TheNightStrider
TheNightStrider wrote ...

2012/2/25

Sound Problem? Help!

TheNightStrider TheNightStrider

2012/2/25

#
I keep getting this error when my mp3 file ends: Exception in thread "SoundStream:file:/C:/Users/mrinank/Desktop/Unbreakable/sounds/level01.mp3" java.lang.ArrayIndexOutOfBoundsException: 580 at javazoom.jl.decoder.LayerIIIDecoder.huffman_decode(LayerIIIDecoder.java:795) at javazoom.jl.decoder.LayerIIIDecoder.decode(LayerIIIDecoder.java:278) at javazoom.jl.decoder.LayerIIIDecoder.decodeFrame(LayerIIIDecoder.java:219) at javazoom.jl.decoder.Decoder.decodeFrame(Decoder.java:147) at greenfoot.sound.Mp3AudioInputStream.read(Mp3AudioInputStream.java:230) at greenfoot.sound.SoundStream.run(SoundStream.java:304) at java.lang.Thread.run(Thread.java:662) Exception in thread "SoundStream:file:/C:/Users/mrinank/Desktop/Unbreakable/sounds/level01.mp3" java.lang.ArrayIndexOutOfBoundsException: 580 at javazoom.jl.decoder.LayerIIIDecoder.huffman_decode(LayerIIIDecoder.java:795) at javazoom.jl.decoder.LayerIIIDecoder.decode(LayerIIIDecoder.java:278) at javazoom.jl.decoder.LayerIIIDecoder.decodeFrame(LayerIIIDecoder.java:219) at javazoom.jl.decoder.Decoder.decodeFrame(Decoder.java:147) at greenfoot.sound.Mp3AudioInputStream.read(Mp3AudioInputStream.java:230) at greenfoot.sound.SoundStream.run(SoundStream.java:304) at java.lang.Thread.run(Thread.java:662) Exception in thread "SoundStream:file:/C:/Users/mrinank/Desktop/Unbreakable/sounds/level01.mp3" java.lang.ArrayIndexOutOfBoundsException: 580 at javazoom.jl.decoder.LayerIIIDecoder.huffman_decode(LayerIIIDecoder.java:795) at javazoom.jl.decoder.LayerIIIDecoder.decode(LayerIIIDecoder.java:278) at javazoom.jl.decoder.LayerIIIDecoder.decodeFrame(LayerIIIDecoder.java:219) at javazoom.jl.decoder.Decoder.decodeFrame(Decoder.java:147) at greenfoot.sound.Mp3AudioInputStream.read(Mp3AudioInputStream.java:230) at greenfoot.sound.SoundStream.run(SoundStream.java:304) at java.lang.Thread.run(Thread.java:662) What is going on?
davmac davmac

2012/2/26

#
This came up in a discussion a while back. Apparently removing the ID3 tags can help.
TheNightStrider TheNightStrider

2012/2/26

#
It had no tags on anyway - i have converted them in wavs anyway now - this was really irritating me!
You need to login to post a reply.