aspcol.soundfieldcontrol.pressure_matching_sa

aspcol.soundfieldcontrol.pressure_matching_sa(Hv, Hc)

Frequency domain pressure matching to generate loudspeaker signals from virtual source signals

v is the virtual source sound pressure (num_freq, num_virtual_src, 1)

Parameters:
  • Hv (ndarray of shape (num_freq, num_mic, num_virtual_src)) – transfer functions from virtual sources to control points

  • Hc (ndarray of shape (num_freq, num_mic, num_ls)) – transfer functions from loudspeakers to control points

Returns:

beamformer w – which should be applied to the virutal source sound pressure as w @ v, where v : (num_freq, num_virtual_src, 1)

Return type:

ndarray of shape (num_freq, num_ls, num_virtual_source)

Notes

The beamformer is calculated as w = (H_c^H H_c)^{-1} H_c^H H_v. Definition can be found in (15) in [brunnstromSound2023]

References

[brunnstromSound2023] J. Brunnström, T. van Waterschoot, and M. Moonen, “Sound zone control for arbitrary sound field reproduction methods,” in European Signal Processing Conference (EUSIPCO), Helsinki, Finland, Sep. 2023.