Introduction to Ambisonics

"[In first-order Ambisonics], 

sound information is encoded into four channels: W, X, Y and Z. 

This is called Ambisonic B-format. 

The W channel is the non-directional mono component of the signal,

 corresponding to the output of an omnidirectional microphone.

The X, Y and Z channels are the directional components in three dimensions. 

They correspond to the outputs of three figure-of-eight microphones, 

facing forward, to the left, and upward respectively."

first-order Ambisonics 是由一个单声道和三个方向声道构成


A-format is the four signals from the capsules – left-front/back and 
right-front/back. To get B-format:

X = 0.5 ((LF – LB) + (RF – RB))
Y = 0.5 ((LF – RB) – (RF – LB))
Z = 0.5 ((LF – LB) + (RB – RF))
W = 0.5 (LF + LB + RF + RB)


The 3 basic patterns are话筒指向性

  • omnidirectional
  • figure-8
  • cardioid

Microphone Polar Pattern Diagram


google 使用的是

Ambisonic audio must use ACN channel ordering and SN3D normalization. 

根据通道顺序可以分为
Component ordering
FuMa
SID
ACN

Normalisation
maxN
SN3D
N3D
N2D / SN2D


根据格式
File formats and metadata
AMB
FuMa
.amb Furse-Malham channel ordering and maxN* normalisation.
SUBTYPE_AMBISONIC_B_FORMAT_PCM {00000001-0721-11d3-8644-C8C1CA000000} for integer samples, or
SUBTYPE_AMBISONIC_B_FORMAT_IEEE_FLOAT {00000003-0721-11d3-8644-C8C1CA000000} for floating point.
The definition mandates that the WAVE_EX dwChannelMask must be set to zero. 
Furthermore, it recommends that the file should contain a PEAK chunk, containing the value and position of the 
highest sample in each channel.
libsndfile


AmbiX
ACN ordering and SN3D normalisation
YouTube 360, Google Cardboard, Google Jump
1AD318C3-00E5-5576-BE2D-0DCA2460BC89.


B-format (FuMa) lists the channels in order: W, X, Y, Z. The W channel also has a -3 dB gain applied.
The ambiX convention lists the channels using the Ambisonics Channel Number (ACN) ordering: W, Y, Z, X.
The channels also use SN3D normalisation (which for first order Ambisonics simply means that the four
channels have a uniform gain normalisation).


ffmpeg -loop 1 -i PS.jpg -i ambiX.wav -map 1:a -map 0:v -c:a copy -channel_layout 4.0 -c:v libx264 -b:v 40000k -bufsize 40000k -shortest PSandAmbiX.mov


现在大概了解了 全景声的构成

需要保存音频到wav文件中

A WAVE file is often just a RIFF file

with a single "WAVE" chunk which consists of two sub-chunks 

-- a "fmt " chunk specifying the data format 

and a "data" chunk containing the actual sample data.

Here is the interpretation of these bytes as a WAVE soundfile:





  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值