public abstract class Instrument extends SoundbankResource
| Modifier | Constructor and Description | 
|---|---|
| protected  | Instrument(Soundbank soundbank, Patch patch, String name, 类<?> dataClass)
              从指定的Patch 
              Patch一个新的MIDI乐器。 | 
| Modifier and Type | Method and Description | 
|---|---|
| Patch | getPatch()
              获取 
              Patch对象,该对象指示将乐器存储在合成器中的银行和节目编号。 | 
getData, getDataClass, getName, getSoundbankprotected Instrument(Soundbank soundbank, Patch patch, String name, 类<?> dataClass)
Patch一个新的MIDI乐器。 
           当后续请求装载仪器时,声音库将搜索本乐器Patch的Patch ,仪器将被装载到由Patch对象指示的银行和程序位置的Patch器中。 
          soundbank - 包含乐器的声音库 
           patch - 这个乐器的补丁 
           name - 此仪器的名称 
           dataClass - 用于表示样本数据的类。 
           Synthesizer.loadInstrument(Instrument) 
           public Patch getPatch()
Patch对象,指示将乐器存储在合成器中的银行和节目编号。 
           Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.