Home

Awesome

UniMic 🎤

A wrapper for Unity's Microphone class.
Provides easy APIs for mic input and management.
Also includes StreamedAudioSource, a (not Microphone related) class that can be used for playing streaming audio by feeding it incoming audio samples.

Documentation 📝

Refer to the Scripting Reference

Installing 📦

⚠️ OpenUPM doesn't have up to date releases. Install using NPM registry instead 👇

Ensure you have the NPM registry in the packages.json file of your Unity project with com.adrenak.unimic as one of the scopes

"scopedRegistries": [
    {
        "name": "npmjs",
        "url": "https://registry.npmjs.org",
        "scopes": [
            "com.npmjs",
            "com.adrenak.unimic"
        ]
    }
}

Add "com.adrenak.unimic" : "x.y.z" to dependencies list in packages.json file where x.y.z is the version name

💬 You can see the versions on the NPM page here.
Also note that v3.x.x is recommended. v3 has several breaking changes against v1 and v2. Refer to the scripting reference if you're upgrading.

Samples 🚀

Getting started with some samples is the best way to see the features of UniMic, and there are many!

Ensure that atleast one recording device is connected to your PC/Mac for the samples to work.

Simple MicAudioSource Sample

Multiple MicAudioSource Sample

MicAudioSource Switch Sample

Spatial Blend Sample (for spatial audio)

Note 📄

Contact 👥

@github
@website
@discord: adrenak#1934