@@ -323,6 +323,40 @@ sound_field_mono_nfchoa([-2 2],[-2 2],0,[0 -1 0],'pw',800,conf);
323323![ Image] ( doc/img/sound_field_nfchoa_25d.png )
324324
325325
326+ #### Local Wave Field Synthesis
327+
328+ In Near-Field Compensated Higher Order Ambisonics aliasing frequency in a small
329+ array inside the listening area can be increased by limiting the used order. A
330+ similar outcome can be achoieved in Wave Field Synthesis by applying so called
331+ local Wave Field Synthesis. In this case the original loudspeaker array is
332+ driven by Wave Field Synthesis to create a virtual loudspeaker array consisting
333+ of focused sources which can then be used to create the desired sound field in a
334+ small area.
335+ The settings are the same as for Wave Field Synthesis, but a new struct
336+ <code >conf.localsfs</code > has to be filled out, which for example provides the
337+ settings for the desired position and form of the local area with higher
338+ aliasing frequency.
339+
340+ ``` Matlab
341+ conf = SFS_config_example;
342+ conf.resolution = 1000;
343+ conf.dimension = '2D';
344+ conf.secondary_sources.geometry = 'box';
345+ conf.secondary_sources.number = 4*56;
346+ conf.secondary_sources.size = 2;
347+ conf.localsfs.vss.size = 0.4;
348+ conf.localsfs.vss.center = [0 0 0];
349+ conf.localsfs.vss.geometry = 'circular';
350+ conf.localsfs.vss.number = 56;
351+ % sound_field_mono_localwfs(X,Y,Z,xs,src,f,conf);
352+ sound_field_mono_localwfs([-1 1],[-1 1],0,[1.0 -1.0 0],'pw',7000,conf);
353+ axis([-1.1 1.1 -1.1 1.1]);
354+ %print_png('img/sound_field_localwfs_2d.png');
355+ ```
356+
357+ ![ Image] ( doc/img/sound_field_localwfs_2d.png )
358+
359+
326360#### Stereo
327361
328362The Toolbox includes not only WFS and NFC-HOA, but also some generic sound field
0 commit comments