A multichannel electroencephalogram viewer and recorder with real-time signal processing