Spiking Neural Networks for Real-Time Processing of Brain Signals