Filter abrupt change in signal

Skye's icon

Hi,

I have an audio signal coming from an adc~ object. The signal consists mostly of human voice but can have some hand claps or similar events that create an abrupt change in amplitude.

I want to filter out those abrupt events from the signal in real-time. (and output it to dac~)

Do you have any ideas on how it can be done?

Thanks a lot,

Cheers