Android Question How to play single midi note?

stevel05

Expert
Licensed User
Here is a simple example. Salient points are:

You need to initialize some modules first.
You can get the default receiver from MidiDevice_Static

You only need to worry about generating Midi Messages when dealing with sequences and adding them to tracks. For real-time use it is simpler to send the messages as byte arrays.

On my device, some of the pianos sound the same, and some programs appear not to have a sound associated with them (unless they were just quiet), this may be different on each device.

Hope this helps
 

watesoft

Active Member
Licensed User
Here is a simple example. Salient points are:

You need to initialize some modules first.
You can get the default receiver from MidiDevice_Static

You only need to worry about generating Midi Messages when dealing with sequences and adding them to tracks. For real-time use it is simpler to send the messages as byte arrays.

On my device, some of the pianos sound the same, and some programs appear not to have a sound associated with them (unless they were just quiet), this may be different on each device.

Hope this helps
Many thanks, I open midi project, MidiSystem_Static shows "Unknown member: initialize",maybe I lost a library, but IDE don't tell me.
 

stevel05

Expert
Licensed User
Hmm, not sure what happened there. Please download the library again and try with this project. As I said, it's been a while.
 

Attachments

watesoft

Active Member
Licensed User
Hmm, not sure what happened there. Please download the library again and try with this project. As I said, it's been a while.
Thanks to stevel
I download the library again, but it not work, now I will try to use js.
 

stevel05

Expert
Licensed User
What is not working?
 
Top