liblsl-Csharp icon indicating copy to clipboard operation
liblsl-Csharp copied to clipboard

push_sample() will send only one element of an array, while push_chunk() works fine

Open listplot3d opened this issue 7 months ago • 0 comments

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.

listplot3d avatar May 29 '25 15:05 listplot3d