Skip to content
Commit a400a8a7 authored by norvell's avatar norvell
Browse files

Reverted tests/scale_pcm.py

parent c21b3f17
Loading
Loading
Loading
Loading
  • Maintainer

    I am confused why this was necessary. What was the breaking thing here @norvell ?

  • Author Maintainer

    Hi @kiene,

    I agree, these fixes look like simple formatting and cleanup. I debugged a little bit and I think the files were populated but nothing happened when line after that was run. Since the old version worked I just reverted and thought we could look at it later.

  • Author Maintainer

    Hi @kiene,

    I did some debugging and what broke the script was the removal of import pyivastest. I am still confused why this broke the script. There are several tools in that folder and I did not look into what is creating this difference. There is no error message when you remove this line, it just exits without any printout and without any scaling applied.

  • Maintainer

    uff

  • Author Maintainer

    It seems this line in def scale_file(file1, file2, factor=1.0) exits without the import above.

    s1, fs = pyaudio3dtools.audiofile.readfile(file1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment