Search Unity

Audio Get audio volume from microphone on Android

Discussion in 'Audio & Video' started by Deleted User, Mar 31, 2020.

  1. Deleted User

    Deleted User

    Guest

    I want to constantly listen for audio and look at the volume of the input. If it is loud enough, I want to call another function. I'm new to both Unity and C#, so I wasn't able to get much information out of the documentation.
    What would an example script look like, and is there any diference between useing the microphone on Windows and Android?
     
  2. zacharyaghaizu

    zacharyaghaizu

    Joined:
    Aug 14, 2020
    Posts:
    65
    did you get your microphone working on android? Also quite new too