signal_viewer_lsl

Pub Version

Lab Streaming Layer (LSL) streams for signal_viewer.

LslProvider finds the streams on the network and shows each one in a tab. It also records streams to XDF, replays recordings as streams, forwards streams, and shares them with other networks or a browser through the LSL bridge. The LSL facade, recorder and bridge come from lsl_tools, which this package re-exports.

API documentation

Installation

flutter pub add signal_viewer signal_viewer_lsl

Usage

import 'package:signal_viewer/signal_viewer.dart';
import 'package:signal_viewer_lsl/signal_viewer_lsl.dart';

Future<void> main(List<String> args) => runSignalViewer(
  args,
  config: const ViewerConfig(title: 'My viewer', heading: 'My viewer'),
  providers: [LslProvider()],
);

LSL is available on desktop and mobile platforms. The package can be imported on the web, where LslBackend.supported is false and liblsl is not loaded.

Libraries

signal_viewer_lsl
Lab Streaming Layer for signal_viewer: an LslProvider that finds streams on the network and shows them in tabs, records, replays, forwards and bridges them. The LSL facade (lsl), recorder and bridge are package:lsl_tools, re-exported here.