timsainb / noisereduce

Noise reduction in python using spectral gating (speech, bioacoustics, audio, time-domain signals)
MIT License
1.41k stars 230 forks source link

Document content of `y_noise` arg may be misunderstanding #69

Open fncokg opened 2 years ago

fncokg commented 2 years ago

In the document string of the y_noise argument, it said:

y_noise : np.ndarray [shape=(# frames,) or (# channels, # frames)], real-valued noise signal to compute statistics over (only for non-stationary noise reduction).

But actually, an array of stationary noise can be passed to and well processed by the function(when stationary==True). Am I right?

nuniz commented 11 months ago

Hi, You're right, the docstring text should be changed to "stationary" instead of "non-stationary". Thanks for pointing this out!