1 Star 0 Fork 0

大熊 / telepresence

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Technical_Stereoscopic_spatial_3D_audio.md 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
Mamadou DIOP 提交于 2015-08-18 20:35 . -

Our 3D audio mixer is based on OpenAL Soft and supports up to 256 sources. Your OpenAL version must be at least 1.15.1 and implements ALC_SOFT_loopback extension.

To have a 3D audio, each SIP client should signal its position in the virtual room. The signaling is done using two SIP headers: TP-AudioPosition and TP-AudioVelocity. These two SIP headers must contain an array of three floating numbers.

TP-AudioPosition: [0.0f, 0.0f, 0.0f]
TP-AudioVelocity: [0.0f, 0.0f, 0.0f]

Using our WebRTC TelePresence client, the 3D settings could be defined at http://conf-call.org/settings.htm.

From OpenAL documentation, "AL_POSITION specifies the current location of the object in the world coordinate system. Any 3-tuple of valid float values is allowed. Implementation behavior on encountering NaN and infinity is not defined. The object position is always defined in the world coordinate system."

From OpenAL documentation, “AL_VELOCITY specifies the current velocity (speed and direction) of the object, in the world coordinate system. Any 3-tuple of valid float/double values is allowed. The object AL_VELOCITY does not affect the source's position. OpenAL does not calculate the velocity from subsequent position updates, nor does it adjust the position over time based on the specified velocity. Any such calculation is left to the application. For the purposes of sound processing, position and velocity are independent parameters affecting different aspects of the sounds.”

1
https://gitee.com/yumin11522/telepresence.git
git@gitee.com:yumin11522/telepresence.git
yumin11522
telepresence
telepresence
master

搜索帮助