Posted November 18, 2024 by misterG-gamedev
Seems that unity doesn't really care about the type of Microphone, i.e. Android or windows. So there may be away to review the audio-related code and see if adjusting the sample rate is enough to make it work on PC/Mobile as well!!!
Update:
In the intial code I've hardcoded 44,100 Hz which seems to be the standard for Android mics and if not Andoid seems to have a way to handle compatiblity issues. Changed it more dynamically to Microphone.GetDeviceCaps. Needs some more tweaking but may be a way forward!
Update: It DOES work on PC! So we might actually have android, web and PC :)
The jam has the additional wildcard of "SPEED RUN". Some ideas: