hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
10.85k stars 2.13k forks source link

Microphone support #12336

Open hrydgard opened 4 years ago

hrydgard commented 4 years ago

EDIT: Now supported on Windows, Android.

A few games, including the PSP Camera game Invizimals, use a microphone.

This issue is simply here to track the work of supporting microphones in PPSSPP.

This reddit thread has an incomplete list of the games that make use of them:

https://www.reddit.com/r/PSP/comments/9rymmg/lets_make_a_master_list_of_stuff_that_uses_the/

Getting this app to work would probably be useful: https://psp.brewology.com/downloads/download.php?id=9421&mcid=1

Hosted here: AudioMechanicaV8d.zip

Panderner commented 4 years ago

iOS and Android devices has a built-in microphone for most devices but for computers requires external microphone unless some laptops has internal microphone

Panderner commented 4 years ago

Could you add microphone permission on Android that is missing on PPSSPP

Panderner commented 4 years ago

VoIP apps like Skype, Discord, Viber, Facebook Messenger and etc. Some games Talking Tom & Friends franchise, Pou, Some Games has Voice Chat Features Like PUBG, Call of Duty, Mobile Legends, Lifeafter, etc.

The Allow (Any App Name) To Record Audio? Pop ups when the microphone permission is not enabled. Pou For example: Screenshot_2020-03-11-20-49-23-96 And Microphone Permission Side Bar like this: IMG_20200311_205526 This feature is only present for Android Versions 6.0 Marshmallow and newer, Android Versions Older than 6.0 Marshmallow the microphone feature always enabled

hrydgard commented 4 years ago

Yes that's not an issue, implementing the PSP microphone APIs well enough that the games are happy with them is.

adenovan commented 4 years ago

what do you prefer we use on android ? Oboe , AAudio , OpenSL ES?

Florin9doi commented 4 years ago

The same API used for output? You may start with this: https://github.com/Florin9doi/ppsspp/commit/d6e47a2f208c5483f0b680dade5574e4451d73e3

adenovan commented 4 years ago

cool some part of audio recording already implemented in ppsspp so atm its only on android ? and we have many unimplemented api there , anyone can confirm different psp camera have different api implementation ?

Florin9doi commented 4 years ago

Is my fork and it isn't merged. I've started it a while ago, but I didn't figure it out how to complete it.

Yes, there are 3 different APIs:

Audio Mechanica V8d Source Code: https://www.brewology.com/downloads/download.php?id=9420&mcid=1

Panderner commented 4 years ago

I know Drastic a Nintendo DS Emulator that supports microphone feature and it's used for some games (Mike's Stage on WarioWare Touched and naming your Dog using your voice in Nintendogs) Citra Emulator on Android has recently added microphone support on official Build. but how about a PSP? it has microphone built-in on PSP-3000 and some games that requires Microphone (TalkMan).

Panderner commented 3 years ago

13229 is done for windows but how about android?

DinisB commented 3 years ago

Can you add microphone to PPSSPP android? I am stuck in the StingWing part of Invizimalz because of the microphone

hzl12 commented 3 years ago

so did anyone have tutorial to use audiomechanica to play talkman on ppsspp? did anyone succeed to play that game now? really want to know.

hzl12 commented 3 years ago

please i just asking, bcs on my ppsspp on android and Pc it won't work. or it's only work on gold? so i just confused how audiomechanica work, really need to know. i really want to play talkman. please

unknownbrackets commented 3 years ago

There's no functionality difference with gold. Microphone is not fully implemented yet. The way to get this to work involves writing code in C++.

-[Unknown]

hzl12 commented 3 years ago

i see. but i don't understand how to writing the codes on ppsspp. bcs i'm not a programer. maybe you have link of tutorial for me to follow. but thanks for your respons before.

DinisB commented 3 years ago

maybe the source code (if ppsspp has one)

shenweip commented 3 years ago

@hzl12 Why do you want to play talkman with audiochanica? Wonder you can play talkman with audiochanica on a real PSP? If you want to play on PC, you just need to run it without audiochanica, I think it would work. Of course, you are supposed to have a real Microphone and update ppsspp to the latest git build.

hzl12 commented 3 years ago

i love to learn language, and i think talkman game is a one of a good source to learn. real microphone yeah, i'll try, thank you very much.

ghost commented 3 years ago

Too bad the multiplayer games only used microphone on infrastructure and not ad-hoc. Unless its possible to move the functionality to ad-hoc lol.

zackzick2 commented 3 years ago

I hope microphone ppsspp will support to invizimals series. Thank you

hrydgard commented 3 years ago

Yeah apparently this works now for some cases but not invizimals, which is odd.

zackzick2 commented 3 years ago

Ow please improve the function of microphone to support invizimals game series 😁👍

ghost commented 3 years ago

Technically does not work on the infrastructure test builds by AdamN for voice chat but not sure if its the microphone not implemented correctly or not.

realriccio commented 2 years ago

It would be great for this to be implemented also on linux, since the Steam Deck has a dedicated microphone that PPSSPP is currently unable to use.

wutend159 commented 2 months ago

Would be great if we could implement it into iOS now that PPSSPP is on the AppStore

hrydgard commented 2 months ago

Linked it from #19141

anr2me commented 1 month ago

Just a reference to a cross-platform audio library https://github.com/mackron/miniaudio