Text this: A Real-Time Hardware Experiment Platform for Closed-Loop Electrophysiology