Design of a MATLAB Graphical User Interface for Advanced PC-based Phonocardiography
Executive Summary
This paper presents the design and implementation of a MATLAB-based Graphical User Interface (GUI) for advanced PC-based phonocardiography (PCG). The GUI facilitates acquisition, storage, and basic signal processing (low-pass filtering, FFT) of heart sounds and murmurs using electronic stethoscopes, supporting both cabled and wireless data input. While the system enables structured data management and pre-processing, the core algorithm for automatic diagnosis is not included and is noted as future work; thus, the study primarily demonstrates feasibility and usability rather than clinical validation.
Answer Machine Insights
Q: Does the system provide automatic diagnosis of heart valve diseases?
No, the current version of the GUI does not include an automatic diagnosis algorithm; this is planned for future work.
"A paper dealing with the signal processing algorithm for automatic diagnosis is in progress; in this paper we focus about the GUI, giving also an overview about data acquisition and first-processing algorithms implemented."
Q: What types of data input does the GUI support?
The GUI supports data acquisition from cabled and wireless (Bluetooth) electronic stethoscopes, as well as loading existing MATLAB, WAV, or MP3 files.
"The section highlighted in Figure 22 is reserved for the data acquisition through a device (cabled or wireless) or through a MATLAB, mp3 or wave file."
Q: What basic signal processing functions are implemented in the GUI?
The GUI implements low-pass filtering and Fast Fourier Transform (FFT) as pre-processing steps.
"Once the data has been acquired, it is possible to process it by pressing the two buttons 'Filtraggio' and 'Diagnosi', shown in figure 24, which respectively perform a low pass filtering and a Fast Fourier Transform of the signal."
Q: How does the GUI organize and store patient data?
The GUI creates a folder structure based on the acquisition date and patient fiscal code, storing personal data and all acquired/processed signals in multiple formats.
"Once all data is entered and the 'Salva dati' button is pressed, a text file containing them is created... a new path is created in the current one by making a new folder named as the date (using the function date), and a subfolder named as the fiscal code of the patient. In this new path will the saved all the files of the patients created by the interface."
Key Results
The GUI enables acquisition and storage of heart sound data in multiple formats (binary, MATLAB, audio) for each patient.
Basic signal processing (low-pass filtering and FFT) can be performed directly within the interface, with results saved for further analysis.
Visual Evidence

Figure 12-PCG of a heart tone with a fourth tone (top) and its spectrum (bottom)
Clinical Snapshot
Evidence Rating
Relevance
medium Priority