BIOPAC® Systems, Inc. Logo

Script 058 – Biofeedback and VR




This script presents a biofeedback example showing how physiology data from AcqKnowledge can change the Vizard display.

It is set up to be driven by respiration as a default (but you could apply any signal type) so that as we inspire a number of tiles arranged in a grid turn various shades of blue, and during expiration, they turn various shades of red. The intensity of the color changes/transparency levels of the tile are influenced both by incoming physio data and a random generator. Additionally, an object (currently a cartoon balloon fish) moves up and down depending on  incoming data. There is also a capability to display different 2D images depending on signal state.

Script download under Associated Files below contains setup instructions, sample data file, and BIOPAC Basic Script. The sample data file shows three channels of data in AcqKnowledge: the top channel (red) is the original resp signal; the middle channel (blue) is an intermediate filtering step, where we have corrected for drift and high frequency components in the respiration signal.; the bottom (green) channel is the derivative of the filtered respiration signal.

The following figures illustrate how physiology data (Exhalation Fig. 2 and Inhalation Fig. 3) can influence the Vizard display.

Figure 1. Program ready to start

Figure 2.  Exhalation: Tiles illuminating in red and the balloon going down as the third channel in AcqKnowledge, the derivative of the respiration signal, dips low, indicating a fast exhalation.


Figure 3, Inhalation: Tiles illuminating in blue and the balloon going up as the third channel in AcqKnowledge, the derivative of the respiration signal, is well above zero and slightly past the peak, indicating that the participant is inhaling and is just past the peak rate of chest expansion.

Watch the demo!

Associated Files

Associated Products

Spotlight On

EDA Smart Amplifier

Easily record great electrodermal activity (EDA, GSR) data. BIOPAC’s new Smart Amplifiers are designed for great data. Smart Amplifiers improve performance by amplifying the physiological signal close to the subject, which allows a high-level voltage connection to the data acquisition system and reduces noise artifact. AcqKnowledge Smart Amp setup includes guides and prompts to prevent […]

View All
Latest News

New Citations | BIOPAC in HRV Analysis Research

BIOPAC provides researchers with a complete range of tools to gather data on heart rate variability (HRV). The following studies demonstrate just some of the ways in which HRV research benefits from the implementation of BIOPAC hardware and software solutions. PTSD and HRV Post-traumatic stress disorder (PTSD) has been associated with dysfunction of the autonomic […]

Electrocardiography Guide Now Available

BIOPAC’s comprehensive Introductory ECG Guide addresses fundamental to advanced concerns to optimize electrocardiography data recording and analysis. Topics include: ECG Complex; Electrical and Mechanical Sequence of a Heartbeat; Systole and Diastole; Configurations for Lead I, Lead II, Lead III, 6-lead ECG, 12-lead ECG, precordial leads; Ventricular Late Potentials (VLPs); ECG Measurement Tools; Automated Analysis Routines for extracting, […]

Read All
Request a Demonstration
Request a Demonstration