Improved Driving Functions for Rectangular …...Improved Driving Functions for Rectangular...

4
Improved Driving Functions for Rectangular Loudspeaker Arrays Driven by Sound Field Synthesis Sascha Spors, Frank Schultz and Till Rettberg Institute of Communications Engineering, University of Rostock, Richard-Wagner-Str. 31, 18119 Rostock, Germany E-Mail: [email protected] Introduction Wave Field Synthesis (WFS) is a well-established sound field synthesis technique that uses a dense spatial dis- tribution of loudspeakers (secondary sources) arranged around an extended listening area [1]. Practical systems are often of rectangular shape. It has been shown that the edges of such a loudspeaker array may result in con- siderable amplitude and spectral deviations in the syn- thesized sound field. This holds especially when using standard WFS driving functions [2]. In order to further investigate this effect, an analytic solution to the synthesis of a sound field by two semi- infinite secondary source distributions forming an edge is derived. This geometry serves as a prototype for the edges in rectangular setups. We use the equivalent scat- tering approach (ESA), that links the theory of sound field synthesis to acoustic scattering, for the derivation of the novel driving functions. This paper is organized as follows: We briefly review the ESA in the next section, followed by the theory of scat- tering the field of a line source at an edge. This basis is then used to derive the novel driving functions which are finally evaluated by numerical simulations. Equivalent Scattering Approach We aim at synthesizing a sound field S(x) within a re- gion V by a continuous distribution of monopoles (single layer potential ) on the boundary ∂V . The synthesized sound field reads P (x)= Z ∂V D(x 0 ) G(x - x 0 )dA(x 0 ), (1) where x 0 ∂V ,dA(x 0 ) denotes a suitably chosen el- ement for integration and D(x 0 ) the weight (driving function) of the secondary sources. For ease of illustration we will first consider a two- dimensional (2D) scenario. For 2D synthesis, the free- field Green’s function G(x - x 0 ) is given by [3] G 2D (x - x 0 )= - j 4 H (2) 0 ω c |x - x 0 | , (2) where H (2) 0 (·) denotes the Hankel function of second kind and zeroth-order, and x 0 the position of the line source. We aim at the synthesis of the sound field of a line source S(x)= G 2D (x - x s ) where x s denotes its position. Various approaches have been published to derive the driving function D(x 0 ) for the synthesis of a desired sound field S(x). One of these is the equivalent scat- tering approach [4]. It states that the synthesis of a sound field by a single layer potential can be interpreted in terms of an equivalent acoustic scattering problem. The secondary source distribution acts as a notional ob- ject with homogeneous Dirichlet (i.e. sound-soft, pres- sure release) boundary conditions scattering the desired incident sound field S(x). Denoting the scattered field with S sc (x), the total sound field reads P t (x)= S(x)+ S sc (x). (3) The total sound field has to fulfill the Dirichlet boundary condition on ∂V P t (x) x=x0 =0. (4) The driving function for the ESA is given as the direc- tional gradient of the total sound field [4, eq.(17)] D(x 0 )= - ∂P t (x) ∂n(x 0 ) , (5) where ∂P (x) ∂n(x 0 ) = h∇ x P (x) x=x0 , n(x 0 )i (6) with , ·i denoting the scalar product and n(x 0 ) the in- ward pointing normal vector on ∂V at position x 0 . Scattering of a Line Source at an Edge In order to apply the ESA, we need to consider the scat- tering of a line source at an edge with a Dirichlet bound- ary condition imposed. Solutions for this scattering prob- lem under Neumann (sound-hard) or Dirichlet boundary conditions are presented in [5, 6, 7]. It is convenient to elaborate this scattering problem with the polar coordinate system. The geometry illustrated in Figure 1a is underlying the following considerations. The edge is located at the origin of the coordinate sys- tem. The outer angle of the edge is denoted by α. The position x of a field point is given in polar coordinates by its angle ϕ and distance r from the origin. The same holds for the position of the source x s / V with ϕ s and r s . Note that these angles have to be in the range 0 ... 2π. As outlined in [6], the solution [7, eq.(5.89) and (5.99)] for scattering at a sound-hard edge can be reformulated for sound-soft scattering. This results in the following

Transcript of Improved Driving Functions for Rectangular …...Improved Driving Functions for Rectangular...

Page 1: Improved Driving Functions for Rectangular …...Improved Driving Functions for Rectangular Loudspeaker Arrays Driven by Sound Field Synthesis Sascha Spors, Frank Schultz and Till

Improved Driving Functions for Rectangular Loudspeaker Arrays

Driven by Sound Field Synthesis

Sascha Spors, Frank Schultz and Till RettbergInstitute of Communications Engineering, University of Rostock, Richard-Wagner-Str. 31, 18119 Rostock, Germany

E-Mail: [email protected]

Introduction

Wave Field Synthesis (WFS) is a well-established soundfield synthesis technique that uses a dense spatial dis-tribution of loudspeakers (secondary sources) arrangedaround an extended listening area [1]. Practical systemsare often of rectangular shape. It has been shown thatthe edges of such a loudspeaker array may result in con-siderable amplitude and spectral deviations in the syn-thesized sound field. This holds especially when usingstandard WFS driving functions [2].In order to further investigate this effect, an analyticsolution to the synthesis of a sound field by two semi-infinite secondary source distributions forming an edgeis derived. This geometry serves as a prototype for theedges in rectangular setups. We use the equivalent scat-tering approach (ESA), that links the theory of soundfield synthesis to acoustic scattering, for the derivationof the novel driving functions.This paper is organized as follows: We briefly review theESA in the next section, followed by the theory of scat-tering the field of a line source at an edge. This basis isthen used to derive the novel driving functions which arefinally evaluated by numerical simulations.

Equivalent Scattering Approach

We aim at synthesizing a sound field S(x, ω) within a re-gion V by a continuous distribution of monopoles (singlelayer potential) on the boundary ∂V . The synthesizedsound field reads

P (x, ω) =

∫∂V

D(x0, ω)G(x− x0, ω) dA(x0), (1)

where x0 ∈ ∂V , dA(x0) denotes a suitably chosen el-ement for integration and D(x0, ω) the weight (drivingfunction) of the secondary sources.For ease of illustration we will first consider a two-dimensional (2D) scenario. For 2D synthesis, the free-field Green’s function G(x− x0, ω) is given by [3]

G2D(x− x0, ω) = − j

4H

(2)0

(ωc|x− x0|

), (2)

where H(2)0 (·) denotes the Hankel function of second kind

and zeroth-order, and x0 the position of the line source.We aim at the synthesis of the sound field of a line sourceS(x, ω) = G2D(x− xs, ω) where xs denotes its position.

Various approaches have been published to derive thedriving function D(x0, ω) for the synthesis of a desired

sound field S(x, ω). One of these is the equivalent scat-tering approach [4]. It states that the synthesis of asound field by a single layer potential can be interpretedin terms of an equivalent acoustic scattering problem.The secondary source distribution acts as a notional ob-ject with homogeneous Dirichlet (i.e. sound-soft, pres-sure release) boundary conditions scattering the desiredincident sound field S(x, ω). Denoting the scattered fieldwith Ssc(x, ω), the total sound field reads

Pt(x, ω) = S(x, ω) + Ssc(x, ω). (3)

The total sound field has to fulfill the Dirichlet boundarycondition on ∂V

Pt(x, ω)∣∣x=x0

= 0. (4)

The driving function for the ESA is given as the direc-tional gradient of the total sound field [4, eq.(17)]

D(x0, ω) = −∂Pt(x, ω)

∂n(x0), (5)

where

∂P (x, ω)

∂n(x0)= 〈∇xP (x, ω)

∣∣x=x0

,n(x0)〉 (6)

with 〈·, ·〉 denoting the scalar product and n(x0) the in-ward pointing normal vector on ∂V at position x0.

Scattering of a Line Source at an Edge

In order to apply the ESA, we need to consider the scat-tering of a line source at an edge with a Dirichlet bound-ary condition imposed. Solutions for this scattering prob-lem under Neumann (sound-hard) or Dirichlet boundaryconditions are presented in [5, 6, 7].It is convenient to elaborate this scattering problem withthe polar coordinate system. The geometry illustratedin Figure 1a is underlying the following considerations.The edge is located at the origin of the coordinate sys-tem. The outer angle of the edge is denoted by α. Theposition x of a field point is given in polar coordinatesby its angle ϕ and distance r from the origin. The sameholds for the position of the source xs /∈ V with ϕs andrs. Note that these angles have to be in the range 0 . . . 2π.As outlined in [6], the solution [7, eq.(5.89) and (5.99)]for scattering at a sound-hard edge can be reformulatedfor sound-soft scattering. This results in the following

Page 2: Improved Driving Functions for Rectangular …...Improved Driving Functions for Rectangular Loudspeaker Arrays Driven by Sound Field Synthesis Sascha Spors, Frank Schultz and Till

x

y

n

n

α

rs

xs ϕs rx

ϕ

V

0

(a) Geometry (b) Total sound field for f = 500 Hz, rs = 2.83 m,ϕs = 135o, N = 400

Figure 1: Sound-soft scattering of a line source at a two-dimensional edge for α = 32π.

modal expansion of the total sound field

Pt(ϕ, r, ω) = − jπ

α

∞∑n=0

1

εnsin(νϕ) sin(νϕs)

×

{Jν(ωc r)H

(2)ν (ωc rs) for r ≤ rs

Jν(ωc rs)H(2)ν (ωc r) for r > rs

, (7)

where ν = nπα and εn = 1 + δ[n]. Above series has to be

truncated for a practical implementation. In [7] a trun-cation to N ≈ d2ωc r

απ e elements is suggested. Figure 1b

exemplarily shows the total sound field for the scatter-ing of an incident line source at an edge with sound-softboundaries.

Driving Function for a Virtual Line Source

As outlined above, the derivation of the driving functionusing the ESA requires to calculate the directional deriva-tive of the total sound field. The geometry depicted inFigure 2 is underlying the following considerations. Theposition x0 on the secondary source distribution ∂V isdenoted by ϕ0 and r0. Evaluating the gradient of the to-tal sound field in polar coordinates and considering that

ϕ0 = 0

ϕ0 = α

α

(ϕ0, r0)

−~eϕ

~eϕV

Figure 2: Geometry used for derivation of the driving func-tion.

the normal vector onto the secondary source distributionhas no component in the radial direction yields

D(ϕ0, r0, ω) = −∂Pt(x, ω)

∂n(x0)= ±1

r

∂P (ϕ, r, ω)

∂ϕ

∣∣∣∣∣ϕ = ϕ0

r = r0

(8)for ϕ0 = {0, α}. The signs have to be chosen accord-ingly to the direction of the angular unit vector ~eϕ inconjunction with the inward pointing normal vector nof the secondary source distribution. The positive signholds for ϕ0 = 0 and the negative sign for ϕ0 = α.

The driving function is derived by introducing the totalsound field (7) into (8) leading to

D(ϕ0, r0, ω) = ∓ jπ

α

∞∑n=0

1

εncos(νϕ0) sin(νϕs)

ν

r0

×

{Jν(ωc r0)H

(2)ν (ωc rs) for r0 ≤ rs

Jν(ωc rs)H(2)ν (ωc r0) for r0 > rs

, (9)

for ϕ0 = {0, α}. The negative sign holds for ϕ0 = 0, thepositive sign for ϕ0 = α. Equation (9) constitutes thedriving function for two-dimensional synthesis of a linesource by a semi-infinite edge-shaped secondary sourcedistribution. Its derivation required no approximations.However, the series has to be truncated for a practicalimplementation.

Driving Function for a Virtual PointSource using 2.5-Dimensional Synthesis

So far we considered the two-dimensional synthesis of aline source using secondary line sources. From a percep-tual point of view, a line source is not desirable as virtualsource due to its frequency response. The synthesis ofa point source would be preferable. On the other hand,typical loudspeakers synthesize the field of a point sourcereasonable well. The do not synthesize the sound field ofa line source.

Page 3: Improved Driving Functions for Rectangular …...Improved Driving Functions for Rectangular Loudspeaker Arrays Driven by Sound Field Synthesis Sascha Spors, Frank Schultz and Till

4m

(a) Synthesized sound field

4m

0.0

dB

3

2

1

0

1

2

3

rela

tive le

vel (d

B)

(b) Level of synthesized sound field

4m

0.0

dB

3

2

1

0

1

2

3

rela

tive le

vel (d

B)

(c) Level of synthesized sound field WFS

Figure 3: Two-dimensional synthesis of a monochromatic line source with a frequency of 500 Hz using the ESA. The linesource is located at rs = 1.17 m, ϕs = 135o, the secondary source distribution is sampled with ∆x = 3 mm, the total length ofthe distribution is 60 m. The real value of the complex pressure field P (x, ω) is shown.

Let’s assume the synthesis of a point source by monopolesecondary sources located in a plane which is leveled withthe listeners ears. This constitutes a 2.5-dimensional(2.5D) synthesis problem [8] due to the fact that it is es-sentially a two-dimensional problem but using secondarysources with the characteristics of the three-dimensionalGreen’s function. In order to derive the driving functionfor this situation, the large argument approximation ofthe Hankel function [9]

− j

4H

(2)0 (

ω

c|x−x0|) ≈

√1

jωc·√

2π|x− x0| ·1

e−jωc |x−x0|

|x− x0|(10)

is used, which holds for ωc r � 1. This approximation

states that a line source can be approximated by a pointsource when applying filtering and an amplitude correc-tion. The amplitude correction depends on the field pointx and consequently on the listener position. Hence, wehave to consider a reference position xref.

Assuming perfect synthesis of a line source, (10) can beintroduced into the left- and right-hand side of (1). Iso-lating the point source contributions on both sides ofthe resulting equation, allows to derive the following cor-rected driving function for 2.5D synthesis

D2.5D(x0, ω) =

√|xref − x0||xref − xs|

·D2D(x0, ω). (11)

Results

Both the driving function for 2D, as well as for 2.5D syn-thesis of a line and point source are evaluated by numeri-cal simulations. First the case of a continuous secondarysource distribution is considered by simulating discretesecondary source distributions with a very high granular-ity. This way the effects of spatial sampling are assumedto be negligible.Figure 3 illustrates the two-dimensional synthesis of aline source by an edge-shaped secondary source distribu-tion using the driving function (9) with secondary line

sources (2). The sound field is shown in Figure 3a indi-cating accurate synthesis. Figure 3b shows the absolutevalue (level in dB) of the synthesized sound field. Thecolor scale has been normalized with respect to the levelof the virtual line source at the indicated reference posi-tion (×). The level decay of a line source is accuratelysynthesized throughout the entire listening area. The re-sult obtained for the same situation using a driving func-tion for two-dimensional WFS is also shown for referencein Figure 3c (refer to [2] for more results using WFS).Figure 4 illustrates the 2.5D synthesis of a point source byan edge-shaped secondary source distribution using thedriving function (11) with secondary point sources. Thetheory of 2.5D synthesis outlined in the previous sectionpredicts an amplitude mismatch for listener positions offthe reference position. Figure 4a shows the level of thesynthesized sound field. The color scale has been normal-ized with respect to the level of a virtual point source atthe indicated reference position (×). A level mismatch,which decays with increasing distance to the secondarysources can be observed. This is a consequence of thesecondary source type mismatch. The amplitude at thereference position for different distances rs of the virtualpoint source is shown in Figure 4b. This result showsthat the level of a point source is always reproduced cor-rectly at the reference position.The presented results have been derived by simulating aquasi-continuous secondary source distribution. In prac-tice, the distance between the secondary sources has tobe chosen larger. A detailed investigation of spatial sam-pling is out of the scope of this paper. However, prelimi-nary results indicate that the loudspeaker density has toincrease towards the edge.

Reproducible Research

All driving functions have been implemented in theSound Field Synthesis Toolbox for Python, Version0.3.1 [10]. The toolbox also includes driving functionsfor the synthesis of plane waves using the ESA. The codeto reproduce the figures in this paper has been made

Page 4: Improved Driving Functions for Rectangular …...Improved Driving Functions for Rectangular Loudspeaker Arrays Driven by Sound Field Synthesis Sascha Spors, Frank Schultz and Till

4m

0.0

dB

3

2

1

0

1

2

3

rela

tive le

vel (d

B)

(a) Level of synthesized sound field for rs = 1.17 m.

1 2 3 4 5 6 7 8 9 10

distance rs in m

10

8

6

4

2

0

2

rela

tive level in

dB

2.5D ESA

point source

(b) Level at reference position for different distances rs of thevirtual point source.

Figure 4: 2.5-dimensional synthesis of a monochromatic point source with a frequency of 500 Hz using the ESA. The pointsource is located at ϕs = 135o, the secondary source distribution is sampled with ∆x = 3 mm, the total length of the distributionis 60 m. The real value of the complex pressure field P (x, ω) is shown.

available as an electronic publication accompanying thispaper [11].

Conclusions and Outlook

We have derived novel driving functions for the two-dimensional synthesis of a line source and the 2.5-dimensional synthesis of a point source with a semi-infinite edge-shaped secondary source distribution. Forthe former case it was shown that a perfect synthesis ofthe desired sound field is possible. Consequently, the ar-tifacts which can be observed for WFS can attributed tothe assumption of a smooth secondary source distribu-tion ∂V in its foundations. In the 2.5-dimensional case,unavoidable amplitude artifacts are present which can beaccounted to the secondary source type mismatch.Following the same principles as outlined in this paper,driving functions for the synthesis of a plane wave havebeen derived. The show similar properties as the case ofvirtual line/point sources. The edge-shaped secondarysource distribution serves as a prototype for the edgespresent in rectangular setups. Refer to [12] for an exten-sion of the presented principles to a rectangular setup.

Acknowledgments

This work was conducted within the research group’Simulation and Evaluation of Acoustical Environments(SEACEN)’ supported by grant FOR 1557, DeutscheForschungsgemeinschaft (DFG) and within the FET-OPEN project TWO!EARS supported by the EU FETgrant ICT-618075.

References

[1] A. Berkhout, “A holographic approach to acousticcontrol,” Journal of the Audio Engineering Society,vol. 36, pp. 977–995, December 1988.

[2] S. Spors, F. Schultz, and H. Wierstorf, “Non-smoothsecondary source distributions in wave field synthe-

sis,” in German Annual Conference on Acoustics(DAGA), March 2015.

[3] E. Williams, Fourier Acoustics: Sound Radiationand Nearfield Acoustical Holography. AcademicPress, 1999.

[4] F. Fazi and P. Nelson, “Sound field reproduction asan equivalent acoustical scattering problem,” Jour-nal of the Audio Engineering Society, vol. 134, no. 5,pp. 3721–3729, November 2013.

[5] A. Rawlins, “Plane-wave diffraction by a rationalwedge,” Proceesings of the Royal Society of London.Series A, Mathematical and Physical, vol. 411, no.1841, pp. 265–283, June 1987.

[6] M. Moser, Technische Akustik. Springer, 2012.

[7] ——, Skript zur Vorlesung Theoretische Akustik.Technische Universitat Berlin, 2008.

[8] S. Spors, R. Rabenstein, and J. Ahrens, “The theoryof wave field synthesis revisited,” in 124th Conven-tion of the Audio Engineering Society, May 2008.

[9] “Digital library of mathematical functions,” http://dlmf.nist.gov/.

[10] S. Spors, M. Geier, and H. Wierstorf, “Soundfield synthesis toolbox for python, version 0.3.1,”2016. [Online]. Available: http://dx.doi.org/10.5281/zenodo.49356

[11] S. Spors, F. Schultz, and T. Rettberg, “Supplemen-tary data in support of the paper: Improved drivingfunctions for rectangular loudspeaker arrays drivenby sound field synthesis,” 2016. [Online]. Available:http://dx.doi.org/10.5281/zenodo.49449

[12] F. Winter and S. Spors, “A comparison of soundfield synthesis techniques for non-smooth secondarysource distributions,” in German Annual Confer-ence on Acoustics (DAGA), March 2016.