Sansar Docs
  • 🚀Welcome to Sansar
  • 📚GLOSSARY
  • 🎏Patch Notes
  • 😇Work in Progress
  • ⚠️Creative Commons License
  • Support
    • General Troubleshooting
      • General FAQ
      • The Sansar Cache
      • The Sansar Log
    • Contact Support
  • Sansar Basics
    • Installation And Compatibility
      • Installing Sansar
      • System Requirements
      • Sansar Compatibility FAQ
      • Sansar on Mac
      • Body Tracking Vive
      • Configuring Firewalls
    • Account Management
      • Account Set Up
      • Avatar Name and ID
      • Adding Payment Method
      • Discord FAQ
      • Steam Integration
      • Subscription FAQ
    • Controls
      • Avatar Hand Gestures in VR
      • FreeCam and CineCam
      • Game Controller Buttons
      • HTC VIVE controls
      • Keyboard Shortcuts for Editing a Scene
      • Keyboard Shortcuts for Styling Your Avatar
      • Keyboard Shortcuts for Visiting an Experience
      • Mouselook Mode
      • Oculus Rift Controls
      • Vive Index Controls
    • Settings
      • General Settings
    • VR Settings
      • VR Settings Menu
      • Calibrating Height in VR
  • Exploring in Sansar
    • Navigate and Explore
      • The Codex
      • Instances
      • Interactive objects
      • The Main Menu
      • The Nexus
      • Portals
      • Quests
      • Quick Start: Exploring in Sansar
    • Socialize And Connect
      • Chat Panel
      • Experience Points, Levels, and Titles.
      • Finding People in Sansar
      • Identifying Interacting With Avatars
      • The People panel
      • User profiles
    • Attending events
      • Deploying Unpublished Event to Event World
      • Adding Events to Your Calendar
      • Attending Events in Sansar
      • Avatar Broadcasting FAQ
      • Creating Your Own Events
      • Redemption Codes
      • Tipping
    • Share Content
      • Streaming Sansar
      • Taking a photo
  • Avatar Creation
    • Avatar Basics
      • Avatar 2.0 FAQ
      • Customizing Your Avatar
      • Avatar Emotes
      • The Avatar Editor
    • Dressing The Avatar
      • Fitting Designer Clothing to your Avatar
      • Setting Custom Emotes
      • Wearing Accessories
      • Wearing Rigged Clothing
    • Managing Avatar Items
      • Importing Avatar-Related Items
      • Editing an inventory item's name
      • Editing an inventory item's image
      • Deleting avatar looks from your inventory
      • Importing a custom emote animation
      • Managing your avatar looks inventory items
    • Avatar Resources
      • Avatar Reference Files
      • Blender - Avatar files
      • Blender - Using Decimate Tool
      • Exporting Custom Avatars From Blender
      • Sansar Skeleton Skinning Details
      • Using Animation Skeleton
  • Creating In Sansar
    • Importing Things to Sansar
      • Supported file types
      • AABB Bounding Box and Item Restrictions
      • Importing Audio
      • Importing a Custom Avatar
      • Importing World Items
      • Importing Collision Volumes
      • Importing Accessories
      • Importing Clothing
      • Importing Emotes
      • Importing Hair
      • Importing Custom Scripts
      • Importing a Skybox
      • Troubleshooting Import Errors
    • Shaders and Materials
      • Shaders Information
      • Materials Information
      • VAT Shader Guides
        • VAT Shader Basics
        • VAT Technical Info
      • Displacement Guides
        • Simple Displacement
        • Advanced Displacement
    • Marvelous Designer Info
      • Marvelous Designer Integration
      • Marvelous Designer Creator Resources
      • Marvelous Import and Export
      • MD Limitations
    • Shader Scripting
    • Materials editing and shaders
    • Creator Tools
      • Creating a World
      • Creating Quests
      • Diagnostics Toolbar
      • Importing Items to Sansar
      • My Worlds Panel
    • Managing Worlds
      • Quick start: Creating experiences in Sansar
      • Deleting an experience or scene
      • Deploying a new scene to an existing experience
      • Editing a scene
      • Experience memos
      • Linking A Scene To A World
      • Managing your scenes and worlds
      • Moderation Tools for World Owners
      • Publishing Options for Your Experiences
      • Renaming a scene
      • Saving and Building A Scene
      • Sharing Your Experiences
      • Visiting your own experience
    • Part Of The World Editor
      • Object Stats Toolbar
      • Object Components
      • Parenting objects
      • Scene Item Inventory
      • Scene Objects Panel
      • Collision Volumes
      • Scene Settings
      • System objects
      • Object Motion Types
    • Working With Scripts
      • Working With Scripts
      • Working With Trigger Volume
      • Referencing Scene Components
      • Intro to Scripting in Sansar
      • Using the Script Console
      • Setting Script Parameters
      • Adding Scripts to an Object
      • Configuring Teleport Scripts
      • Simple Script User Guide
    • Working With Audio and Video
      • Working With Audio
      • Creating Media surface
      • Streaming Web Audio
      • Audio Emitter
      • Sansar Audio FAQ
      • Using Media Streams
      • Ambisonic Sounds
      • High Quality Spacial Audio
      • Audio Resource - Room Tones
      • Previewing Audio and Video in a Scene
      • Using Audio Materials
    • Working With Lights
      • Working With Lights
      • Light Types
      • Global Illumination
  • Sansar Store
    • Using the Sansar Store
      • The Sansar Store
      • Buying Items From The Store
      • Redelivering Lost Purchases
    • Buying and Selling Sansar Dollars
      • Gifting Sansar Dollars
      • Buying Sansar Dollars
      • Converting Sansar Dollars
      • Processing US Dollar Credit
    • Selling Your Content
      • Hidden Store Listings
      • Selling Items in Sansar Store
      • Selling Items in an Experience
      • Allowing Resale Of Items
      • Buyers Permissions
  • Guidelines and Moderation
    • Guidelines and Policies
      • Terms of service
      • Sansar's Discord Server Rules
      • Community Standards
      • Content Guidelines
      • World Publishing Guidelines
      • Store Listing Guidelines
      • Store Banner Guidelines
      • Event Guidelines
      • Privacy Policy
      • Sansar Freeware License Agreement
      • Intellectual Property Infringement Notification
      • Cookie Policy
    • Moderation and Reporting
      • Abuse and Griefing
      • Blocking Avatars
      • Muting Avatars
      • Reporting abuse
      • Reporting issues and bugs
      • Security issues
  • Script API Docs
    • General Information
      • External Script Repository's
      • Sansar Script API
      • Script API Updates
      • Restricted API's
    • Example Scripts
      • Example Scripts in Sansar
      • Cannonball
      • Follow The Path
      • Random Movement
      • Reflective Detector
      • Simple Script
      • Sound Randomizer
      • Stats Example
      • Teleport Hotkeys
      • Visitor Tracker
      • Mover Examples
    • Sansar Namespace
      • Namespace
      • Color
      • Mathf
      • Quarterion
      • Vector
      • Vector Extensions
    • Sansar.Script Namespace
      • AddEntryAttribute
      • CancelData
      • ComponentID
      • CoroutineException
      • Default Attributes
      • Editor Visible Attribute
      • Entries Attribute
      • Event Data
      • ICoroutine
      • IEvent Subscription
      • Instance Interface
      • Locked Attribute
      • Log
      • MaxEntriesAttribute
      • Memory
      • MinEntriesAttribute
      • NonReflectiveAttribute
      • ObjectID
      • OperationCompleteEvent
      • RangeAttribute
      • Reflective
      • Script.Base
      • Script Event Data
      • Script Handle
      • ScriptID
      • SessionID
      • Simple Script Event Data
      • ThrottleException
      • Timer
      • Tooltip Attribute
    • MetaData Namespace
      • Assembly MetaData
      • Script MetaData
    • Sansar Script Testing Namespace
      • Assertion Failure Exception
      • Assertions
    • Sansar Utility Namespace
      • GenericEnumerable <T>
      • GenericEnumerable<T>.GetItem
      • JSON Serialization Data
      • JSON Serialization Data 1
      • JSON Serializer
      • JSON Serializer Options
    • Sansar Simulation Namespace
      • Agent Info
      • Animation
      • Audio Component
      • Camera Control Mode
      • Character Tracker
      • Chat
      • Client
      • Cluster
      • Command Action and Data
      • Component Type
      • Control Point Type
      • Held Object
      • HTTP
      • Interaction
      • Light
      • Media Action
      • Mesh Component
      • Modal Dialogue
      • Move Mode and Mover
      • Objective
      • PlayHandle
      • PlaySettings
      • PlayStatus
      • Quest
      • RayCastHit
      • Rigid Body
      • Scene
      • Scene Public
      • Simple Script
      • Sit Event Type
      • Sit Object Data
      • Sound Resource
      • Stream Channel
      • Tutorial Hint
      • UI
      • User Data
Powered by GitBook
On this page
  • Ambisonic sounds
  • Getting the most out of ambisonics
  • Ambisonic resources
  1. Creating In Sansar
  2. Working With Audio and Video

Ambisonic Sounds

PreviousUsing Media StreamsNextHigh Quality Spacial Audio

Last updated 8 months ago

Ambisonic sounds

Note: You can hear our ambisonic demo by checking out the experience, , in Sansar. Make sure to wear headphones and turn around as the sound plays.

Sansar supports ambisonic surround sounds in format, which is quickly growing in popularity and supported in other VR and 360-degree environments like . Ambisonics have been around for decades, and there has been revitalized interest due to their usefulness in virtual reality.

A supported ambisonic file contains four channels of audio which sum to a spherical whole, and are spatialized accordingly in a scene. There are many variations out there; you may see reference to various "formats" and "orders". For the sake of simplicity, we use what's sometimes referred to as "first-order, B-format" AmbiX.

Note: The channel order is different than some other B-format signals like . If you're trying to upload a (likely older) ambisonic file into Sansar and it results in an error, it's in the wrong format with a . You'll need a to make those Sansar-ready.

You can easily upload an ambisonic .wav file into Sansar, and use it to populate a scene with 360-degree surround sound:

  1. Rename the file extension from ".wav" to ".ambix" for it to be recognized.

  2. Follow the same steps used for regular .wav files.

    upload_ambix.png

Getting the most out of ambisonics

Ambisonics are decoded in Sansar so they can be enjoyed binaurally, with a quality pair of headphones like the built-in ones on the Oculus Rift. As you turn your head around — and this is especially noticeable in VR mode — you'll hear the ambisonic soundfield also rotate relative to your viewing/camera position. You don't need to manually position elements, and it can provide a convincing 3D illusion and supplement existing mono/stereo sound emitters in your scene.

Like mono/stereo sounds, ambisonics can be used as in-scene emitters with falloff, or as Scene Settings > SOUND SETTINGS > Ambient Sound. Note that since ambient sound plays continuously at the same volume no matter what your camera position is and can't be rotated, it may sound unnatural as you walk around and isn't the intended use of a sound that belongs spatially in the scene. And also like stereo sounds, rotating an ambisonic emitter reorients its soundfield.

Known issue: Ambisonic rotation is currently broken. A fix will be in an upcoming release.

Like any tool, ambisonics is not a one-size-fits-all for sound needs. Knowing when to use it is key:

  • More channels means more complexity, and since the file is "baked" or "flattened" as-is, it can be quite difficult — if not entirely impractical — to remove unwanted soundsources. For example, if you recorded a babbling brook and birdsong in the wild — but a loud train suddenly passes by in the distance — even with advanced noise manipulation tools, it could be incredibly difficult to "clean up" the train noise. It'd probably be better to make another recording (and monitor it carefully).

  • For the same reasons, if you want flexibility with positioning specific sounds to match in-scene objects as you iterate creating an experience, mono/stereo sounds may be a more appropriate choice. It's easier to move objects to correspond to cues in an ambisonic soundfield than vice-versa.\

Ambisonic resources

If you'd rather not author your own ambisonics, you can download ambisonic files for testing and use in your scenes from these sources. Be sure to read any applicable licensing terms, and remember to rename their suffixes to .ambix before uploading:

There are also various high-quality sound stores that sell ambisonic sounds. Before buying, make sure they're in the correct format and loop seamlessly (if needed). For example:

As with visual VR, there's a lot of experimentation happening in this area, so expect the selection and quality to keep growing. Happy ambisonic explorations!

Tip: if you need to batch-rename many files, get a utility like to save time.

Another advantage of ambisonics is that synchronous sight and sound can provide an enhanced sense of immersion. For example, if you've scanned a real-world environment using a 360 camera like a , and you want the actual on-location sound to match. You'd set up ambisonic-supported microphones at the same location to record the "sonic fingerprint" of that place, then upload both the visual meshes and ambisonic soundfield into Sansar. Aligned correctly, it could feel a lot like being there!

We recommend reading to learn more about the intricacies of ambisonics, insights from veteran sound designers, and how to make your own recordings. If you feel adventurous, you can get started by buying a for about US$150 new. Feel free to share and sell your field recordings on the !

- Also contains corresponding images for some sounds, giving insight into what the source locations look like.

- Use the files in the "B-format" folder.

Renamer
Matterport Pro 3D
Creative Field Recording's comprehensive guide
Zoom H2n
Sansar Store
Oculus Ambisonics Starter Pack
Ambisonic Toolkit Example Sound Files
A Sound Effect's Ambisonics
ProSoundEffects' Ambisonics
Ambisonic Audio Demo!
AmbiX (ACN-SN3D)
Google's Jump and YouTube
ACN
FuMa
different channel order
converter
Importing Audio