Open macaodha opened 10 years ago
Could add a simple button on the interface that would allow you to denoise the current spectrogram. The easiest thing to do is just subtract the median from each frequency band.
denoised_spec = spec - np.median(spec, 1)[..., np.newaxis]
Could add a simple button on the interface that would allow you to denoise the current spectrogram. The easiest thing to do is just subtract the median from each frequency band.
denoised_spec = spec - np.median(spec, 1)[..., np.newaxis]