Skip to content

Commit 93065b4

Browse files
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

4 files changed

+516
-145
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Configure node
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: 14.x
33+
node-version: 20.x
3434
cache: "npm"
3535
registry-url: "https://npm.pkg.github.com"
3636
- run: npm ci

0 commit comments

Comments
 (0)