Spin decoherence in nanodiamond and digital signal processing for quantum sensing and magnetometry