Package-level declarations

Types

Link copied to clipboard
class BrainAccessLslOutlet(streamName: String, sourceId: String, metadata: StreamMetadata, sampleTimes: (Long) -> Long?? = null)

An LSL StreamOutlet for one BrainAccess device, fed EegChunks, following the BrainAccess Board LSL contract v1: a double64 stream of type EEG at the device sample rate whose header carries the full StreamMetadata (identity, serial number, electrode positions and hardware, reference/ground, versions, …) in the XDF convention, so Board, LabRecorder, pyxdf and MNE read it without BrainAccess code.

Functions

Link copied to clipboard
fun DeviceSession.streamToLsl(scope: CoroutineScope, outputMode: OutputMode = OutputMode.NORMAL, software: Map<String, String> = emptyMap(), digitalInput: Boolean = false): Job

Stream this device into a fresh LSL outlet on scope; returns the pump Job.