如何将自定义DLS或SoundFonts加载到Android MIDI [英] How to load custom DLS or SoundFonts to Android MIDI

查看:107
本文介绍了如何将自定义DLS或SoundFonts加载到Android MIDI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过SONiVOX EAS库播放MIDI文件的应用程序. 是否可以将我自己的DLS或SoundFont波表加载到播放器中,并让库使用这些声音进行MIDI播放?

I have an application that plays MIDI files through the SONiVOX EAS library. Is it possible to load my own DLS or SoundFont wavetables into the player and have the library use these sounds for MIDI playback?

推荐答案

好,我将答案完全更改为

Ok, I change my answer completely, as the Jet Creator obviously wasn't what you were looking for.

我看了一下eas库,发现,(

I took a look into the eas library, and found, (in eas.h)

/*----------------------------------------------------------------------------
 * EAS_LoadDLSCollection()
 *----------------------------------------------------------------------------
 * Purpose: 
 * Downloads a DLS collection
 *
 * Inputs:
 * pEASData             - instance data handle
 * streamHandle         - file or stream handle
 * locator              - file locator
 *      
 * Outputs:
 * 
 *
 * Side Effects:
 * May overlay instruments in the GM sound set
 *
 *----------------------------------------------------------------------------
*/
EAS_PUBLIC EAS_RESULT EAS_LoadDLSCollection (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_FILE_LOCATOR locator);

现在,这肯定表明有一种方法可以将DLS文件加载到播放器中. 我从来没有用过它.

Now this surely indicates that there is a way to load DLS files into the player. I've never used it though.

这篇关于如何将自定义DLS或SoundFonts加载到Android MIDI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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