liblsl-Csharp
liblsl-Csharp copied to clipboard
push_sample() will send only one element of an array, while push_chunk() works fine
reproduction code:
float[] sample = new float[] { 1.0f, 2.0f, 3.0f, 2.0f, 3.0f };
//float[,] matrix = new float[,]{{ 1.0f, 2.0f, 3.0f,2.0f, 3.0f}};
lslOutlet.push_sample(sample);
//lslOutlet.push_chunk(matrix);
actual sample frequency of push_sample() case which is tested with mne-lsl client is 1/5 of push_chunk() case
Why it is not a problem with mne-lsl? because with same array pushe_sampled by lsl python code, mne-lsl works fine.