Text this: A compact dual-grating wavemeter using signal processing