Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. We're running great holiday deals on subscriptions, swag and Asset Store packages! Take a peek at this blog for more information!
    Dismiss Notice
  3. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  4. Unity 2017.2 is now released.
    Dismiss Notice
  5. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  6. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  8. Unity 2017.3 beta is now available for download.
    Dismiss Notice

Audio Is it possible to record spatial audio for 360 video in Unity?

Discussion in 'Audio & Video' started by LieropArt, Jun 16, 2017.

  1. LieropArt


    Oct 17, 2016
    I use a plugin called Helios3D for Unity to record 360 footage in my real-time Unity environment. My intention is to upload the result to Youtube.

    The plugin supports audio recording but only regular audio, not specifically spatial audio.

    I contacted the developer of the plugin to ask if spatial audio recording was possible but he said that Unity simply did not support it, but he didn't go into further details.

    I was wondering if there exists a way to record the audio in the specific format that Youtube spatial audio requires? Or if anyone had ever attempted to make a script that does this sort of thing?

    • Content you upload should follow YouTube specifications, including the use of:
      • First Order Ambisonic (FOA) audio channel layouts
      • ACN channel ordering
      • SN3D normalization
      • FOA components W, Y, Z, X should have channel map indexes 0, 1, 2, 3, respectively. The channel_map sequence should be specified as 0, 1, 2, 3.
      • Use the metadata tool to insert Spatial Audio metadata. If your post-production tools already mark metadata per the YouTube spec, you don't need to use the metadata tool.
    • MP4 files require AAC encoding with 4.0 layout
    • MOV files require either AAC encoding with 4.0 layout or PCM encoding with 4.0 or unspecified layout
    • AAC sample rates and bitrates should use YouTube encoding recommendations. AAC sample rates should be 96 khz or 48 khz and bitrates should be 512 kbps. For best quality, we recommend that you use an uncompressed PCM audio format.
    • Only one audio track is supported. Multiple audio tracks, such as tracks with spatial and stereo/mono in the same file, are not supported.

  2. danielrothmann


    Feb 4, 2016
    I'm afraid it would be quite difficult to set up. Ambisonic recordings rely on some clever phase inversion tricks dependent on unidirectional microphone capsules - As far as I know, AudioListeners in Unity act more like a simple omnidirectional capsule.

    If you find a way to record multiple AudioListeners, you could try to set them up in a quad configuration around the camera and transcode the quad (four channels) recording to B-Format: