Manual on the Code of the Book Entitled “Acoustic Waves Generated by Parametric Array Loudspeakers”
1 Introduction
This document introduces the usage of the code package, which is a supplementary material for the book “Acoustic Waves Generated by Parametric Array Loudspeakers”. All demos and functions were tested by MATLAB R2022b installed on a personal computer with an AMD Ryzen Threadripper 3960X central processing unit (CPU) with 256 GB of random access memory (RAM).
1.1 Installation
Steps:
-
1.
Download all codes from GitHub: JiaxinZhong/AWPAL
-
2.
Run the script AWPAL.m at first to add subfolders to the path.
2 Demo Scripts and Core Functions
2.1 Direct Integration Method (DIM)
2.1.1 Ultrasound Field
2.1.1.1 General Solution
Function: DIM3D.m
The calculation utilizes the Rayleigh integral reading that [1, Eq. (2.39)]
(1) |
2.1.2 Audio Sound Field
2.1.2.1 General Solution
2.1.3 Function: PalDIM3D.m
(2) |
2.1.3.1 On-Axis
Demo: PalDIM3D_CircSrc_Axis_Demo.m
Figure 1 is generated by this demo file. The data is stored in file PalDIM3D_CircSrc_Axis_Demo_Uniform.mat.

Figure 2 is generated by this demo file. The data is stored in file PalDIM3D_CircSrc_Axis_Demo_Focus.mat.

Function: PalDIM3D_CircSrc_Axis.m
Calculate the audio sound field on the axis using the DIM. The source profile is assumed to be axisymmetric in the azimuthal direction, i.e., is independent of . The formula used in this function is
(3) |
2.2 Spherical Wave Expansion (SWE)
2.2.1 Function: SWE3D_RadialInt.m
Calculate
(4) |
where and .
3 Summary of Equations
3.1 Source Profile
The focusing profile reads
(5) |
where denotes the location of the focal point.
4 Known Issues
References
- [1] (2024) Acoustic waves generated by parametric array loudspeakers (to be published). CRC Press. Cited by: ¶2.1.1.1.
- [2] (2022) Low frequency audio sound field generated by a focusing parametric array loudspeaker. IEEE/ACM Trans. Audio Speech Lang. Process. 30, pp. 3098–3109. External Links: ISSN 0001-4966, Document Cited by: Figure 1, Figure 2.