diff --git a/scripts/pyaudio3dtools/audioarray.py b/scripts/pyaudio3dtools/audioarray.py index f548622242c0cab1dae59c21c2709a34c0788e39..7ebc12e2b00bc179867d6ed264b58d3838b4611a 100644 --- a/scripts/pyaudio3dtools/audioarray.py +++ b/scripts/pyaudio3dtools/audioarray.py @@ -379,8 +379,8 @@ def compare( wavfile.write(str(tmpfile_test), 48000, test_tmp) del test_tmp else: - wavfile.write(str(tmpfile_ref), 48000, ref) - wavfile.write(str(tmpfile_test), 48000, test) + wavfile.write(str(tmpfile_ref), 48000, ref.astype(np.int16)) + wavfile.write(str(tmpfile_test), 48000, test.astype(np.int16)) cmd = [ str(wdiff),