pyroomacoustics.experimental.delay_calibration module

class pyroomacoustics.experimental.delay_calibration.DelayCalibration(fs, pad_time=0.0, mls_bits=16, repeat=1, temperature=25.0, humidity=50.0, pressure=1000.0)

Bases: object

run(distance=0.0, ch_in=None, ch_out=None, oversampling=1)

Run the calibration. Plays a maximum length sequence and cross correlate the signals to find the time delay.

Parameters
  • distance (float, optional) – Distance between the speaker and microphone

  • ch_in (int, optional) – The input channel to use. If not specified, all channels are calibrated

  • ch_out (int, optional) – The output channel to use. If not specified, all channels are calibrated