Project

General

Profile

Actions

Emulator Issues #5977

closed

Older Wiimotes (Pre -TR) have broken audio in emulated Bluetooth

Added by white.phoenix about 11 years ago. Updated over 3 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Revision d5ec631337c7 fixes the input delay regression introduced by Revision 11a4c92325d5 however the wiimote speaker/vibrations are still out of sync and will delay/echo.

This was discussed in IRC, and we tried many values on line 185 of WiimoteReal.cpp without success, so I'm opening this just as a reminder.

I've tested with Zelda: Skyward Sword (SOUE01) and New Super Mario Bros, but it also occurs in the wii menu by adjusting the volume slider. Seems to be worse with a generic bluetooth dongle using generic windows bluetooth stack. To be honest I'm not entirely sure if this is just me or reproducible by others.

Steps to reproduce: Make the wiimote make a lot of sounds or vibrations.

Dolphin Version: 3.5-374 x64 on Windows 7 x64


Related issues 9 (0 open9 closed)

Has duplicate Emulator - Emulator Issues #6132: DKCR Wiimote disconnects very often - Game UNPLAYABLEDuplicate

Actions
Has duplicate Emulator - Emulator Issues #6200: Disabled Speaker Data breaks controls of Mario Strikers Charged FootballDuplicateBilliard26

Actions
Has duplicate Emulator - Emulator Issues #8002: No More Heroes: Calls have really bad quality coming from the Wiimote speaker.Duplicate

Actions
Has duplicate Emulator - Emulator Issues #8459: WiiMotionPlus sound lagDuplicate

Actions
Has duplicate Emulator - Emulator Issues #10032: Problema nos Speakers Wii RemoteDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9061: Super Paper mario: Several issues with using Tippi's abilityDuplicate

Actions
Has duplicate Emulator - Emulator Issues #12337: Wiimote audio is distorted/garbled/slowed downDuplicate

Actions
Has duplicate Emulator - Emulator Issues #12807: Real wiimote (motion plus inside) speaker not playing sound via bluetoothDuplicate

Actions
Has duplicate Emulator - Emulator Issues #13358: Intel BT AX201 no speaker sound on TR Wiimotes (non passthorugh)Duplicate

Actions
Actions #1

Updated by white.phoenix about 11 years ago

Also related was Issue 5966

Actions #2

Updated by white.phoenix about 11 years ago

Also forgot to mention the vibration lags and echos/repeats too, for example getting 9 vibrations instead of 5.

Actions #4

Updated by Billiard26 about 11 years ago

Issue 6132 has been merged into this issue.

Actions #6

Updated by Billiard26 about 11 years ago

Disconnects are caused by the delays we inject on the output reports when speaker data is present.

Actions #7

Updated by Billiard26 about 11 years ago

Issue 6200 has been merged into this issue.

Actions #8

Updated by Billiard26 about 11 years ago

  • Issue type set to Bug
Actions #9

Updated by JMC4789 over 10 years ago

The disconnects are unrelated to Dolphin; works on bluetooth stacks that are not default in windows.

Actions #10

Updated by NeoBrainX over 10 years ago

  • Status changed from New to Questionable

OnHold=>Questionable.

Actions #11

Updated by Billiard26 over 10 years ago

Iirc, "disconnects" in the emulator (not physical bluetooth disconnects) DO occur with some games when speaker data is enabled. (caused by delays that we inject, like I'd said)

Actions #12

Updated by zerolagg about 10 years ago

The Wiimote speaker still sounds bad and games like Fragile Dreams is very necesary for listen the tips from characters and listen special sounds for search through sound any characters.

I tried use diferents Wiimotes(White original,Black,Red in box game Mario Kart) and Toshiba BlueTooth stack,DSP HLE LLE but nothing works

Please is the only error that i detected in the emulator any works perfect even High Resolution (2560x2112) except Wiimote speaker and many games use this for add fun to the game.

Actions #13

Updated by mac1202 over 9 years ago

Same thing under linux stable or git version; hle or lle the sound from the wiimote speaker is awful.

Actions #14

Updated by flacs over 9 years ago

Issue 8002 has been merged into this issue.

Actions #15

Updated by MayImilae about 9 years ago

Issue 8459 has been merged into this issue.

Actions #16

Updated by JMC4789 over 8 years ago

  • Status changed from Questionable to Fix pending

I know this is going to sound crazy... but...

Fixed in PR-3245 -> https://github.com/dolphin-emu/dolphin/pull/3245

Actions #17

Updated by JMC4789 over 8 years ago

  • Subject changed from Real wiimote speaker sounds almost as bad as dubstep to Older Wiimotes (Pre -TR) have broken audio in Dolphin
Actions #18

Updated by JMC4789 over 8 years ago

-TR Wiimotes now have working Wiimote audio on Windows at the very least.

https://dolphin-emu.org/download/dev/8acf8cf4d07684e9dc515a22b642e66e8fe7e231/ was the fix, aka, 4.0-8325

Actions #19

Updated by JosJuice over 8 years ago

  • Status changed from Fix pending to Questionable

Changing back to Questionable because this issue now only is about non-TR Wii Remotes.

Actions #20

Updated by rancourttommylee over 8 years ago

when you think fix the bug for wiimote non -TR?

Actions #21

Updated by JMC4789 over 8 years ago

  • Status changed from Questionable to Accepted

Considering it took 3 years to get -TR Wiimote audio working... 2018 - 2019?

Actions #22

Updated by JosJuice about 7 years ago

Actions #23

Updated by JosJuice over 6 years ago

  • Has duplicate Emulator Issues #9061: Super Paper mario: Several issues with using Tippi's ability added
Actions #24

Updated by leoetlino about 6 years ago

  • Subject changed from Older Wiimotes (Pre -TR) have broken audio in Dolphin to Older Wiimotes (Pre -TR) have broken audio in emulated Bluetooth
Actions #25

Updated by danileon95 over 4 years ago

JMC4789 wrote:

Considering it took 3 years to get -TR Wiimote audio working... 2018 - 2019?

Welp, it's 2020 now lol

Actions #26

Updated by Billiard26 over 3 years ago

  • Status changed from Accepted to Won't fix
  • Assignee set to Billiard26

I've determined the main cause of poor Wii remote audio with emulated Bluetooth.

Genuine Wii Remotes seem to operate at 100hz until "sniff" mode is enabled.
This is observable from the rate of input reports and activity on the i2c extension bus.

The 6khz audio data produces 150 speaker data packets per second.
Remotes tend to not process many of these causing their decoder to desynchronize from the games' encoder.

"TR" remotes seem to buffer the reports better. They still perform poorly without sniff mode, just not as bad as non-TR.

The Wii sends "HCI_Write_Link_Policy_Settings" (0x000D) and "HCI_Sniff_Mode" (0x0003).
Both the min and max intervals are set to 5ms.

Remotes then operate at 200hz and handle the high rate of speaker data.

Unfortunately Bluetooth managers do not expose the ability to configure or enable sniff mode.
I think it's unlikely they ever will. This is something that applications should probably not be controlling.

Without some equivalent of "Bluetooth Passthrough" or elevated permissions to send HCI commands to the Bluetooth hardware this issue appears not fixable.

Note that re-encoding the 6khz audio to 3khz for 75 packets per second didn't seem to help much in my tests.

Actions #27

Updated by Billiard26 over 3 years ago

Actions #28

Updated by Billiard26 about 2 years ago

  • Has duplicate Emulator Issues #12807: Real wiimote (motion plus inside) speaker not playing sound via bluetooth added
Actions #29

Updated by Billiard26 about 1 month ago

  • Has duplicate Emulator Issues #13358: Intel BT AX201 no speaker sound on TR Wiimotes (non passthorugh) added
Actions

Also available in: Atom PDF