aspcol.soundfieldcontrol

Functions

acc(Rb, Rd[, reg])

Frequency-domain acoustic contrast control for sound zone control

acc_time(Rb, Rd[, reg_param])

Time domain acoustic contrast control

acc_time_all_zones(R[, reg_param])

Time-domain acoustic contrast control for all zones

apply_power_vec(w, p)

w is (num_freq, num_zones, num_sources), or (num_zones, bf_len)

beamformer_vec_to_ir(bf_vec, num_ls)

Transforms a beamformer vector into a shape more appropriate for a filter impulse response

extract_power_vec(w)

Opposite of apply_power_vec This function takes a non-unit-vector w and returns a unit vector w_norm along with the power p such that apply_power_vec(w_norm, p) = w

fpaths_to_spatial_cov(arrays, fpaths, ...)

utility function to be used with aspsim package.

freq_to_time_beamformer(w, num_freqs)

Tranforms a frequency domain beamformer / control filter to a time domain impulse response

normalize_beamformer(w)

Normalizes the beamformer vector w_k

normalize_system(R, noise_pow)

Normalize spatial covariance matrix by noise powers to get

paths_to_spatial_cov(arrays, source_name, ...)

utility function to be used with aspsim package.

paths_to_spatial_cov_delta(arrays, ...)

utility function to be used with aspsim package.

power_alloc_qos_downlink(w, R, noise_pow, ...)

pressure_matching_sa(Hv, Hc)

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

pressure_matching_szc(Rb, Rd, rb, mu[, reg])

Frequency-domain pressure matching for sound zone control

rir_to_szc_cov(rir, ctrlfilt_len)

Takes room impulse responses and computes a spatial covariance matrix for sound zone control

solve_power_weighted_qos_uplink(R, ...[, ...])

Calculates a control filter and power allocation that solves the signal-weighted uplink Quality of Service problem in the time-domain

spatial_cov(ir, source, filt_len, num_samples)

Computes time-domain spatial covariance matrix from room impulse responses

spatial_cov_delta(ir, filt_len)

Calculates the spatial covariance matrices as if the input signal is a delta ir is the default shape given by arrays.paths (num_ls, num_mics, ir_len)

spatial_cov_freq(rir_freq)

Calculates spatial covariance matrices from frequency domain room impulse responses

spatial_cov_freq_kernel(krr_params, pos_mic, ...)

Calculates spatial covariance matrices in the frequency domain using kernel interpolation

spatial_cov_freq_superpos(Hb, Hd[, d])

Calculates spatial covariance matrices from transfer function matrices

sum_pow_of_mat(bf_mat)

bf_mat is the beamformer matrix obtained from semidefinite relaxation,

sum_pow_of_vec(bf_vec)

sum_weighted_pow(bf_vec, weighting_mat)

szc_transform_mwf(Rb, Rd[, mu])

Calculates the linear transformation to apply to loudspeaker signals to obtain sound zones.

szc_transform_mwf_gevd(Rb, Rd, rank[, mu])

Calculates the linear transformation to apply to loudspeaker signals to obtain sound zones.

vast(Rb, Rd, rb, mu, rank[, reg])

Frequency domain variable span trade-off filter for sound zone control

Classes

PressureMatchingWOLA(audio_src, Hv, Hc, ...)

Sound field reproduction with pressure matching in the WOLA domain