Artificial neural network (ANN) enabled internet of things (IoT) architecture for music therapy

Shama Siddiqui, Rory Nesbitt, Muhammad Zeeshan Shakir*, Amwar Ahmed Khan, Ausaf Ahmed Khan, Karima Karam Khan, Naeem Ramzan

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

10 Citations (Scopus)
44 Downloads (Pure)


Alternative medicine techniques such as music therapy have been a recent interest of medical practitioners and researchers. Significant clinical evidence suggests that music has a positive influence over pain, stress and anxiety for the patients of cancer, pre and post surgery, insomnia, child birth, end of life care, etc. Similarly, the technologies of Internet of Things (IoT), Body Area Networks (BAN) and Artificial Neural Networks (ANN) have been playing a vital role to improve the health and safety of population through offering continuous remote monitoring facilities and immediate medical response.  In this article, we propose a novel ANN enabled IoT architecture to integrate music therapy with BAN & ANN for providing immediate assistance to patients by automating the process of music therapy. The proposed architecture comprises of monitoring the body parameters of patients using BAN, categorizing the disease using ANN and playing music of the most appropriate type over the patient's handheld device, when required. In addition, the ANN will also exploit Music Analytics such as the type and duration of music played and its impact over patient's body parameters to iteratively improve the process of automated music therapy. We detail development of a prototype Android app which builds a playlist and plays music according to the emotional state of the user, in real time. Data for pulse rate, blood pressure and breath rate has been generated using Node-Red, and ANN has been created using Google Colaboratory (Colab). MQTT broker has been used to send generated data to Android device. The ANN uses binary and categorical cross-entropy loss functions, Adam optimizer and ReLU activation function to predict the mood of patient and suggest the most appropriate type of music
Original languageEnglish
Article number9122019
Number of pages24
Issue number12
Publication statusPublished - 29 Nov 2020


  • artificial neural network (ANN)
  • Internet of Things (IoT)
  • Body Area Networks


Dive into the research topics of 'Artificial neural network (ANN) enabled internet of things (IoT) architecture for music therapy'. Together they form a unique fingerprint.

Cite this