marl / pysox

Python wrapper around sox.
BSD 3-Clause "New" or "Revised" License
517 stars 80 forks source link

add input_array and sample_rate_in arguments to stat, stats and power… #146

Open Stephen-Tarr opened 3 years ago

Stephen-Tarr commented 3 years ago

Allow stat(), stats() and power_spectrum() to accept numpy arrays as well as file inputs.

lostanlen commented 10 months ago

Thanks for this PR. This looks great but is not backwards compatible since it modifies the semantics of positional arguments.

v1.5