CoChat

The lab streaming layer for synchronized multimodal recording

Open access
Kothe, Christian, Shirazi, Seyed Yahya, Stenner, Tristan, Medine, David, Boulay, Chadwick, Grivich, Matthew I., Artoni, Fiorenzo, Mullen, Tim, Delorme, Arnaud, Makeig, Scott · 2025 · Imaging Neuroscience

Published version of a preprint

Cited by 195

The DOI matches its Crossref record; 4 of the 4 references it cites were found in a registry or an index.

Abstract

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 network (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 environments, 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.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1162/imag.a.136

Cites

4 of 4 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 4 references

Research works printed but not linked: 36

  1. ANSI. (2017). Standard for consumer EEG file format. https://doi.org/10.3403/02957631 · doi:10.3403/02957631
  2. Appelhoff, 2021, In COM we trust: Feasibility of USB-based event marking, Behav Res Methods, 53, 2450, 10.3758/s13428-021-01571-z · DOI
  3. Artoni, 2017, Effective synchronization of EEG and EMG for mobile brain/body imaging in clinical settings, Front Hum Neurosci, 11, 652, 10.3389/fnhum.2017.00652 · DOI
  4. Blum, 2021, Pocketable labs for everyone: Synchronized multi-sensor data streaming and recording on smartphones with the lab streaming layer, Sensors (Basel), 21, 8135, 10.3390/s21238135 · DOI
  5. Breitwieser, 2011, TiA – Documentation of TOBI interface a, arXiv [cs.NI]
  6. Bustamante, 2021, ArmSym: A virtual human-robot interaction laboratory for assistive robotics, IEEE Trans Hum Mach Syst, 51, 568, 10.1109/THMS.2021.3106865 · DOI
  7. Cerone, 2022, Design and validation of a wireless body sensor network for integrated EEG and HD-sEMG acquisitions, IEEE Trans Neural Syst Rehabil Eng, 30, 61, 10.1109/TNSRE.2022.3140220 · DOI
  8. Chuang, 2021, Near-zero phase-lag hyperscanning in a novel wireless EEG system, J Neural Eng, 18, 10.1088/1741-2552/ac33e6 · DOI
  9. Ciliberti, 2017, Falcon: A highly flexible open-source software for closed-loop neuroscience, J Neural Eng, 14, 045004, 10.1088/1741-2552/aa7526 · DOI
  10. Clisson, 2019, Timeflux: An open-source framework for the acquisition and near real-time processing of signal streams, 8th International Brain-Computer Interface Conference
  11. Deering, D. S. E. (1989). Host extensions for IP multicasting. https://doi.org/10.17487/RFC1112 · DOI
  12. Delgan. (n.d.). Loguru: Python logging made (stupidly) simple. https://doi.org/10.1515/9783110473650-025 · doi:10.1515/9783110473650-025
  13. Dold, 2023, Project dareplane for closed-loop deep brain stimulation, Brain Stimul, 16, 319, 10.1016/j.brs.2023.01.591 · DOI
  14. Fielding, R. T., Nottingham, M., & Reschke, J. (n.d.). RFC 9110: HTTP semantics. https://doi.org/10.17487/rfc9110 · doi:10.17487/rfc9110
  15. Gramfort, 2013, MEG and EEG data analysis with MNE-python, Front Neurosci, 7, 267, 10.3389/fnins.2013.00267 · DOI · Paper page
  16. IEEE SA Standards Board. (2018). IEEE standard for information technology–portable operating system interface (POSIX(TM)) base specifications, issue 7. https://doi.org/10.1109/ieeestd.2018.8277153 · doi:10.1109/ieeestd.2018.8277153
  17. IEEE SA Standards Board. (2020). IEEE standard for a precision clock synchronization protocol for networked measurement and control systems. https://doi.org/10.1109/IEEESTD.2020.9120376 · DOI
  18. Iwama, 2022, Two common issues in synchronized multimodal recordings with EEG: Jitter and latency, bioRxiv
  19. Kahilakoski, 2025, NeuroSimo: An open-source software for closed-loop EEG- or EMG-guided TMS, bioRxiv
  20. Kang, 2023, Gotta go fast: Measuring input/output latencies of virtual reality 3D engines for cognitive experiments, arXiv [cs.HC]
  21. Kapoulkine, A. (n.d.). Pugixml: Light-weight, simple and fast XML parser for c++ with XPath support. https://doi.org/10.1007/978-1-4302-0829-7_2 · doi:10.1007/978-1-4302-0829-7_2
  22. Kohlhoff, C. (n.d.). Boost.asio - 1.82.0. https://doi.org/10.32614/cran.package.asioheaders · doi:10.32614/cran.package.asioheaders
  23. Koranne, 2011, Boost c++ libraries, 127, 10.1007/978-1-4419-7719-9_6 · doi:10.1007/978-1-4419-7719-9_6
  24. Kothe, 2018, Strum: A new dataset for neuroergonomics research, 2018 IEEE International Conference on Systems, Man, and Cybernetics, 77
  25. Levitt, 2022, EEG-LLAMAS: An open source, low latency, EEG-fMRI neurofeedback platform, bioRxiv
  26. Lopes, 2015, Bonsai: An event-based framework for processing and controlling data streams, Front Neuroinform, 9, 7, 10.3389/fninf.2015.00007 · DOI · Paper page
  27. Maidhof, 2014, Combining EEG, MIDI, and motion capture techniques for investigating musical performance, Behav Res Methods, 46, 185, 10.3758/s13428-013-0363-9 · DOI
  28. Makeig, 2009, Linking brain, mind and behavior, Int J Psychophysiol, 73, 95, 10.1016/j.ijpsycho.2008.11.008 · DOI · Paper page
  29. Martin, J., Burbank, J., Kasch, W., & Mills, D. L. (2010). RFC 5905: Network time protocol version 4: Protocol and algorithms specification. https://doi.org/10.17487/rfc5905 · DOI · Paper page
  30. Merino-Monge, 2020, An easy-to-use multi-source recording and synchronization software for experimental trials, IEEE Access, 8, 200618, 10.1109/ACCESS.2020.3034770 · DOI
  31. Miziara, 2025, A comparative study to assess synchronisation methods for combined simultaneous EEG and TMS acquisition, Sci Rep, 15, 12816, 10.1038/s41598-025-97225-7 · DOI
  32. Möller, 2008, HLA evolved - A summary of major technical improvements
  33. Santamaría-Vázquez, 2023, MEDUSA©: A novel python-based software ecosystem to accelerate brain-computer interface and cognitive neuroscience research, Comput Methods Programs Biomed, 230, 107357, 10.1016/j.cmpb.2023.107357 · DOI
  34. Schalk, 2004, BCI2000: A general-purpose brain-computer interface (BCI) system, IEEE Trans Biomed Eng, 51, 1034, 10.1109/TBME.2004.827072 · DOI · Paper page
  35. Shirinpour, 2020, Experimental evaluation of methods for real-time EEG phase-specific transcranial magnetic stimulation, J Neural Eng, 17, 046002, 10.1088/1741-2552/ab9dba · DOI
  36. Weber, 2021, A structured approach to test the signal quality of electroencephalography measurements during use of head-mounted displays for virtual reality applications, Front Neurosci, 15, 733673, 10.3389/fnins.2021.733673 · DOI

Cited by

Metadata

Authors
Kothe, C., Shirazi, S. Y., Stenner, T., Medine, D., Boulay, C., Grivich, M. I., Artoni, F., Mullen, T., Delorme, A., & Makeig, S.
Venue
Imaging Neuroscience
Publisher
MIT Press
Published
2025
Volume
3
ISSN
2837-6056 (ISSN-L)
OpenAlex
W4413273653
Cited by
195
References
4
FWCI
93.73
Type
journal article
Language
en
Open access
diamond
Funders
  • Army Research Laboratory (W911NF-10-2-0022)
  • NINDS (R01NS047293)

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.