sincere attemp at originality but with help from many many repos i read on this website.
https://github.com/guest271314/AudioWorkletStream/tree/shared-memory-audio-worklet-stream
https://github.com/guest271314/AudioWorkletStream/tree/message-port-post-message
https://github.com/schellingb/TinySoundFont
https://github.com/zz85/wild-web-midi