I want to port this application/applet to Android http://mathsrv.ku-eichstaett.de/MGF/homes/grothmann/java/Eartrainer/index.html
Besides the interface issue there is the problem of generating sound. In JSE I do that with javax using basically the following code: Synthesizer synth=MidiSystem.getSynthesizer(); synth.open(); MidiChannel[] channels=synth.getChannels(); MidiChannel channel=channels[0]; channel.programChange(0); channel.noteOn(note,50); Thread.sleep(dur); channel.noteOff(50); synth.close(); The variable "note" determines the frequency of the sound. I found the ToneGenerator in Android, which seems to be a telephone class, not suited for music. With much work, I could setup a Midi stream to be used for the MediaPlayer. But isn't there an easier solution, or a package I could use? Yours, R.G. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en