mvidaldp / lsl_in_unity

Unity 2D project including changing background color and click audio playing with LabStreamingLayer for data streaming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lsl_in_unity

Simple Unity 2D project with changing background color and click audio playing using LabStreamingLayer. This project is a very basic example meant for audio and video latency testing of EEG recordings in VR experiments using the LSL library for data streaming.

Color changing from black to white sample:

Changing Background

To customize the playing audio, the changing colors or the exposition or repetition times, as well as how the data is sent via LSL, modify the script: Assets/Scripts/Controller.cs

Use the LSL App LabRecorder while running the build or playing the scene on the editor to see and record the LSL data streams.

For the further latency analysis check out this repo: https://github.com/mvidaldp/lsl_latency_analysis

About

Unity 2D project including changing background color and click audio playing with LabStreamingLayer for data streaming

License:MIT License


Languages

Language:C# 100.0%