Getting rid of the Musty Smell

Is the carpet out or new? If not it might be th carpet.The best way is to get the smell out is to get them out in the sun. Hard to do in the winter. Also if you have the seats torn all the way down,blast and respray the seat frames.Fresh paint will smell better than musty.Combined with new foam and covers you'll have anew car smell goin.