About SPADE

Audio Declipping

Clipping, also known as saturation, is a comon phenomenon leading to sometimes seriously distorted audio recordings. Declipping consists in performing the inverse process, to restore saturated audio recordings and improve their quality.


Original signal

Clipped signal

Declipped signal using A-SPADE

SPADE, the SParse Audio DEclipper

SPADE is a declipping algorithm developed by PANAMA (a joint project-team between INRIA and CNRS). It is based on on the expression of declipping as a linear inverse problem and the use of analysis (A-SPADE) or synthesis (S-SPADE) sparse regularization in the time-frequency domain.
To the best of our knowledge SPADE achieves state-of-the-art declipping quality.

Related publications

Listen and compare

A good way to get an idea of the declipping performance of SPADE is to listen to some examples.

Results for different input clipping levels

Click on the examples below to compare A-SPADE with another recent algorithm, Consistent IHT, as well as with the Adobe Audition DeClipper (TM) software.

Two example audio tracks are clipped to prescribed SDR (Signal to Distortion Ratio) values and processed by the different algorithms. The original (unclipped) tracks and the clipped versions are given as references along with the achieved declipping results.

Instrumental sample Pop song sample
Original
Original
INPUT SDR1 dB3 dB5 dB7 dB10 dBINPUT SDR1 dB3 dB5 dB7 dB10 dB
Clipped
Clipped
Adobe Audition
Adobe Audition
Consistent IHT
Consistent IHT
A-SPADE
A-SPADE

Results for different types of music samples

A second demonstration compares the declipping performance of three algorithms: Consistent IHT, A-SPADE and S-SPADE).

Ten example audio tracks are clipped to 3dB SDR and processed by the different algorithms. The original (unclipped) tracks and the clipped versions are given as references along with the processing results achieved using another commercial software.

Audio examples12345678910
Original
Clipped
Commercial software
Consistent IHT
A-SPADE
S-SPADE

Test it with your own files

To test A-SPADE, you can either download its Matlab implementation that allows reproducing the experiments of the paper A-SPADE, or use Inria’s software demonstration platform, A||go, to test it on the web.

Download the Matlab implementation of A-SPADE

Download Matlab code for tight frame-based A-SPADE (available under AGPL-v3 licence) here.

Warning: this software version is limited to 64 bits per samples natively clipped .wav files (input files have to be clipped in 64 bits PCM and not transcoded from lossy format for this software version). This limitation is removed in the online version presented below.

Test A-SPADE from your web browser

To test the online demo of A-SPADE on A||go, INRIA’s software demonstration platform:

This demonstration version handles most audio files formats (.wav, .mp3, .mp4, .m4a, .ogg, .flac) and all common bit depth values.

Limitation: This online demo only processes 30 seconds of the two first channels of the provided clipped input file. If you are interested by other use cases, please use this form to contact us.

Contact us

For further information about this technology, improvement suggestions, commercial usage or anything else related to this work, please contact us using following form: