Audio File Processing — ECG Audio using Python

Taposh Dutta-Roy
8 min readJan 27, 2020

In my last post on “Basics of Audio File Processing in R” we talked about the fundamentals of audio processing and looked into some examples in R. In this post, we will look into an application of audio file processing, for a good cause — Analysis of ECG Heart beat and write code in python.

To understand this better, we will look into : Basic anatomy of the heart, measurements, origin and characteristics of heart sounds, techniques for heart sound analysis and python code for analyzing the sound. Our python code in this article will discuss how to read, and process data and develop a very simple model. In the next article, we will do more processing of data and develop a better model.

Further, note that I am not a clinician, thus all my knowledge is generated by reading papers, blogs and articles. I have listed all my sources and references. I will start with the location of heart in the thoracic cavity, as shown below

Source: Google

Basic Anatomy of Mammalian Heart

--

--

Taposh Dutta-Roy

Taposh's current work focuses on Digital Twin, image processing, data science architecture, and strategy.