https://github.com/glasgowneuro/attyshrv
Immersive Attys HRV biofeedback app for the Oculus Quest 2
https://github.com/glasgowneuro/attyshrv
biofeedback ecg hrv immersive oculus-quest vr
Last synced: 8 months ago
JSON representation
Immersive Attys HRV biofeedback app for the Oculus Quest 2
- Host: GitHub
- URL: https://github.com/glasgowneuro/attyshrv
- Owner: glasgowneuro
- License: other
- Created: 2022-08-22T07:30:07.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T19:58:25.000Z (over 1 year ago)
- Last Synced: 2025-01-14T20:58:10.048Z (over 1 year ago)
- Topics: biofeedback, ecg, hrv, immersive, oculus-quest, vr
- Language: JavaScript
- Homepage:
- Size: 125 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AttysHRV

An immersive heartrate variability (HRV) biofeedback app for the Oculus Quest 2 and the [Attys](https://www.attys.tech) to de-stress.
The app turns the heartrate into a seaside animation where the idea is
that a relaxed person has a regular physiological heartrate variability
which creates large regular waves in the animation. The person can use
deep breathing to create these and in turn relax.
The high precision bioamplifier [Attys](https://www.attys.tech) is
used to record the ECG in realtime and the Oculus then detects
with high precision the heartbeats and calculates the heartrate.
The app is written in C++ using the openXR / openGL framework
which allows realtime processing and animation of the ECG
in the headset.
## Prerequisites
1. Change into `AttysHRV/app/src/main/cpp` and clone the IIR filter library and the spline interpolation library:
```
git clone https://github.com/berndporr/iir1.git
git clone https://github.com/berndporr/cxx-spline.git
```
2. Download the [Oculus openXR API](https://developer.oculus.com/downloads/package/oculus-openxr-mobile-sdk/), create
a subdirectory `ovr_openxr_mobile_sdk` and unzip the contents of the openxr SDK into it.
Edit `app/src/main/cpp/CMakeLists.txt` and point it to the openXR API:
`set(OCULUS_OPENXR_MOBILE_SDK /home/yourname/ovr_openxr_mobile_sdk)`
3. Clone [AttysComm](https://github.com/glasgowneuro/AttysComm) and modify `app/build.gradle` so that it points
to AttysComm.
## Compile & run
Start Android Studio, open AttysHRV and click `run`.
## How to use the app
https://www.attys.tech/attyshrv/