Metronome LKM: An open source virtual keyboard driver to measure experiment software latencies
Related Experiment Video
Updated: Feb 22, 2026

Uncovering Beat Deafness: Detecting Rhythm Disorders with Synchronized Finger Tapping and Perceptual Timing Tasks
Published on: March 16, 2015
Pablo Garaizar1, Miguel A Vadillo2
1Faculty of Engineering, University of Deusto, Avda. Universidades 24, 48007, Bilbao, Spain. garaizar@deusto.es.
Abstract:
Experiment software is often used to measure reaction times gathered with keyboards or other input devices. In previous studies, the accuracy and precision of time stamps has been assessed through several means: (a) generating accurate square wave signals from an external device connected to the parallel port of the computer running the experiment software, (b) triggering the typematic repeat feature of some keyboards to get an evenly separated series of keypress events, or (c) using a solenoid handled by a microcontroller to press the input device (keyboard, mouse button, touch screen) that will be used in the experimental setup. Despite the advantages of these approaches in some contexts, none of them can isolate the measurement error caused by the experiment software itself. Metronome LKM provides a virtual keyboard to assess an experiment's software. Using this open source driver, researchers can generate keypress events using high-resolution timers and compare the time stamps collected by the experiment software with those gathered by Metronome LKM (with nanosecond resolution). Our software is highly configurable (in terms of keys pressed, intervals, SysRq activation) and runs on 2.6-4.8 Linux kernels.
Related Concept Videos
Electronic Distance Measuring Instruments
Instrument Calibration
Analytical Balance Calibration
An analytical balance measures mass and requires regular calibration to...
Electro-mechanical Systems
A key component of the DC motor is the armature, a rotating circuit positioned within a magnetic field. As an electric current passes through the...
Measuring Reaction Rates

