It would probably be easier to license the use of SRS from srslabs to do this sort of correction.

Calvin