Professional Real-time Audio Recording & Processing Plugin
๐จ๐ณ ไธญๆ็ | ๐บ๐ธ English
Latest Version: 0.1.3-exp.1 (2026-02-16) ยท
View Changelog
Highlights: Added Mono component stack (`EasyMicrophone`, `VoiceMicrophone`, `PlaybackAudioSourceBehaviour`, `SpeechSynthesizer`), refactored playback/recording subsystems, and refreshed bilingual docs.
Perfect for AI Digital Humans โข Voice Interactive Applications โข Real-time Audio Processing
Easy Mic is a professional real-time audio recording and processing plugin designed specifically for Unity developers working on voice-interactive applications, AI digital humans, and real-time audio processing projects.
|
๐ค AI Digital Humans Voice interaction systems |
๐ฃ๏ธ Real-time Voice Chat Live conversation systems |
๐๏ธ Voice Commands Recognition systems |
๐ VoIP & Comms Communication apps |
๐ฎ Voice Gaming Voice-controlled games |
Easy Mic provides the low-latency, high-quality audio foundation your application needs.
Unity Digital Human Microphone Recording Plugin
Solving Echo Cancellation for Conversational AI
This video demonstrates how Easy Mic solves critical audio challenges in AI conversation systems, particularly the conversation interruption problem caused by echo and audio feedback.
|
|
|
|
For developers working on Unity AI digital human projects, we offer the EasyMic APM (Audio Processing Module) extension.
|
๐ AEC Acoustic Echo Cancellation Eliminates echo and feedback |
๐ข AGC Automatic Gain Control Maintains consistent audio levels |
๐ฏ ANS Acoustic Noise Suppression Reduces background noise |
๐ง Contact: unease-equity-5c@icloud.com | ๐ฌ Bilibili: Send private message
- Open Unity Package Manager
- Click
+โAdd package from git URL... - Enter:
https://github.com/EitanWong/com.eitan.easymic.git#upm - Click
Add
- After importing Easy Mic, go to Package Manager
- Find EasyMic in "In Project" packages
- Expand Samples section
- Click Import next to "Recording Example"
- Open the imported scene to see microphone recording demo
// Ensure permission (Android triggers system request) if (!PermissionUtils.HasPermission()) return;// Refresh device list EasyMicAPI.Refresh();
// Define processor blueprints var bpCapture = new AudioWorkerBlueprint(() => new AudioCapturer(10), key: "capture"); var bpDownmix = new AudioWorkerBlueprint(() => new AudioDownmixer(), key: "downmix");
// Start recording (auto-selects default device/channel) var handle = EasyMicAPI.StartRecording(SampleRate.Hz16000);
// Attach processors EasyMicAPI.AddProcessor(handle, bpDownmix); EasyMicAPI.AddProcessor(handle, bpCapture);
// ... later: stop and get captured clip EasyMicAPI.StopRecording(handle); var clip = EasyMicAPI.GetProcessor(handle, bpCapture)?.GetCapturedAudioClip();
EasyMic includes ready-to-run samples under EasyMic/Packages/com.eitan.easymic/Samples~/ so developers can quickly validate workflows.
| Sample | Purpose | Best For |
|---|---|---|
Recording Example |
Basic microphone recording flow and WAV persistence. | First-time integration and device/permission checks. |
Playback Example |
Core playback flow using EasyMic playback stack. | Verifying low-latency output and playback controls. |
AudioPlayback API Example |
Programmatic playback API usage and queue-style audio feeding. | Building custom runtime audio playback logic. |
SherpaONNXUnity ASR Example |
Real-time speech recognition pipeline with Sherpa ONNX + EasyMic input. | Speech-to-text applications and voice command prototypes. |
SherpaONNXUnity KWS Example |
Keyword spotting / wake-word workflow with Sherpa ONNX. | Wake-word activation and always-listening assistants. |
AIChat Example |
End-to-end AI voice chat sample (ASR + LLM + TTS + playback orchestration). | Direct starting point for digital human / AI avatar apps. |
- The
AIChat Exampleis designed as a production-oriented reference pipeline for conversational digital humans. - It demonstrates end-to-end flow from microphone input to speech recognition, LLM response generation, and speech synthesis playback.
- Install
com.eitan.sherpa-onnx-unitybefore importing/running this sample.
|
๐ค AI Digital Humans
|
๐ฎ Gaming Applications
|
๐ Communication Apps
|
๐๏ธ Content Creation
|
|
Unity 2021.3 LTS or higher |
Platforms Windows, macOS, Linux Android, iOS |
Dependencies .NET Standard 2.1+ |
Permissions Microphone access required |
This project is licensed under the GPLv3 License - see the LICENSE.md file for details.
|
|
|
๐ Issues & Bug Reports GitHub Issues Check Troubleshooting first |
๐ฌ Community Discussion GitHub Discussions Share projects & get help |
๐ง Professional Support Email | Bilibili PM Provide technical support |
|
โ
Developer-Focused Extensive documentation, examples, and community support |
โ
Performance-Optimized Zero-GC audio processing for maximum performance |
โ
Flexible Architecture Modular design allows easy customization and extension |
โ
Cross-Platform Single API works across all major Unity platforms |
Made with โค๏ธ by Eitan
Star โญ this repo if Easy Mic helps your project!
