Comments (10)
thanks @Venryx, we actually haven't got our hands on a Muse S yet, so it could be due to the new wireless protocols in the Muse S, we certainly found these delays, but usually not bad at all on my dev computer.
In the computer lab where I ran my class the more muse units that were connected at once the more people suffered from delayed plotting and dropped packets.
which module of the demo were you using?
I just connected my muse 2 to the raw and filtered module and the blinks are showing up almost instantaneously , how long did you leave it connected for to observe that it occured "over time"
from eegedu.
I was using the "Introduction" module, and watching the very first live chart.
how long did you leave it connected for to observe that it occured "over time"?
I just did the test again to check:
- Refreshed the page. Paired at 0:00 (reference point).
- Waited one minute (and a few seconds), then blinked three times, then immediately checked the clock (1:06).
- Watched chart, till I saw the third blink finish, then immediately checked the clock (1:21).
So, after 1 minute of streaming, the delay had grown to 15 seconds. (and while I was waiting, I noticed [from my random blinks] that the delay was gradually increasing, so it seems to be a continuous delay-increasing process)
from eegedu.
It's worth noting that the muse-js library I use is built for the Muse/Muse2 (not the Muse S, as far as I can tell), and I don't get these delays in my program, despite making no changes to the library.
So I suspect the problem is somewhere in the EEGEdu repo specifically, not just in a protocol change. (else the problem would show up in muse-js, and thus my program)
from eegedu.
agreed, it is very likely a react-js issue, does the same thing happen in the raw-filtered module?
from eegedu.
happy to get your ideas of how we might locate the source of this delay and mitigate it, this was our first react app and it added some unneeded complexity.
also are you using neurosity pipes in your app? that is another part of the stack that could be adding delays
from eegedu.
does the same thing happen in the raw-filtered module?
Nope! After waiting a minute, there is still no discernible delay in that module.
Perhaps the charting library used for the Introduction module is less optimized, and my computer just can't keep up... (this is supported by my just observing that the cpu-usage for the tab's process goes to ~20% when there, versus ~10% when in the raw/filtered module)
also are you using neurosity pipes in your app? that is another part of the stack that could be adding delays
Not that I'm aware of... (I'm just using the muse-js api)
from eegedu.
from eegedu.
Hello everyone. Venryx can you confirm that Muse S works with muse.js? Does anything need to be modified?
Describe the bug
When testing the demo (at https://eegedu.com), I paired to my Muse S, and was confused because the chart did not seem to be as responsive to my eye movements as it is in my own program (which uses the same web-api connection approach, through muse-js).In fact, it was so non-responsive that I thought it might just be getting very out-of-sync/delayed from the live data. Indeed, I did tests of 1 blink, then 2 blinks, then 3 blinks, and it didn't show up on the chart until about 20 seconds later. (and the waves from the blinks are very obvious, so I know it was from that)
I don't have time to fill out additional information, unfortunately...
For reproducing, just connect a Muse S headset, wait a while, then try to do obvious movements (like blink sequences), and see how long it takes to show up.
It's not critical for me that the bug is fixed (I just use the EEG Edu page to cross-compare with my app -- for example, to see whether adding the low/high/bandpass filters are necessary), so no rush. Just thought I'd mention it for if you had time to fix it. (or if someone else hits it, confused as I did)
Smartphone (please complete the following information):
- Device: Lenovo Flex 14 laptop, Muse S eeg-headset
- OS: Windows 10
- Browser: Chrome v83
from eegedu.
Yes, I confirm that the Muse S works just fine with muse.js. (ie. the "muse-js" npm package)
I haven't noticed any issues so far, reading the EEG, accelerometer, and gyroscope data. I've been using it from an Electron app, but a quick test in the regular Chrome browser earlier appeared to work fine as well.
The issues with the eeg-edu site appear to be from inefficient chart rendering, rather than the muse-js library. (I can't confirm this, but I'm guessing so, based on the high cpu usage I saw on that page, and the fact that my usage of muse-js in my own app has worked great)
from eegedu.
from eegedu.
Related Issues (20)
- Module: Evoked Experiment HOT 5
- Feat: add support for NotionJS HOT 3
- Module: Data Analysis
- Module oddball exp: no markers saved HOT 3
- Firebase Analytics and Performance
- Testing for evoked module with photocell and markers
- The sliders last value is not used to update the charts, but the value before that, callback race problem
- Expose classifier output from Module 12. Predict brain states. HOT 1
- linux chrome setting change needed HOT 2
- Incorporate Tensorflow.js with react native
- Double the Delta Waves HOT 1
- Newbie Questions about format of the output files recorded in Module 4 HOT 1
- Is PreProcess producing stable output? HOT 4
- Are there eeg datasets that lend themselves to strong classification results? HOT 1
- Confused about duration of eeg recording HOT 4
- Intro Section Problem HOT 4
- Bluetooth connect never fires, thus it is never True. HOT 2
- plotting the ERP from the csv file HOT 4
- integration with LSL ? How to send data to LSL? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eegedu.