vc64web / virtualc64web

vc64web - Commodore C64 Emulator for iPad iPhone Android and the Web with CSDb access for thousands of demos at your fingertip.
https://vc64web.github.io/doc/about.html
GNU General Public License v3.0
43 stars 4 forks source link

modern web audio sound processor #146

Closed mithrendal closed 2 years ago

mithrendal commented 2 years ago

https://vAmigaWeb.github.io is our clone of vc64web and runs Commodore Amiga-Computers ...

despite sharing the same foundation as vc64web it has been upgraded with a modern web audio sound processor interface which runs in a separate javascript thread... this hot technologie started since 2016 ... as of today all current browsers are supporting this...

the one currently used in vc64web runs in the mainthread and is API-wise already deprecated since several years ... so it should be upgraded to one of our https://github.com/vAmigaWeb/vAmigaWeb project

this probably would break sound in older browsers... safari supports this since Safari 14 for example

see https://caniuse.com/mdn-api_audioworklet

should we still support the old fashion sound rendering ?

mithrendal commented 2 years ago

Implemented three different audio rendering interfaces. 😎

Mono in mainthread which is deprecated Mono in separate audio thread Stereo in separate audio thread (for dual SID)