Chadwick Boulay
Chadwick Boulay
OK that means that the ActiChamp application is running but it is not sending any data. In this scenario, the results of your Matlab test is perfectly expected. I don't...
On the Apps I'm working on, I'm using cmake ExternalProject functions to download extra files / libs, but this is only relevant for people using cmake. We could make a...
48000 samples/sec / 1024 samples/chunk = 46.875 chunks / sec. That corresponds to 21.333 msec per chunk. You tell your script to pause for 20 msec after receiving every chunk....
That's surprising to me because the outlet shouldn't be sending in less than 1024 at a time. But I don't know LSL under-the-hood very well, so maybe this isn't unexpected....
> Is push_chunk really just a wrapper that loops around push_sample? I tried to answer my own question. 1. [Matlab calls `lsl_push_chunk`](https://github.com/sccn/labstreaminglayer/blob/master/LSL/liblsl-Matlab/lsl_outlet.m#L104) 2. [lsl_push_chunk.c loops over each sample](https://github.com/sccn/labstreaminglayer/blob/8d032fb43245be0d8598488d2cf783ac36a97831/LSL/liblsl-Matlab/mex/lsl_push_chunk.c#L66-L68) but only...
You could try using [`lsl_samples_available`](https://github.com/sccn/labstreaminglayer/blob/master/LSL/liblsl-Matlab/mex/lsl_samples_available.c) and call that until 1024 are available. But you shouldn't have to do that. Can you verify that your audio outlet is [setting the chunksize](https://github.com/sccn/labstreaminglayer/blob/master/LSL/liblsl-Matlab/lsl_outlet.m#L13-L35)...
Thanks @dmedine for pointing me to the correct `enqueue`. A few more tumbles down the rabbit hole... So the `pushthrough` property gets set on a `sample_p`. Then that sample gets...
I don't use LSL with Matlab, but receiving two streams in Matlab should be possible. To avoid the problem you're encountering, you'll have to call pull_* with a timeout. How...
@dmedine , is there anything specific to the Matlab wrapper that prevents two outlets from being used in the same thread?
How do you know the streams were not synchronized? From the timestamps? Did the streams all originate on the same computer or were they on different computers? If they are...