Skip to content

No speech aware audio ducking with NVDA2021.2, Windows11 and SAPI 5 #12913

Closed

Description

@Herne89

Steps to reproduce:

  1. Set your synth driver to a Microsoft Speech ApI 5 voice, with audio ducking enabled for sounds/speech.
  2. Play a constant sound with constant volume (eg music)
  3. Use your computer, note that audio ducking does not occur when speech occurs

Actual behavior:

Audio does not duck on speech

Expected behavior:

Audio ducks on speech

System configuration

NVDA installed/portable/running from source:

NVDA version:

Present in alpha-23874,d8dc04c7, NVDA 2021.2

Windows version:

Windows 11 22000.194

Name and version of other software in use when reproducing the issue:

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

If NVDA add-ons are disabled, is your problem still occurring?

yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

yes

Activity

  1. seanbudd commented on Oct 7, 2021

    @seanbudd
    Member

    Can confirm with NVDA 2021.2 and Windows 11.

  2. added this to the 2021.3 milestone on Oct 7, 2021
  3. feerrenrut commented on Oct 7, 2021

    @feerrenrut
    Contributor

    Please can you (or @seanbudd) update this with whatever information you can to fill out the template. Are there any error messages in the NVDA log (please attach them)?

  4. Herne89 commented on Oct 7, 2021

    @Herne89
    Author
  5. LeonarddeR commented on Oct 7, 2021

    @LeonarddeR
    Collaborator

    i'd like to add that audio ducking does work when set to always duck.

  6. seanbudd commented on Oct 8, 2021

    @seanbudd
    Member

    Can confirm there is no log in relation to audioducking, it also seems that automatic language switching is not supported (not sure if this is a new issue with this synth).

    DEBUGWARNING - synthDrivers.sapi5.SynthDriver.speak (12:56:29.760) - MainThread (2632):
    Unsupported speech command: LangChangeCommand ('en_US')
  7. seanbudd commented on Oct 8, 2021

    @seanbudd
    Member

    There's no advanced audioducking logging whatsoever either when using that synth

  8. Herne89 commented on Oct 9, 2021

    @Herne89
    Author
  9. changed the title [-]NVDA2021.2 Windows11 and Microsoft speech API 5[/-] [+]No speech aware audio ducking with NVDA2021.2, Windows11 and SAPI 5[/+] on Oct 12, 2021
  10. modified the milestones: 2021.3, 2022.1 on Oct 12, 2021
  11. seanbudd commented on Oct 12, 2021

    @seanbudd
    Member

    This is due to Windows 11 changing how SAPI 5 outputs audio. NVDA detects SAPI5 output to duck.
    Finding an alternative mechanism to detect SAPI5 audio output is unlikely to be done in time for 2021.3.

  12. added a commit that references this issue on Jan 12, 2022
    20d5a25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/audioNVDA's audio output (nvWave, issues with usb audio etc).platform/Windows11Issues specific to Windows 11

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions