Commit 93065b4
authored
Improve support for older Safari versions (except speech) (#109)
- Update build workflow to use Node 20.x
- Use webkitAudioContext is AudioContext is not defined
- Use audioCtx.createBuffer in place of new AudioBuffer
- Use createBufferSource in place of new AudioBufferSourceNode
- Fix layout that relied on aspect-ratio, closes #94
An issue with the sample rate still remains for modspeech.
Changes made to accommodate Safari 13 and 14.1 parent 162fb87 commit 93065b4
File tree
4 files changed
+516
-145
lines changed- .github/workflows
- src
- board/audio
4 files changed
+516
-145
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments