Sound format not supported?

I tried rerendering my sound to 16 bit with 44.1kHz sample rate but i still get this error and my whole program crashes (it works normaly outside of site):
java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian is supported.
java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian is supported.
Does anyone have any idea what could i do?
Solution:
Sound in CheerpJ is completely unsupported right now, but we are working on this. Please provide a test case so that @Panini can consider it as part of this line of work.
Jump to solution
6 Replies
majster2nn
majster2nnOP7mo ago
All of my sound files are WAV with 16 bit samples at 44.1kHz sample rate, all of them are in resource folder
Solution
apignotti
apignotti7mo ago
Sound in CheerpJ is completely unsupported right now, but we are working on this. Please provide a test case so that @Panini can consider it as part of this line of work.
majster2nn
majster2nnOP7mo ago
test case - ? (sorry i dont understand)
apignotti
apignotti7mo ago
A test case is a program that demonstrate a problem. Can you share the program you are using or a subset thereof that shows the error?
majster2nn
majster2nnOP7mo ago
Yeah i can, im using an opensource game for this one, specificaly this one: https://github.com/berkayw/Blue-Boy-Adventure/tree/master/src/main (cant chare the file cuz its way too large unfortunately even without music files ;// )
GitHub
Blue-Boy-Adventure/src/main at master · berkayw/Blue-Boy-Adventure
Kill monsters! Get stronger! Buy powerful items! Find the dungeon keys! Solve the dungeon puzzle! KILL THE BOSS! - berkayw/Blue-Boy-Adventure
apignotti
apignotti7mo ago
@Elisabeth Please take this additional test case into account when ready
Want results from more Discord servers?
Add your server