Re: [A-DX] Knackser bei WebSDRs

Roger
Montag, 29. März 2021, 16:55 Uhr


Am 29.03.2021 um 14:19 schrieb tom.df5jl:
> Die Updates fanden vor ein paar Tagen
> statt. Mit dem FF tritt das Knacksen nicht auf.
?
https://forum.defold.com/t/crackling-of-sound-html5-bundle-def-2515-solved/5432/13

aglitchman
britzl
Aug '18
Defold should encode sounds to .WAV/.MP3/.OGG/(.M4A?) and use high-level 
HTML5 APIs for audio playback.
Otherwise we’ll always hear cracklings.


Looks like Defold was directly ported to HTML5 by the use of Emscripten.
Does Defold use OpenAL for audio playback? Emscripten emulates OpenAL 
behavior by filling WebAudio AudioContext’s buffer every frame.

=> We’ll always hear cracklings because of inconsistent HTML5 frame time.

A clear example of the problem (Emscripten + OpenAL + OGG music):
https://www.raylib.com/examples/web/audio/loader.html?name=audio_music_stream

(auch mit Chrome hier die Musik ok, unter W7 64 bit)



roger
(normalerweise FF user)