For presenting stimuli we mainly use Presentation (Neurobehavioral Systems) and Psychtoolbox. MMN is an ERP response with negative polarity, calculated by subtracting the ERP to frequently occurring ...