Check it out!
Also link: https://assetstore.unity.com/packages/slug/273622
Mobile Mike is a versatile Unity plugin designed for seamless audio capture from both built-in and USB webcam microphones on Android devices. This plugin is ideal for developers who need to integrate live audio streaming into their Unity applications, especially when using external microphones for enhanced audio input.
Key Features
- USB Webcam Microphone Support: Capability to capture audio from USB webcam microphones connected to the Android device.
- Real-Time Audio Streaming: Stream live audio from Android device microphones with minimal latency.
- Efficient Native Integration: Utilizes JNI (Java Native Interface) for optimal data transfer between Android and Unity.
- Circular Buffer Mechanism: Ensures smooth and continuous audio data handling without blocking.
- Adaptable Sample Rate Compatibility: Supports various audio sample rates to meet diverse project needs.
- User-Friendly Unity Interface: Simple and intuitive setup with Unity events for audio control and data reception.
- Comprehensive Error Handling: Detailed error logging for straightforward debugging and enhanced reliability.
Ideal Use Cases
- Applications requiring external microphone input, such as USB webcam microphones.
- Voice-controlled games and interactive experiences.
- Real-time audio analysis, visualization, and processing.
- Educational and training tools that involve audio interaction.
Technical details
- Supported Unity Versions: Confirmed support on 2022.3; should work on older and newer versions.
- Platforms: Android (API Level 22 and above).
- Package Contents: Android Studio project including the C++ JNI and Kotlin plugin source code, Unity C# scripts, demo scenes.
- Documentation: Comprehensive setup and usage guide included.
ezr² development update (Mar 22nd 2024): I’m not working on ezr² a lot, but I added some documentation!