Creating a connection between Android Studio and a MIDI keyboard


I am a computer science student at Trinity College Dublin. For our final project, we are working on an application that will teach the user music theory and how to play the piano in a gamified way. We are building the app in Android Studio.

Currently, we are facing problems with finding any resources on how to get the app to recognize a MIDI device, create a connection, and read the relevant information.

My team and I would appreciate any help or suggestions.

Some more information about the project:
The program needs to recognize the MIDI device and connect to it in order to receive input when the user presses a key on the device. It also needs to recognize which key was pressed in order to output the appropriate note through the mobile device.

1 Like