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:
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