Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Microphone noise from native js

Discussion in 'Web' started by Guirao, Oct 3, 2017.

  1. Guirao

    Guirao

    Joined:
    Nov 24, 2012
    Posts:
    68
    Hello, I'm using native plugin that sends the float array from the recorded buffer (html5 part) to unity, but setting an AudioClip data (AudioClip.SetData) results in a bad audio play. Is there any conversion that needs to be done because AudioClip wants its float range from -1 to 1?