| Package | org.si.sion.utils |
| Class | public dynamic class SiONPresetVoice |
| Inheritance | SiONPresetVoice Object |
| Property | Defined By | ||
|---|---|---|---|
| categolies : Array categoly list. | SiONPresetVoice | ||
| mutex : SiONPresetVoice [static] [read-only] mutex object | SiONPresetVoice | ||
| waveTables : Array wave tables | SiONPresetVoice | ||
| waveTablesHex : Array wave tables hex | SiONPresetVoice | ||
| Method | Defined By | ||
|---|---|---|---|
SiONPresetVoice(includeFlag:int = 0xffff) constructor. | SiONPresetVoice | ||
| Constant | Defined By | ||
|---|---|---|---|
| INCLUDE_ALL : int = 0xffff [static] Flag to include all voices. | SiONPresetVoice | ||
| INCLUDE_DEFAULT : int = 1 [static] Flag to include default voices. | SiONPresetVoice | ||
| INCLUDE_MIDI : int = 4 [static] Flag to include General MIDI voices. | SiONPresetVoice | ||
| INCLUDE_MIDIDRUM : int = 8 [static] Flag to include General MIDI drum set voices. | SiONPresetVoice | ||
| INCLUDE_SINGLE_DRUM : int = 32 [static] Flag to include single voice drum voices. | SiONPresetVoice | ||
| INCLUDE_VALSOUND : int = 2 [static] Flag to include voices set [valsound] (http://www.valsound.com/). | SiONPresetVoice | ||
| INCLUDE_VC7 : int = 128 [static] Flag to include VC7 preset voices. | SiONPresetVoice | ||
| INCLUDE_WAVETABLE : int = 16 [static] Flag to include wave table voices. | SiONPresetVoice | ||
| INCLUDE_YM2413 : int = 64 [static] Flag to include YM2413 preset voices. | SiONPresetVoice | ||
| categolies | property |
public var categolies:Arraycategoly list.
| mutex | property |
mutex:SiONPresetVoice [read-only] mutex object
public static function get mutex():SiONPresetVoice| waveTables | property |
public var waveTables:Arraywave tables
| waveTablesHex | property |
public var waveTablesHex:Arraywave tables hex
| SiONPresetVoice | () | Constructor |
public function SiONPresetVoice(includeFlag:int = 0xffff)constructor.
ParametersincludeFlag:int (default = 0xffff) — Flag to select which voices are included.
|
| INCLUDE_ALL | Constant |
public static const INCLUDE_ALL:int = 0xffffFlag to include all voices.
| INCLUDE_DEFAULT | Constant |
public static const INCLUDE_DEFAULT:int = 1Flag to include default voices.
| INCLUDE_MIDI | Constant |
public static const INCLUDE_MIDI:int = 4Flag to include General MIDI voices.
| INCLUDE_MIDIDRUM | Constant |
public static const INCLUDE_MIDIDRUM:int = 8Flag to include General MIDI drum set voices.
| INCLUDE_SINGLE_DRUM | Constant |
public static const INCLUDE_SINGLE_DRUM:int = 32Flag to include single voice drum voices.
| INCLUDE_VALSOUND | Constant |
public static const INCLUDE_VALSOUND:int = 2Flag to include voices set [valsound] (http://www.valsound.com/).
| INCLUDE_VC7 | Constant |
public static const INCLUDE_VC7:int = 128Flag to include VC7 preset voices.
| INCLUDE_WAVETABLE | Constant |
public static const INCLUDE_WAVETABLE:int = 16Flag to include wave table voices.
| INCLUDE_YM2413 | Constant |
public static const INCLUDE_YM2413:int = 64Flag to include YM2413 preset voices.
var voices:SiONPresetVoice = new SiONPresetVoice(); // create new instance. var voice:SiONVoice = voices["valsound.piano1"]; // access voice by key
var voices:SiONPresetVoice = new SiONPresetVoice(); // create new instance. var bassVoiceList:Array = voices["valsound.bass"]; // access voice list by categoly key var bass10:SiONVoice = bassVoiceList[10]; // access voice by index
var voices:SiONPresetVoice = new SiONPresetVoice(); // create new instance. var voiceList:Array = voices.categolies[2]; // access voice list by categoly index trace(voiceList["name"]); // outputs "valsound.bell" var bell2:SiONVoice = voiceList[2]; // access voice by index