A Toolkit for Customizing the ambiX Ambisonics-to- Binaural - - PowerPoint PPT Presentation

a toolkit for customizing the ambix ambisonics to
SMART_READER_LITE
LIVE PREVIEW

A Toolkit for Customizing the ambiX Ambisonics-to- Binaural - - PowerPoint PPT Presentation

A Toolkit for Customizing the ambiX Ambisonics-to- Binaural Renderer 143rd AES Convention Engineering Brief 403 Session EB06 - Spatial Audio October 21st, 2017 Joseph G. Tylka (presenter) and Edgar Y. Choueiri 3D Audio and Applied Acoustics


slide-1
SLIDE 1

A Toolkit for Customizing the ambiX Ambisonics-to- Binaural Renderer

143rd AES Convention Engineering Brief 403 Session EB06 - Spatial Audio October 21st, 2017 Joseph G. Tylka (presenter) and Edgar Y. Choueiri 3D Audio and Applied Acoustics (3D3A) Laboratory Princeton University www.princeton.edu/3D3A

1

slide-2
SLIDE 2

Ambisonics-to-Binaural Rendering

HOA Signals Binaural signals HRTFs

Convolve Render as discrete sources

2

Sennheiser AMBEO VR Mic SoundField Microphone https://developers.google.com/vr/concepts/spatial-audio mh acoustics Eigenmike Xie (2013), Head-Related Transfer Function and Virtual Auditory Display, Fig. 2.5. http://novaspire.ca/3-dimensional-binaural-audio/

slide-3
SLIDE 3

Outline

  • Existing tools
  • Structure of binaural rendering configuration
  • The SOFA/AmbiX Binaural Rendering (SABRE) Toolkit
  • Decoding ambisonics
  • HRTF processing
  • Using the toolkit
  • Summary

3

slide-4
SLIDE 4

Existing Tools

Tool Author Platform Maximum Order

Custom HRTF Support

Free Ambi Head

Noise Makers

VST 1 ✅ ❌ Harpex-X Harpex Ltd. VST 1 ✅ ❌

O3A Decoding VST

Blue Ripple Sound

VST 3 ❌ ❌ SPAT IRCAM

Max, C++ Library

No limit ✅ ❌

JSAmbisonics Library

  • A. Politis and D.

Poirier-Quinot

JS Library No limit ✅ ✅

ambiX Plug-ins

M. Kronlachner

VST 7+ ⚠ ✅

https://en.wikipedia.org/wiki/List_of_Ambisonic_software

4

slide-5
SLIDE 5

Binaural Rendering Configuration

  • Renders HOA to discrete

“speakers” signals
 
 
 
 


  • Generally frequency

independent

  • Requires a known speaker grid
  • Various decoder types [4,5,6]
  • Spatialize discrete signals to

binaural

  • Stored as impulse responses with

corresponding measurement grid

  • Various storage formats;

standardized one is SOFA [2]

  • May require interpolation to

decoder’s speaker grid

  • May require equalization for

playback

Decoder Matrix HRTFs

5

     x1(t) x2(t) . . . xQ(t)      = D ·      a0(t) a1(t) . . . aN−1(t)     

slide-6
SLIDE 6

The SOFA/AmbiX Binaural Rendering (SABRE) Toolkit

6

slide-7
SLIDE 7

Toolkit Architecture

Equalize HRTFs SOFA HRTFs Interpolation Settings Interpolate HRTFs ambiX Binaural Decoder

7

EQ Type Design EQ Filters Speaker Grid Decoder Type Load/Design Decoder Matrix

slide-8
SLIDE 8

Decoding Ambisonics

8

slide-9
SLIDE 9

Decoder Matrix

  • Load an existing decoder
  • Built-in ambiX presets
  • Ambisonics Decoder Toolbox

(ADT) [4]

  • Design basic decoder
  • Pseudoinverse [5]
  • Quadrature [6]
  • “Compact” decoder
  • Pre-multiply HRTFs with

decoder matrix

9

Compact decoder

  • hL,R

1

(t) hL,R

2

(t) · · · hL,R

Q (t)

  • · D
  • ˜

hL,R

= ˜ hL,R · I(N×N)

˜ D

Effective HRTFs Effective decoder matrix

Pseudoinverse decoder

D =      Y0(ˆ v1) Y0(ˆ v2) · · · Y0(ˆ vQ) Y1(ˆ v1) Y1(ˆ v2) · · · Y1(ˆ vQ) . . . . . . ... . . . YN−1(ˆ v1) YN−1(ˆ v2) · · · YN−1(ˆ vQ)     

+

slide-10
SLIDE 10

HRTF Processing

10

slide-11
SLIDE 11

HRTF Interpolation

  • Nearest neighbor
  • Time domain:
  • Time-align onsets
  • Average responses & delays
  • Reintroduce average delay
  • Alternatively, frequency domain
  • Weighting schemes:
  • Linear, natural neighbor, spherical

harmonic

  • Interpolation threshold:
  • Nearest neighbor if a “close

enough” measurement exists

  • Otherwise, use specified method

11

Time domain interpolation

remove delay introduce delay

1. 2. 4. 3.

interpolate

slide-12
SLIDE 12

HRTF Equalization

  • Equalization type:
  • None, frontal (free-field),

diffuse, horizontal

  • Regularized inverse filter

12

Regularization parameter

β0 = 10−4, fL0 = 50 Hz, fH0 = 21 kHz, β1 = 10−2, fL1 = 20 Hz, fH1 = 22 kHz.

f β β1 β0 fL1 fL0 fH0 fH1

Z(f) = H∗(f) H∗(f)H(f) + β(f)

[9, Eq. (4)]

slide-13
SLIDE 13

Using the Toolkit

13

slide-14
SLIDE 14

1. Initialize the toolkit 2. Specify ambisonics order 3. Specify SOFA file and location 4. Specify output ambiX filename 5. Generate the renderer!

14

MATLAB code from “examples.m” distributed with the toolkit

Running in MATLAB

Can also specify optional settings — see user manual for details.

slide-15
SLIDE 15

The ambiX Binaural Plug-in

15

Click “open” to select binaural decoder

slide-16
SLIDE 16

Summary

  • Presented a MATLAB toolkit for customizing the ambiX binaural decoder
  • Converts any SOFA-formatted HRTFs into ambiX rendering configuration
  • Implemented basic ambisonic decoder functionality; compatible with established

ambisonic decoder toolbox

  • Implemented several methods of HRTF interpolation and equalization
  • Source code is freely-available on GitHub:


https://github.com/PrincetonUniversity/3D3A-SABRE-Toolkit

16

Acknowledgements

  • Uses ambiX plug-ins: http://www.matthiaskronlachner.com/?p=2015
  • Requires SOFA API: https://github.com/sofacoustics/sofa
slide-17
SLIDE 17

References

[1] Kronlachner, M., “Ambisonics plug-in suite for production and performance usage,” in Linux Audio Conference, 2013. [2] AES69-2015, “AES69-2015: AES standard for file exchange - Spatial acoustic data file format,” 2015. [3] Nachbar, C., Zotter, F., Deleflie, E., and Sontacchi, A., “ambiX - A Suggested Ambisonics Format,” in Proceedings of the 3rd Ambisonics Symposium, 2011. [4] Heller, A. J., Benjamin, E. M., and Lee, R., “A Toolkit for the Design of Ambisonic Decoders,” in Linux Audio Conference, 2012. [5] Heller, A., Lee, R., and Benjamin, E., “Is My Decoder Ambisonic?” in Audio Engineering Society Convention 125, 2008. [6] Duraiswami, R., Zotkin, D. N., Li, Z., Grassi, E., Gumerov, N. A., and Davis, L. S., “High Order Spatial Audio Capture and Its Binaural Head-Tracked Playback Over Headphones with HRTF Cues,” in Audio Engineering Society Convention 119, 2005. [7] Rafaely, B. and Avni, A., “Interaural cross correlation in a sound field represented by spherical harmonics,” The Journal of the Acoustical Society of America, 127(2), pp. 823–828, 2010. [8] Schärer, Z. and Lindau, A., “Evaluation of Equalization Methods for Binaural Signals,” in Audio Engineering Society Convention 126, 2009. [9] Farina, A., “Advancements in Impulse Response Measurements by Sine Sweeps,” in Audio Engineering Society Convention 122, 2007.

17