whscullin / apple2js

An Apple II emulator originally written in Javascript, now being converted to TypeScript
http://www.scullinsteel.com/apple2/
MIT License
438 stars 57 forks source link

Use AudioWorklet where available #82

Closed whscullin closed 3 years ago

whscullin commented 3 years ago

Two big issues were that TypeScript does not include the appropriate types, and figuring out what Webpack incantation to not have it fill the worker with framework that doesn't work in an AudioWorkletGlobalContext, which has no this or self. Other than that, actually using it is pretty simple.