groakat / AudioTagger

5 stars 2 forks source link

Add spectrogram denoising #53

Open macaodha opened 10 years ago

macaodha commented 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]