Matlab code for all simulations contained in the book Jens Ahrens, Analytic Methods of Sound Field Synthesis, Springer-Verlag, Berlin/Heidelberg, 2012
See also http://www.soundfieldsynthesis.org/.
- Download Chebfun and unzip it into the Common folder. (You’ll need this only for those scripts that involve Gaussian sampling of the sphere.)
- Start Matlab and add the Common folder and its subfolders to the Matlab path (File -> Set path -> Add with subfolders -> then select the Common folder -> Save -> Close).
- Open the individual scripts and comment or uncomment the parameters that you want to use or that you do not want to use.
Some of my work is based on scripts by Benny Bernschütz and Sascha Spors. The Common package includes the doublefactorial function from the Special Functions math library by Paul Godfrey and the myspectrogram function by Julius Smith.
(CC BY-NC-SA 3.0)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.