aspcol.soundfieldcontrol.pressure_matching_szc

aspcol.soundfieldcontrol.pressure_matching_szc(Rb, Rd, rb, mu, reg=0)

Frequency-domain pressure matching for sound zone control

Parameters:
  • Rb (ndarray of shape (num_freq, num_ls, num_ls)) – spatial covariance associated with the bright zone

  • Rd (ndarray of shape (num_freq, num_ls, num_ls)) – spatial covariance associated with the dark zones

  • rb (ndarray of shape (num_freq, num_ls, num_virt_src)) – cross correlation between paths to bright zone and virtual source paths

  • mu (int) – non-negative, weights effort between error in dark and bright zones

  • reg (float) – non-negative, applies l2 regularization to the loudspeaker effort, by adding reg * np.eye() to the dark zone spatial covariance

Returns:

w – the control filter used to generate loudspeaker signals.

Return type:

ndarray of shape (num_freq, num_ls, num_virt_src)