Treffer: The Lab Streaming Layer for Synchronized Multimodal Recording.

Title:
The Lab Streaming Layer for Synchronized Multimodal Recording.
Source:
BioRxiv : the preprint server for biology [bioRxiv] 2025 Jul 14. Date of Electronic Publication: 2025 Jul 14.
Publication Type:
Journal Article; Preprint
Language:
English
Journal Info:
Country of Publication: United States NLM ID: 101680187 Publication Model: Electronic Cited Medium: Internet ISSN: 2692-8205 (Electronic) Linking ISSN: 26928205 NLM ISO Abbreviation: bioRxiv Subsets: PubMed not MEDLINE
Comments:
Update in: Imaging Neurosci (Camb). 2025 Sep 12;3:IMAG.a.136. doi: 10.1162/IMAG.a.136.. (PMID: 40959706)
Entry Date(s):
Date Created: 20240226 Date Completed: 20251008 Latest Revision: 20251008
Update Code:
20251008
PubMed Central ID:
PMC10888901
DOI:
10.1101/2024.02.13.580071
PMID:
38405712
Database:
MEDLINE

Weitere Informationen

Accurately recording the interactions of humans or other organisms with their environment and other agents requires synchronized data access via multiple instruments, often running independently using different clocks. Active, hardware-mediated solutions are often infeasible or prohibitively costly to build and run across arbitrary collections of input systems. The Lab Streaming Layer (LSL) framework offers a software-based approach to synchronizing data streams based on per-sample time stamps and time synchronization across a common local area netowrk (LAN). Built from the ground up for neurophysiological applications and designed for reliability, LSL offers zero-configuration functionality and accounts for network delays and jitters, making connection recovery, offset correction, and jitter compensation possible. These features can ensure continuous, millisecond-precise data recording, even in the face of interruptions. In this paper, we present an overview of LSL architecture, core features, and performance in common experimental contexts. We also highlight practical considerations and known pitfalls when using LSL, including the need to take into account input device throughput delays that LSL cannot itself measure or correct. The LSL ecosystem has grown to support over 150 data acquisition device classes and to establish interoperability between client software written in several programming languages including C/C++, Python, MATLAB, Java, C#, JavaScript, Rust, and Julia. The resilience and versatility of LSL have made it a major data synchronization platform for multimodal human neurobehavioral recording, now supported by a wide range of software packages including major stimulus presentation tools, real-time analysis envirnoments, and brain-computer interface applications. Beyond basic science, research, and development, LSL has been used as a resilient and transparent back-end in deployment scenarios including interactive art installations, stage performances, and commercial products. In neurobehavioral studies and other neuroscience applications, LSL facilitates the complex task of capturing organismal dynamics and environmental changes occurring within and across multiple data streams on a common timeline.