hrydgard/ppsspp

Microphone support

hrydgard opened this issue ยท 27 comments

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

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

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

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

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

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

The same API used for output? You may start with this: Florin9doi@d6e47a2

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 ?

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:

  • sceUsbCam (GoCam!: PSP-300/PSP-450x)
  • sceUsbMic (Talkman: PSP-240X)
  • sceAudio (headphones)

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

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).

#13229 is done for windows but how about android?

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

hzl12 commented

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

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

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

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.

maybe the source code (if ppsspp has one)

@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

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.

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.

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

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

Ow please improve the function of microphone to support invizimals game series ๐Ÿ˜๐Ÿ‘

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.

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.

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

Linked it from #19141

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