Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support esoteric audio formats #140

Open
ddyer0 opened this issue Feb 4, 2022 · 4 comments
Open

Support esoteric audio formats #140

ddyer0 opened this issue Feb 4, 2022 · 4 comments

Comments

@ddyer0
Copy link

ddyer0 commented Feb 4, 2022

Some (all?) of the sound files trap to the debugger the first time they are played. I use .au format.

_c4pcQBaicmTasfDZq9EhseHWKg1aIthbbVbjZnSetBytePosieWZWE25 (rt.jar.com.sun.media.sound.js:838)
_c4pcQBaicmTasfDZq9EhseHWKg1aIthbbVjqZcu7apLSKVDonThEn (rt.jar.com.sun.media.sound.js:843)
_c4pcQBaicmTasfDZGnFhseHWKg1aIthbbVfSVrrin3cYtTUeX0xeadrQJecb8iSNo (rt.jar.com.sun.media.sound.js:982)
_c4pcQBaicmTasLCZqn_iqfalrkuTg1aId3cYtV0eq0KiZZI3n (rt.jar.com.sun.media.sound.js:976)
_c4pcQBaicmTasLCZqn_iqfalrkaTg1aId3cYd$ZcaMxn (rt.jar.com.sun.media.sound.js:976)
_c4pbMpGfc4QaQ$yWAfDa0AudioClip4playE4 (rt.jar.sun.applet.js:198)
(anonymous) (VM1949:4)
runContinuationStack (loader.js:489)
cheerpjSchedule (loader.js:1220)
postMessage (async)

...

@alexp-sssup
Copy link
Member

Not all audio formats/APIs are supported at this stage, due to low interest from commercial users.

Not all the debugger statements though are fatal error, the sounds might work anyway possibly with degraded experience.

@ddyer0
Copy link
Author

ddyer0 commented Feb 4, 2022

Yes, they do work if I proceed from the debugger, but the behavior wouldn't be acceptable expect at
this early stage of development. From the use viewpoint the app just hangs until you're smart enough
to open the inspector and punch the contunue button. Even at this stage, these assert/debugger calls
would be better as a javascript alert.

@alexp-sssup
Copy link
Member

From the use viewpoint the app just hangs until you're smart enough to open the inspector and punch the contunue button.

I am not sure I understand. If the devtools are closed the debugger statements are completely ignored by all browser. The regular users never sees them.

@ddyer0
Copy link
Author

ddyer0 commented Feb 4, 2022

ok, I guess I always have the debugger open :) and I'm encountering other things that make the app crap out.

@bates64 bates64 changed the title Playing sounds Support esoteric audio formats Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants