Quantum optical signal processing in diamond