WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
278598
speechSynthesis has aggressive ducking on iOS Safari
https://bugs.webkit.org/show_bug.cgi?id=278598
Summary
speechSynthesis has aggressive ducking on iOS Safari
awe.media
Reported
2024-08-23 20:12:14 PDT
Created
attachment 472284
[details]
.zip file with html/js demo and mp3 file On iOS17 Safari the speechSynthesis always ducks other audio and this persists for about a second after it finishes speaking. This does not happen on OSX Safari or Chrome on other platforms. navigator.audioSession.type does not fix this either. Attached is a simple demo that shows this issue. Here's how to use this demo. - load the demo.html page - tap on the "Tap to start" screen to enable any permission required - tap on the "Tap to play" to hear the mp3 audio sample play (you can do this as often as you want and it resets currentTime to 0) - tap on the "Tap to speak" to hear speechSynthesis say something What is expected? At least with navigator.audioSession.type='ambient' or navigator.audioSession.type='record-and-play' the 2 different audio streams (speech and mp3) should be played over the top of each other, both at their full volume. This is what happens on OSX Safari and Chrome on other platforms. What does happen? On iOS Safari the speechSynthesis ducks the mp3 while it's speaking, and keeps it's volume low for about 1 second after it finished speaking. NOTE: Wasn't sure what component to put this under as speechSynthesis and audioSession didn't have obvious homes, so put it under "Media".
Attachments
.zip file with html/js demo and mp3 file
(36.98 KB, application/zip)
2024-08-23 20:12 PDT
,
awe.media
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
awe.media
Comment 1
2024-08-23 20:15:58 PDT
Note that speechSynthesis has the same ducking impact on webAudio based playback too.
Radar WebKit Bug Importer
Comment 2
2024-08-30 20:13:13 PDT
<
rdar://problem/135056987
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug