Giter Club home page Giter Club logo

lsl4unity's Introduction

LSL4Unity is no longer in active development. The recommended way to use LSL in unity is to follow the Unity instructions in the liblsl-Csharp project. However, LSL4Unity still has some very useful examples of how to use LSL in Unity effectively.

LSL4Unity

A integration approach of the LabStreamingLayer Framework for Unity3D providing the following features.

  • Simple Editor Integration to lookup LSL streams.
  • Provides a ready to use Marker stream implementation.
  • Basic implementations and examples for LSL inlets and outlets.
  • Build hooks to copy correct platform library to the build directory

See the Project Wiki to get more details and installation instructions. Also, see the Tips!

LSL ships a C# wrapper for the LSL lib - why should I use an additional wrapper?

Good question - LSL4Unity tries to provide an enhanced user experience within Unity. It is intented to solve several issues,

  • instable framerates results in irregular sampling intervalls
  • plattform dependent compilation

when using an Game Engine - in this case Unity - as a data provider within your experiments.

We also try to provide an easy start with predefined implementations which supports a integration into the EEGLAB, BCILAB and MoBILAB ecosystem. Far from finished :X

Compatibility info

Currently LSL works only with x64 builds might work x64 and x86 builds of Unity3D projects! I got the whole thing running on both platforms under Windows.

Linux and MacOS X Support seems to be working at least in the editor but more testing is necessary. Contributions are welcome! Just try to build the example scene on your platform and report potential errors as issues!

Dependencies

In the current Version, the Asset package ships a sligthly modified version of the C# LSL API and the plugin binaries. The LabStreaming Layer is original created by SCCN und could be found at https://github.com/sccn/labstreaminglayer.

It's highly recommended to read the section about the Time Synchronization before building your own experiments!

lsl4unity's People

Contributors

xfleckx avatar cboulay avatar tstenner avatar haniawni avatar micuat avatar argzero avatar hectorcarral avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.