
Biomusic translates the digitized physiological signal data, namely ECG, GSR and skin temperature into real time changes (pitch, tempo, volume) to music tracks.
This program is implemented in Python using a threaded producer-consumer paradigm. The producer constantly polls for serial data from the Arduino and passes it to the set of consumer threads which handle the processing and extraction of signal deviations from the physiological data which then pipes the deviations to a set of consumers which map and apply the changes to the music tracks in realtime.
With a valid serial input with 3 ADC ports run the serial-gsr-ecg-temp.py.