Getting marker/trigger data with MNE_LSL

Hello, I am trying to use StreamLSL and PlayerLSL from mne_lsl in order to implement a mock ā€˜real-timeā€™ visualization. I was able to mock stream the data with Player, but I couldnā€™t find a way to get hold of the marker data that was recorded with the data.

Is there a way to stream the marker data as well? Or do I need to just load the marker data before streaming the data?

Thank you for any help in advance!

  • MNE version: 1.6.0
  • MNE_LSL version: 1.1.1
  • operating system: e.g. macOS 14.2.1

You should look at the annotations parameter of the PlayerLSL API.

If your file that you are wanting to stream does not have annotations, you should first add them. This may come in handy:

1 Like