#ifndef _MUSIC_DSP_COMPRESSOR_
#define _MUSIC_DSP_COMPRESSOR_

#ifdef __cplusplus
extern "C" {
#endif
	
	extern void compress
    (
        float*  wav_in,     // signal
        int     n,          // N samples
        double  threshold,  // threshold (percents)
        double  slope,      // slope angle (percents)
        int     sr,         // sample rate (smp/sec)
        double  tla,        // lookahead  (ms)
        double  twnd,       // window time (ms)
        double  tatt,       // attack time  (ms)
        double  trel        // release time (ms)
	);
	
#ifdef __cplusplus
}
#endif

#endif // _MUSIC_DSP_COMPRESSOR_
