OpenViBE Documentation 3.6.0
|
The signal stream concatenation box reads multiple streams in parallel, and produces a single stream that is the concatenation of all inputs.
The input streams must share the same characteristics : sampling frequency, number of channels, sample count per block.
User can specify a time-out value beyond which a stream is considered as finished if no samples are received.
If user wants a specific part of a given stream, he can specify a stimulation used as end-of-stream trigger.
The status stimulation output deliver the stimulation OVTK_StimulationId_EndOfFile when the concatenation is finished. You can connect this output to a BoxAlgorithm_PlayerController to script your concatenation easily.
The box has a pair of input (signal, stimulation) per source.
Signal stream from source #1.
Stimulation stream from source #1.
Signal stream from source #2.
Stimulation stream from source #2.
Concatenated signal stream.
Concatenated stimulation stream.
Status stimulation stream (sends OVTK_StimulationId_EndOfFile on success).
A stimulation setting is added for each input pair.
If no samples are received beyond this time-out value, a stream is considered as finished.
Stimulation that triggers the end-of-stream for source #1.
Stimulation that triggers the end-of-stream for source #2.
This box is mainly designed to concatenate multiple signal files.
For example, you have 10 sessions of training and you want to train a classifier on the whole set of data.
You can use the Signal Stream Concatenation to produce one EEG file containing the 10 sessions,
and then feed a Classifier trainer box with it.