google / spatial-media

Specifications and tools for 360º video and spatial audio.
Other
1.86k stars 429 forks source link

audio channel XYZ orientation relative to equirectangular video #183

Closed claudeha closed 6 years ago

claudeha commented 6 years ago

Here is an image showing an equirectangular video frame with various orientation points labelled:

spatial-audio-in-360-video-orientation-question

How should I prepare my spatial audio? Which of AaBbCc correspond to ambisonic XYZ directions? (W is omnidirectional so no issue there).

I could not find guidance on this despite several hours of searching the internet, for documentation purposes a simple image as above but with +/-XYZ marked appropriately would be wonderful.

mgorzel commented 6 years ago

Hi @claudeha,

Assuming you want to use AmbiX convention, your Ambisonic audio channels will be: Ch1: W (omni), Ch2: Y (left), Ch3: Z (up), Ch4: X (front). So, using your AaBbCc convention above, I believe that would correspond to +X-X-Y+Y+Z-Z.

Marcin