I was attempting to use MediaRecorder to mix all the BABYLON.Sounds that called play() into a single opus audio track, at the relative time they started playing. I am starting from this stackoverflow topic. Am writing in Typescript, and found MediaRecorder is not yet defined. I can live with that.
The bigger problem is an AudioContext is defined very inconsistently. I will need createMediaStreamDestination(), which is defined by Mozilla, but not a method in Typescript. I think, ok maybe do a PR of the missing things, but better check what WWW says. WTF, not one them matches another! What am I missing?
This is part of to a rewrite / typescript conversion of Whammy, calling Double Whammy. I know whammy only works on chrome, so got to test this works there before proceeding with the larger project. I have verified opus is a valid webM audio format though, and think the video should play everywhere.