Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microphone support #12336

Open
hrydgard opened this issue Sep 18, 2019 · 27 comments
Open

Microphone support #12336

hrydgard opened this issue Sep 18, 2019 · 27 comments

Comments

@hrydgard
Copy link
Owner

hrydgard commented Sep 18, 2019

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
Copy link
Contributor

Panderner commented Feb 15, 2020

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
Copy link
Contributor

Panderner commented Feb 27, 2020

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

@Panderner
Copy link
Contributor

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
Copy link
Owner Author

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

@adenovan
Copy link
Contributor

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

@Florin9doi
Copy link
Contributor

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

@adenovan
Copy link
Contributor

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
Copy link
Contributor

Florin9doi commented Mar 12, 2020

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

@Panderner
Copy link
Contributor

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
Copy link
Contributor

#13229 is done for windows but how about android?

@DinisB
Copy link

DinisB commented Aug 18, 2020

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

@hzl12
Copy link

hzl12 commented Aug 22, 2020

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
Copy link

hzl12 commented Aug 24, 2020

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
Copy link
Collaborator

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
Copy link

hzl12 commented Aug 24, 2020

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
Copy link

DinisB commented Aug 24, 2020

maybe the source code (if ppsspp has one)

@shenweip
Copy link
Contributor

@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
Copy link

hzl12 commented Aug 25, 2020

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
Copy link

ghost commented Oct 31, 2020

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
Copy link

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

@hrydgard
Copy link
Owner Author

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

@hrydgard hrydgard modified the milestones: Future, v1.12.0 Nov 11, 2020
@zackzick2
Copy link

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

@ghost
Copy link

ghost commented Apr 18, 2021

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.

@hrydgard hrydgard modified the milestones: v1.12.0, Future Jul 10, 2021
@realriccio
Copy link

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
Copy link

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

@hrydgard hrydgard mentioned this issue May 22, 2024
20 tasks
@hrydgard
Copy link
Owner Author

Linked it from #19141

@anr2me
Copy link
Collaborator

anr2me commented Jun 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests