0

I have an application that so far recognizes some notes and I need to play them, but I need them in different duration.

I was thinking of having some mp3s with the notes, but I haven't found a way to play them a specific duration.

Can you help me with a solution for this issue?

  • You could [play notes with the internal synthesizer](http://stackoverflow.com/questions/36193250/android-6-0-marshmallow-how-to-play-midi-notes/). It would be a quite convenient way to play notes at a specific pitch for a specific duration if you have/can get a basic understanding of MIDI. – Markus Kauppinen May 11 '16 at 13:15

1 Answers1

1

You can use Timer Task for this work. It executes your code for specific limit of time.

UserSharma
  • 458
  • 6
  • 20