mix_recordings#

hmc_mir.tsm_tools.tsm_tools.mix_recordings(x1, x2)[source]#

Mixes two audio waveforms together.

Parameters:
  • x1 – first audio waveform

  • x2 – second audio waveform

Returns:

An audio waveform that is an average of the two waveforms. The length of the returned waveform is the minimum of the two lengths.