Project

General

Profile

Actions

Emulator Issues #438

closed

No sound from wiimote.

Added by ChaosCode over 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
DSP
% Done:

0%

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

Description

What steps will reproduce the problem?
load any game with a real wiimote and notice sound is missing from the
wiimote itself

What is the expected output? What do you see instead?
sound from wiimote

What version of the product are you using? On what operating system?
all version

Please provide any additional information below.
talked to JP about it and he said it shouldn't be hard to add so I'm making
a issue of it because I want it added :)


Related issues 7 (0 open7 closed)

Has duplicate Emulator - Emulator Issues #930: try to implement sound on the wiimoteDuplicate

Actions
Has duplicate Emulator - Emulator Issues #1755: Real WiiMote Speaker issueDuplicate

Actions
Has duplicate Emulator - Emulator Issues #2227: Sounds from wiimoteDuplicate

Actions
Has duplicate Emulator - Emulator Issues #2702: wiimote speaker not workDuplicate

Actions
Has duplicate Emulator - Emulator Issues #3091: Wiimote speaker doesnt play sound, nor is it emulated to speakers in Wii Academy.Duplicate

Actions
Has duplicate Emulator - Emulator Issues #3277: Calling wii mote sound problemDuplicate

Actions
Has duplicate Emulator - Emulator Issues #3319: wiimote speaker doesn't workDuplicate

Actions
Actions #1

Updated by XTra.KrazzY about 15 years ago

  • Status changed from New to Accepted
  • Issue type set to Feature request
  • Operating system N/A added

We want sound in wiimote and when emulated -- Through speakers/DSP plugin

Actions #2

Updated by ChaosCode about 15 years ago

yes we do :D

Actions #3

Updated by nakeee about 15 years ago

How is it easy?
Are there docs?

Actions #4

Updated by sl1nk3.s almost 15 years ago

Issue 930 has been merged into this issue.

Actions #5

Updated by death2droid almost 15 years ago

There might/probably is some documents on getting a sound to play through the speaker
but not sure about emulation wise.

Actions #6

Updated by MofoMan2000 over 14 years ago

If the wiimote itself is detected as another sound device (check the windows control
panel, I've had XBox 360 headsets show up in there when plugged into my XBox 360 USB
guitar controllers) then it may be a lot easier to play Wiimote sounds through that
speaker. A lot of it depends on how the Wii processes Wiimote sounds and how they
will be decoded, not to mention emulated. Will a separate DSP plugin be needed or can
it all be handled with the current one? Or would it be handled by the Wiimote plugin
itself?

Actions #7

Updated by Dr.Dranyam over 14 years ago

Woah that would be REAAALY NICE

Actions #9

Updated by Theopen over 14 years ago

Cannot wait for this man, hope it is fixed soon

Actions #11

Updated by barca95 over 14 years ago

it would be very beautiful to feel from the wiimote

Actions #12

Updated by sl1nk3.s over 14 years ago

We're not sure yet what is causing the wiimote not to output the sound, but you can
get some sound out of the wiimote by going into the main menu, changing the wiimote's
speaker volume, then closing the home menu, opening it again, and hovering any button
that's supposed to make the wiimote rumble.
It could be an issue with wiiuse, the API we use to send data to the wiimote and
handle the connection, although we're "supposed" to only send "raw" data, it could
also be bad timing somewhere causing the sound not to play, but the data for sure is
sent to the wiimote, i don't think anyone took the time to really debug it :(

Actions #13

Updated by Anonymous over 14 years ago

sl1nk3.s, my guess from looking at the wiibrew page is that the wiimote's speaker is
rather dumb (literally). Instead of using a mode which allows for time-based transfers,
the wiimote just shoots out any sound data it gets instantly. Therefore, you must send
the data at the correct speed. In dolphin we would probably have to detect the "send
audio data" report, push the data into a buffer, and send it at the correct rate.

Actions #14

Updated by barcaroandrea over 14 years ago

I tried to go into the menù and I changed the wiimote's speaker volume....I go out
of the menù.......After this,I returned into the menù and I felt a small noise
diriving from the wiimote....I used Dolphin r4635 in Win Vista 32 bit...
Now I don't know if the noise was correct,but I know that Dolphin sent the audio
data to the wiimote. :)

Actions #15

Updated by mikyb91 over 14 years ago

Ok, therefore is there a definitive solution to this problem?

Actions #16

Updated by XTra.KrazzY over 14 years ago

Issue 1755 has been merged into this issue.

Actions #17

Updated by marcel.werner3 over 14 years ago

Since the Wiimote already produces sounds in Super Mario Galaxy (and another game I
forgot -_- ), it can't be too far away, can it? Or was that done by accident and no
one knows how and why it came? g

Actions #18

Updated by fgfemperor over 14 years ago

@marcel.werner3@gmx.de: where do you get sound on SMG from the Wiimote?

Actions #19

Updated by marcel.werner3 over 14 years ago

for example when being fired from a sling star. Or when collecting star bits.
I don't know if it's still there...haven't played the game since one or two months...

Actions #20

Updated by j.rechards over 14 years ago

i dont have sound in SMG

Actions #21

Updated by marcel.werner3 over 14 years ago

yeah, well, it was there...dunno when it disappeared again :-|

Actions #22

Updated by BhaaL about 14 years ago

Issue 2227 has been merged into this issue.

Actions #23

Updated by ystiang about 14 years ago

Has this function be implement?

Actions #24

Updated by moinonono about 14 years ago

I have some weird noise in the wiimote speaker on the game "NBA 2K10", pushing de
Home button and changeing Wiimote Speakers volumen (up and down).
I'm useing Dolphin SVN R 5286 (x64), under Windows 7 (x64), and is needed to uncheck
the "Use Panic Handlers".
I don't know if this info will be helpfull, but I hope so.

Actions #25

Updated by Billiard26 almost 14 years ago

Issue 2702 has been merged into this issue.

Actions #26

Updated by chuckykill almost 14 years ago

any update for this issue ?

Actions #27

Updated by Xtreme2damax almost 14 years ago

Would love to see any progress regarding this issue, this is almost up there with fixing looping in Super Mario Galaxy, Super Mario Galaxy 2, Zelda Twilight Princess as they take away from the experience the game and features provide.

Actions #28

Updated by Billiard26 over 13 years ago

Issue 3091 has been merged into this issue.

Actions #29

Updated by Billiard26 over 13 years ago

Issue 3277 has been merged into this issue.

Actions #30

Updated by CatscratchXY over 13 years ago

Any updates here? Still no sound from wiimotes?

Actions #31

Updated by skidau over 13 years ago

Issue 3319 has been merged into this issue.

Actions #32

Updated by giaga7 over 13 years ago

It would be fantastic if this feature will be added!:) I will be able to play wii party also with sound from wiimote speaker!:)

Actions #33

Updated by skidau over 13 years ago

  • Category set to dsp
Actions #34

Updated by giaga7 over 13 years ago

Yeah!:) Pls skidau try to fix it! At least wiimote will be almost perfect!:)

Actions #35

Updated by marcel.werner3 over 13 years ago

g he only categorized the issue, didn't start working on it. Skid is already pretty much the "top" dev in the house, so don't push him, please ;)

Actions #36

Updated by giaga7 over 13 years ago

yes I know, at least now it's official that it's a dsp issue!:) And at least I understand that they didn't forget this issue!:)

Actions #37

Updated by Karsten.Schilder over 13 years ago

Maybe MKWii may help to trace down this issue.

When playing it with GC controller the sound that appears when making stunts or you are followed by weapons or you are followed by players with star or mega mushroom comes out of the regular speakers.

When playing with Wiimote, these sounds should get out of the Wiimote speaker. But there is no sound at all (no sound out of the regular speaker too).

I think it would make things easier only to watch what happens to one specific sound in one situation (GC controler) and in the other situation (Wiimote) to find out which sound should get sent to Wiimote first.

Actions #38

Updated by marcel.werner3 over 13 years ago

@karsten: that sounds like a good idea actually. Dunno, though, if any dev is looking into this.

I still find it odd that at some point it was working a bit. Seems that was somehow by accident O_o

Actions #39

Updated by Karsten.Schilder over 13 years ago

Maybe the actual work on LLE is a good time for keeping this in eye.

Actions #40

Updated by CatscratchXY over 13 years ago

Please add this feature. :-)

Actions #41

Updated by marcel.werner3 over 13 years ago

Alright...I did a little testing and narrowed down the revisions where the Wiimote Speaker was working A BIT. The sound is not clear and it doesn't always work. Best game to test is SMG (hovering over the save game planets with the cursor, fetching star bits and being launched from a sling star, e.g.).
It works in r4613 and r4614. Couldn't narrow it further down for now cuz there was so much trouble in those builds with the real wiimote and I guess there won't be any sound out of the wiimote when using an emulated one ;p
However, I remember, it didn't work for very long...so if those who know the code take a look at some revisions before r4613 I guess they should find whatever made the wiimote speaker work :)

Actions #42

Updated by antileecher over 13 years ago

Nice one marcel. It would be nice if this feature will be added.

Actions #43

Updated by marcel.werner3 over 13 years ago

Bhaal and Sanchez have already taken a look at it...dunno if they got anywhere, though.

Actions #44

Updated by CatscratchXY over 13 years ago

Still no news?

Actions #45

Updated by skidau about 13 years ago

  • Status changed from Accepted to Work started

I have identified where the Wiimote speaker is being blocked and will use HLE to hack around it. For some unknown reason, the game thinks that the Wiimote is too busy to stream sound data. It does seem like some sort of timing or queue issue, but somebody more familiar with how Wiimotes work in Dolphin will be able to tell for sure. It is likely that I can get this working for emulated Wiimotes. I will test later today whether the HLE technique works for real Wiimotes. If not, I guess we could manually send the speaker data to the Wiimote.

Actions #46

Updated by Hgomez2020 about 13 years ago

Thnak you for the news i've been waiting for this to start hope it works out

Actions #47

Updated by skidau about 13 years ago

Good news, the speaker on real wiimotes work fine with the HLE'd function. I will commit the code after I finish up the emulated wiimote speaker to PC speaker code.

Actions #48

Updated by Hgomez2020 about 13 years ago

Thank you so much for doing this

Actions #49

Updated by William79371 about 13 years ago

Thanks so much for this work! Really hope it works. It had been so nice and get sound out of the Wii Remote controller in Dolphin emulator. Thanks =)

Actions #50

Updated by glennricster about 13 years ago

skidau: Are you going to implement the emulated wiimote to PC speaker on windows, or are you able to do this in a nice cross platform way? Or will I need to add this support for linux? Just curious.

Actions #51

Updated by marcel.werner3 about 13 years ago

wow, awesome :D had almost given up hopes on this one ;)
squid is the man for all jobs 8)

Actions #52

Updated by hatarumoroboshi about 13 years ago

Thanks and I would suggest to put an option in the Dolphin configuration for enabling or disabling the speaker;-)

Actions #53

Updated by Karsten.Schilder about 13 years ago

Very nice.

Actions #54

Updated by MofoMan2000 about 13 years ago

One that's committed then it's time to figure out how to make it work in LLE as well.

Actions #55

Updated by William79371 about 13 years ago

Agree =)

Actions #56

Updated by skidau about 13 years ago

It will be a cross platform solution and I will make an enable/disable option. Although the solution is a hack using HLE, it requires DSP LLE to work.

Actions #57

Updated by moinonono about 13 years ago

Thanks in advances Skidau

Actions #58

Updated by Hgomez2020 about 13 years ago

Thank you. When will we be seeing this option because i cant wait

Actions #59

Updated by William79371 about 13 years ago

You are Awesome Skidau:) I cant wait for this. Hope it coming soon:)

Actions #60

Updated by skidau about 13 years ago

  • Status changed from Work started to Fixed

This issue was closed by revision r7225.

Actions #61

Updated by William79371 about 13 years ago

Jippi!
Thank you for this wonderful work you have done for us. Downlaoder r7225 now.
This isis really a good news in this emulator . Looking forward =)

Actions #62

Updated by CatscratchXY about 13 years ago

Thank you!

Actions

Also available in: Atom PDF