Streaming PPG data

travelmail26
Posts: 16
Joined: Mon Feb 06, 2023 12:52 pm

Streaming PPG data

Post by travelmail26 »

is it possible to stream PPG data? I tried looking at the wrong output from dispatcher and looking at the settings, but I didn’t see a way to do this. i’d ideally like to be able to stream data related to heart rate.

Thanks for all the help, and being so responsive to my questions!
User avatar
James
Site Admin
Posts: 1140
Joined: Wed Jan 02, 2013 9:06 pm

Re: Streaming PPG data

Post by James »

Yes. Just enable the extras by tapping on "Mind Monitor" in settings 10 times, and then reconnect the Muse.
billylo
Posts: 4
Joined: Sun Jan 21, 2024 2:13 pm

Re: Streaming PPG data

Post by billylo »

Hi, I am developing an app using using the Muse SDK. I have the raw PPG data packet... how do you translate those raw data into heart rate? thanks! Billy.
blue-j
Posts: 7
Joined: Thu Oct 10, 2024 8:37 pm

Re: Streaming PPG data

Post by blue-j »

James wrote: Tue May 30, 2023 6:27 pm Yes. Just enable the extras with a 10 tap on "Mind Monitor" in settings and reconnect the Muse.
what's a 10 tap? 10 seconds? 10x? I tried both without luck. - J
User avatar
James
Site Admin
Posts: 1140
Joined: Wed Jan 02, 2013 9:06 pm

Re: Streaming PPG data

Post by James »

Tap on "Mind Monitor" in settings 10 times, and then reconnect the Muse. You will get a prompt that it's enabled after tapping 10 times.
andre_xs
Posts: 3
Joined: Thu Dec 12, 2024 6:00 am

Re: Streaming PPG data

Post by andre_xs »

Hi All,
First of all, thanks for the app, very helpful for our research.

Second, I just wanted to mention that if I tap 10 times on MindMonitor, I don't get this notification about being enabled/disabled. It just jumps out of the settings, showing the graphs again. However, if I close the app, turn off the Muse2, then start the app again and turn on the Muse again, then I can see the pulse.

So if others struggle, maybe just play around and see whether you get the data.

This is Mind Monitor 2.3.1[44] with a Muse-E947[MU03] on Android 10 (and Android 5! :-) )

Best wishes,
Andre
User avatar
James
Site Admin
Posts: 1140
Joined: Wed Jan 02, 2013 9:06 pm

Re: Streaming PPG data

Post by James »

Correct, you need to disconnect and reconnect the Muse after toggling the setting.
andre_xs
Posts: 3
Joined: Thu Dec 12, 2024 6:00 am

Re: Streaming PPG data

Post by andre_xs »

Is there a reason to not make it just a regular setting with a switch?
User avatar
James
Site Admin
Posts: 1140
Joined: Wed Jan 02, 2013 9:06 pm

Re: Streaming PPG data

Post by James »

The PPG algorythm isn't good because the raw data can jump like crazy if you move your head and get light leak. Move your head around on the Gyro/Accelerometer and look at the raw data. You'll see how bad it is to process!
andre_xs
Posts: 3
Joined: Thu Dec 12, 2024 6:00 am

Re: Streaming PPG data

Post by andre_xs »

Thanks a lot for the explanation, I'm all new to this.

So for heart-rate variability (HRV) analysis which of the columns in the output file would you recommend to use?
PPG_Ambient PPG_IR PPG_Red Heart_Rate

I plan to look into Kubios (free) to analyse the data, but haven't started yet.

BTW, I'm interested in using HRV as a rough measure of physiological arousal/stress, and we are interested in longer periods (say at least 5 min, up to 15/20 min). I hope that for such analyses the data can be filtered to remove outliers, bad data, etc and there remains sufficient data for just an average HRV score for these periods. We don't plan event-related type analyses.

(Edit: I noticed this may get a little off-topic of the original thread, feel free to move this to a new thread (or I can start a new thread))
Post Reply