Skip to content Skip to sidebar Skip to footer

Jfugue Java Music Api Implementation In Android

I already implemented Ksoji's 'jfugue-android' library (https://github.com/kshoji/JFugue-for-Android/tree/master/jfugue-android) in my project, but I can't do anything with it, for

Solution 1:

Kshoji's Project doesn't provide the sound playback.To play MIDI notes on application, The USB MIDI devices or BLE MIDI devices will be needed. In case you want to do that, I recommend you build your project using Android Studio instead of Eclipse.

I did a Library that is kind of a solution to have Music Strings played on Android, check it out: https://github.com/ziad-halabi9/AlgorithmicMusicPlayer

It basically takes a musical strings such as "A5s B5q E6h" and converts it into a wav file of a certain instrument. It can also handle multiple instruments at the same time.

Solution 2:

You have to chose between BLE or USB interfacing

And write the type of code consequently, for example USB

UsbMidiSystemusbMidiSystem=newUsbMidiSystem(this);
usbMidiSystem.initialize();

Solution 3:

If you just want your android application to play JFugue strings, you can give try to JFugue4A library (https://sourceforge.net/projects/jfugue4a/). It allows you to use JFugue-2.1 API, like this code to play C-major scale:

Playerplayer=newPlayer();
player.play("C D E F G A B"); 

Post a Comment for "Jfugue Java Music Api Implementation In Android"