Spectral subtraction library