在Android中Java的JFugue音乐API实现 [英] JFugue Java music API implementation in Android

查看:849
本文介绍了在Android中Java的JFugue音乐API实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经实现Ksoji的jfugue-Android的库( HTTPS ://github.com/kshoji/JFugue-for-Android/tree/master/jfugue-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 example initialize it by typing:

MidiSystem.initialize(this);

由于Eclipse似乎不知道MidiSystem在所有什么,我不能修复这个问题。我应该进口什么要我的项目,以便能够在Android设备上玩一些简单的模式?

since Eclipse doesn't seem to know what MidiSystem is at all and I can't fix the problem. Should I import anything else to my project in order to be able to play some simple patterns on an Android device?

推荐答案

Kshoji的项目不提供playback.To播放MIDI申请须知的声音,将需要的USB MIDI设备或BLE的MIDI设备。
如果你想这样做,我建议你使用Android的工作室,而不是Eclipse构建项目。

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.

我做了一个库,是怎样的一个解决方案,让琴弦在Android上发挥的,检查出来: https://github.com/ziad-halabi9/AlgorithmicMusicPlayer

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

有基本上需要音乐字符串如A5S B5q E6H,并将其转换成一定器械的wav文件。它也可以在同一时间处理多个仪器

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.

这篇关于在Android中Java的JFugue音乐API实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆