lsl streaming?

francescacoo
Posts: 1
Joined: Sat Nov 23, 2019 4:19 pm

lsl streaming?

Post by francescacoo »

Hi,
I have been reading this topic -> viewtopic.php?f=15&t=142&sid=45575b318a ... 6&start=30

not sure if lsl has been added / is in progress?

If not, anyone has any suggestion?

I can receive the OSC messages fine, I need to stream them as LSL.

I am reading and I saw few scripts, but haven't found anything working yet (that I could make work lol)

Thanks!
User avatar
James
Site Admin
Posts: 1110
Joined: Wed Jan 02, 2013 9:06 pm

Re: lsl streaming?

Post by James »

Lsl is still on my list
Giorgio Ganis
Posts: 2
Joined: Sun Dec 01, 2019 8:53 am

Re: lsl streaming?

Post by Giorgio Ganis »

There is some potentially useful Python code for LSL streaming here: https://github.com/alexandrebarachant/muse-lsl (Note that the code is supposed to work with Muse 2 as well, though it says otherwise in some parts of the documentation).
debra peri
Posts: 9
Joined: Sun Oct 13, 2019 3:52 pm

Re: lsl streaming?

Post by debra peri »

Giorgio Ganis wrote: Sun Dec 01, 2019 8:56 am There is some potentially useful Python code for LSL streaming here: https://github.com/alexandrebarachant/muse-lsl (Note that the code is supposed to work with Muse 2 as well, though it says otherwise in some parts of the documentation).
This code has been very helpful! Especially considering Interaxon's short-sighted, ridiculous decision to pull the SDK out from underneath developers who want to create products that support Muse devices.


--Debra
User avatar
Peter Gamma
Posts: 180
Joined: Sat Jun 29, 2019 11:02 am
Location: Switzerland
Contact:

Re: lsl streaming?

Post by Peter Gamma »

1. SDK for Muse 2016 can be obtained from interaxon again, but only for chosen people:

https://choosemuse.com/development/

"If you are hosting a hackathon, an academic or institutional research project, or working on an educational application for neuroscience or neurotech, we will continue to offer support for your projects to the best of our ability (including the legacy SDK for Muse 2016). Please reach out to our R&D team at research@choosemuse.com."

2. There is a project from Arnauld Delorme, neuroscientist and EEGLAB developer, started that can do LSL streaming https://github.com/arnodelorme/neurofeedbacklab.

https://www.youtube.com/watch?v=omn7y3TIsGc&t=471s

Arnaud Delorme: «There is a project I started that can do that https://github.com/arnodelorme/neurofeedbacklab. It might need some minor tweaking to work with the Muse and also some documentation if you do not know how to stream the Muse over LSL (LabStreamingLayer). See also this other project for 3-D artistic display https://github.com/arnodelorme/muse_brain_display. This one as well could potentially stream real time Muse data with some minor tweaking (using code from the first one. «

3. @ James Clutterbuck's

Great that Lsl is still on your list. Lab Streaming Layer (LSL) is a standard which is widely accepted among scientist and also among all other people. It can be used in MATLAB, but also in Python. Lab Streaming Layer (LSL) support for the Mind Monitor makes the Mind Monitor more helpful for live-streaming applications like BCILAB.

4. I m looking for contributors to restore streaming to MATLAB, Python and other desktop applications for ANT+ sensors (e.g. GARMIN watches). The Muse 2 has a heart rate sensor. But as far as I know there is no SDK support for it. Heart rate sensor data could be taken from this solution:

https://github.com/PeterGamma/What-happ ... etrack.io-

All kind of people are wellcome!
Last edited by Peter Gamma on Thu Jan 02, 2020 10:41 am, edited 1 time in total.
debra peri
Posts: 9
Joined: Sun Oct 13, 2019 3:52 pm

Re: lsl streaming?

Post by debra peri »

LSL is really nice! It would be nice for Mind Monitor to support it (and the Muse app but it appears Interaxon is more interested in closed/proprietary systems).

Cool projects from Arnaud Delorme, thanks for the links!
User avatar
Peter Gamma
Posts: 180
Joined: Sat Jun 29, 2019 11:02 am
Location: Switzerland
Contact:

Re: lsl streaming?

Post by Peter Gamma »

debra peri wrote: Thu Dec 05, 2019 1:07 pm it appears Interaxon is more interested in closed/proprietary systems.
When we read this text:

"If you are hosting a hackathon, an academic or institutional research project, or working on an educational application for neuroscience or neurotech, we will continue to offer support for your projects to the best of our ability (including the legacy SDK for Muse 2016). Please reach out to our R&D team at research@choosemuse.com."

https://choosemuse.com/development/

I asked myself. Does Interaxon want to get rid of software which rivals to their android software with the singing birds?

I was frustrated, when Interaxon killed the Swartz Center for Computational Neuroscience LSL interface. Every other company would have been happy about an LSL interface developed by the Swartz Center for Computational Neuroscience for free.

For me personally, it is a mistery, why Interaxon does not contact the Swartz Center for Computational Neuroscience to negotiate about a fix of the LSL interface which works for all Muse headbands.The Swartz Center for Computational Neuroscience has very expierienced software developers. And LSL has a list of supported devices. The Muse headband is on the list. But I m not sure, if it works for all kinds of Muses. Why does Interaxon not try to cooperate with the Swartz Center for Computational Neuroscience ? Both sides could profit from it.

When you are a software developer, did you think about contacting the Interaxon support? Even when the SDK is not supported anymore officially, when you have an interesting project, did you try to negotiate with Interaxon?
Last edited by Peter Gamma on Sat Jan 04, 2020 8:54 am, edited 4 times in total.
User avatar
Peter Gamma
Posts: 180
Joined: Sat Jun 29, 2019 11:02 am
Location: Switzerland
Contact:

Re: lsl streaming?

Post by Peter Gamma »

Here is a list of the Supported Devices and Tools for lab streaming layer:

https://labstreaminglayer.readthedocs.i ... vices.html

InteraXon Muse is on the list:

There is also an example use with Matlab:

https://labstreaminglayer.readthedocs.i ... _with_muse

But this page does not exist yet.

There was an example use with Matlab, but it was based on the Muse SDK. I wrote an issue at the Swartz Center for Computational Neuroscience where LSL is located about the subject, and informed them, that the Muse SDK is not available for download anymore. Now, there is no example use with Matlab anymore. This is a misery.

Is it not also in the interest of Interaxon, that there is an officially supported LSL interface of the Muse headband for all models of the Muse headband?
User avatar
Peter Gamma
Posts: 180
Joined: Sat Jun 29, 2019 11:02 am
Location: Switzerland
Contact:

Re: lsl streaming?

Post by Peter Gamma »

I complained also in the Interaxon forum that the Muse SDK is necessary for LSL support, when it was not there anymore. And I asked them to bring it back. Now it is there again, but only for chosen people when you contact the Interaxon support.
User avatar
Peter Gamma
Posts: 180
Joined: Sat Jun 29, 2019 11:02 am
Location: Switzerland
Contact:

Re: lsl streaming?

Post by Peter Gamma »

Here is the issue I wrote at the Swartz Center for Computational Neuroscience:

https://github.com/sccn/labstreaminglayer/issues/30

Now, the from the Swartz Center for Computational Neuroscience published example how to connect to LSL streams on Matlab is not there anymore:

https://github.com/sccn/labstreaminglayer/wiki

But I wrote there an instruction which should work to use LSL in MATLAB which should work for all models of the Muse headband:

https://github.com/sccn/labstreaminglayer/issues/30

But this is not an officially supported and tested solution.

Wy does Interaxon not cooperate with the Swartz Center for Computational Neuroscience to find an officially supported solution?
Last edited by Peter Gamma on Wed Dec 25, 2019 5:57 pm, edited 2 times in total.
Post Reply