WilliamLCobb / iNDS

Legacy Repo for iNDS
http://willcobb.me/iNDS.html
236 stars 60 forks source link

Microphone #23

Open Anuskuss opened 8 years ago

Anuskuss commented 8 years ago

I've never seen a mobile Nintendo DS emulator with microphone support, but I would appreciate this feature since I can't continue playing Nintendogs.

WilliamLCobb commented 8 years ago

I'll put that on the todo list. There's code in there for microphone input so it shouldn't be too hard to implement.

Anuskuss commented 8 years ago

Would it record my voice accuratly or would it just play a dark noise?

WilliamLCobb commented 8 years ago

Not sure yet. Worst case scenario you'll have the option to play different noises. Hopefully though I can get live recording to work.

ghost commented 8 years ago

It would be good if you could get the mic to work. If anything you could also check to see if desmume has some code for mic imput .

Pepperoony commented 8 years ago

@pmp174 how do I input those cheats into iNDS? For the fake microphone blowing?

ghost commented 8 years ago

@pepperoony I have not tried this cheat but the correct way to do it is by going to the cheat menu clicking the + button and adding the code . If you need a mic cheat try to see if in the issue I refreced above there is one. Also search some up at some type of cheat database.

Pepperoony commented 8 years ago

Oh, it's in the latest IPA right? Could you send that to me please?

ghost commented 8 years ago

Sure what's your email?

Pepperoony commented 8 years ago

Luke_Rooney@icloud.com

Luke Rooney/ Manager of Marketing luke.rooney@servitehs.org(mailto:luke_rooney@icloud.com)/(562)-360-4258(tel:(562)-360-4258)

Trinity Corporation ServiteHS.org 1952 W La Palma Ave, Anaheim(x-apple-data-detectors://5/2)

On Jan 5, 2016, 8:54 PM -0800, Darby Martíneznotifications@github.com, wrote:

Sure what's your email?

— Reply to this email directly orview it on GitHub(https://github.com/WilliamLCobb/iNDS/issues/23#issuecomment-169220650).

ghost commented 8 years ago

@Pepperoony sent

Anuskuss commented 8 years ago

Any updates yet?

WilliamLCobb commented 8 years ago

I'm making progress I just need some save states to test it on. If anyone has any please send them through the in app bug reporting

ghost commented 8 years ago

Seems like you are making progress. I will try to check my drop box but my app got deleted so no guarantee of save states .

Anuskuss commented 8 years ago

If you want to test it just download one of the Nintendogs, buy a dog and pet it until the game asks you to give him a name via the microphone (no save needed as it takes ~2 minute to reach to that point).

WilliamLCobb commented 8 years ago

Didn't mean to close this issue :/

And thanks! I'll test nintendogs today

WilliamLCobb commented 8 years ago

I have the microphone successfully picking up sound and writing it to a buffer for the emulator to use. However DeSmuME is only reading around 130 samples a second... which is bad because it should be 16000.

I think any point where you just need to blow into the mic will work now but voice recognition probably will not. I'll update the beta branch soon and anyone who wants to test it out can.

Anuskuss commented 8 years ago

It would be perfect if it could recognize my voice accuratly, since it can be used to call your dog in Nintendogs. A simple blow would let me continue the game, but it's sad that I can't call him (but it's still possible to whistle (with the menu) and the dog still comes to you).

Macrey commented 8 years ago

Most of games don't make a difference between voice and just a blow. I'm stuck in WarioWare Touched! because of that mic issue :/

Btw, very great job !

WilliamLCobb commented 8 years ago

Ready for testing. The iPhone microphone is so sensitive it makes it kind of hard to emulate the DS's. Loud noises from far away are picked up as static and make the game think you're blowing into the mic. I might need to turn the sensitivity down some or add an option to disable the mic.

Please send an inapp report or post back here if you guys get a chance to test it

WilliamLCobb commented 8 years ago

Nintendog works perfectly for me so its looking good. Hopefully other games will too

Anuskuss commented 8 years ago

Man I wish I had a Mac to test it (or the time to setup a virtual machine),

kb317 commented 8 years ago

@WilliamLCobb You said nintendogs is working perfectly for you now? I gave the app permission to access mic but it seems like nothing is going through, the dog isn't picking up anything

Anuskuss commented 8 years ago

@WilliamLCobb First of all, thank you for implementing microphone support in iNDS. My problems so far:

kb317 commented 8 years ago

@Anuskuss @WilliamLCobb I enabled volume button bumpers - it's now picking up my voice but sounds super distorted, the dog is doing the same question marks you mentioned.

WilliamLCobb commented 8 years ago

When you enable volume button bumpers it correctly sets the state of the audio session to pick up the microphone. I forgot to add that for when you don't enable those. I'll fix it today.

Also I turned down the sensitivity of the mic because mine was so loud but it may be different for other phones. I can add an option to set it manually.

Also how do you know what your voice sounds like? Does t replay it in nintendogs?

kb317 commented 8 years ago

@WilliamLCobb Yes. after you speak, the game replays it.

WilliamLCobb commented 8 years ago

Do you hear your voice at all and it's distorted? Or do you just hear white noise?

kb317 commented 8 years ago

@WilliamLCobb I hear my voice, but it's heavily distorted.

K0m0 commented 8 years ago

I tried to send a save state for this issue through bug reporting, but it gave me an error. Is there any other way I could send the state?

essiw commented 8 years ago

@K0m0 You could synch it with dropbox (or get the files from iTunes) and upload the save state here.

Anuskuss commented 8 years ago
iNDS 1.5.1
itsjustjordyn commented 8 years ago

I just recently downloaded Nintendogs to test the microphone and I'm still having issues. I enabled the volume buttons options and the microphone isn't picking up anything at all. Help?

benjamincrozat commented 7 years ago

Hello,

My girlfriend is asking if you made any progress about this issue. She can't play Nintendogs, ha ha. :)

tungkaka commented 7 years ago

@WilliamLCobb You did great job, but i still can't use micro in Legend of Zelda Phantom Hourglass, i try to on/off some controls setting or audio setting but still not working. i test in game and the option in game for Mic test but stay the same. Everything was GREAT except micro :( btw thank you for your awesome work, god bless you !!

frnkl commented 6 years ago

I have downloaded iNDS 1.5.4. It's working fine except the micro. I know it's implemented since 1.5. but it seems like it really doesn't want to work. I have installed iNDS with Cydia Impactor on iOS 11.0.2. Is there a solution for this ?

maritjuuuuu commented 6 years ago

Can someone please just put a code here so I can play nintendogs? I have read all the stuff, but I can not figger it out. I just need to use my microphone, but I can't find an code that works. Someone, please, help?

PandaPJYuri commented 5 years ago

Mic Enable isn’t working for me on iOS 12 public beta 7. Just to let you know.