New Web Audio API initial feature #1305
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To create this feature, I started by adding all of the Web Audio API-related interfaces that are listed on MDN as compat_features in the yaml file. Then, I removed the ones that seemed like later additions, or like additional nice-to-have features, one by one, until I somewhat matched Can I Use.
I can remove more compat_features if you think that's better. In fact, just having api.AudioContext would be enough.
Here is the list of compat_features I removed, and why:
Note that Can I Use actually goes further back and shows Chrome 14-33 as supported, but with the webkit prefix. Same for Safari 6-14. I don't think covering these ranges is useful, and starting at Chrome 34 and Safari 14.1 is enough (especially given that the feature is baseline high either way).
One discrepancy is that Can I Use shows Chrome 34 as being fully supported (after the 14-33 webkit prefix range), but our data starts at 35. Not sure where this 1 release delta comes from.