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

2012/12/12

Error that has no explanation

lonely.girl lonely.girl

2012/12/12

#
Hello everybody I'm trying to understand & so some changes in a program the point is that I keep getting the same error although everything "should be" right this is the error Could not play sound file: file:/E:/ISE/Fundamental%20programming/Lab%203/lab3/sounds/note7.wav If you have a sound card installed, check your system settings. java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED 48000.0 Hz, 24 bit, stereo, 6 bytes/frame, little-endian is supported. at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:476) at greenfoot.sound.SoundClip.load(SoundClip.java:137) at greenfoot.sound.SoundClip.open(SoundClip.java:101) at greenfoot.sound.SoundClip.processState(SoundClip.java:239) at greenfoot.sound.ClipProcessThread.run(ClipProcessThread.java:74) at java.lang.Thread.run(Thread.java:722) I have done the following: saved all the sounds in the sounds folder all sounds are "wav" code is written right I guess any help is good
vonmeth vonmeth

2012/12/12

#
Try converting the wav to another format, like mp3.
lonely.girl lonely.girl

2012/12/12

#
ok I'll do that & get back to you, thx
lonely.girl lonely.girl

2012/12/12

#
I converted it to mp3 a& now it's working :D thank a million :)
You need to login to post a reply.