| Package | org.si.sion.utils.soundfont |
| Class | public class SiONSoundFont |
| Inheritance | SiONSoundFont Object |
| Property | Defined By | ||
|---|---|---|---|
| defaultExpressionMode : int = 0 default expression mode | SiONSoundFont | ||
| defaultFPS : Number = 60 default FPS | SiONSoundFont | ||
| defaultVCommandShift : int = 4 default v command shoft | SiONSoundFont | ||
| defaultVelocityMode : int = 0 default velocity mode | SiONSoundFont | ||
| envelopes : Vector.<SiMMLEnvelopTable> all SiMMLEnvelopTable instances | SiONSoundFont | ||
| fmVoices : Vector.<SiONVoice> all fm voice instances | SiONSoundFont | ||
| pcmVoices : Vector.<SiONVoice> all pcm voice instances | SiONSoundFont | ||
| samplerTables : Vector.<SiOPMWaveSamplerTable> all sampler table instances | SiONSoundFont | ||
| sounds : * all loaded Sound instances, access them by id | SiONSoundFont | ||
| waveTables : Vector.<SiOPMWaveTable> all SiOPMWaveTable inetances | SiONSoundFont | ||
| Method | Defined By | ||
|---|---|---|---|
SiONSoundFont(sounds:* = null) constructor | SiONSoundFont | ||
apply(data:SiONData = null, pcmVoiceOffset:int = 0, samplerTableOffset:int = 0, fmVoiceOffset:int = 0, waveTableOffset:int = 0, envelopeOffset:int = 0):void apply sound font to SiONData or SiONDriver. | SiONSoundFont | ||
| defaultExpressionMode | property |
public var defaultExpressionMode:int = 0default expression mode
| defaultFPS | property |
public var defaultFPS:Number = 60default FPS
| defaultVCommandShift | property |
public var defaultVCommandShift:int = 4default v command shoft
| defaultVelocityMode | property |
public var defaultVelocityMode:int = 0default velocity mode
| envelopes | property |
public var envelopes:Vector.<SiMMLEnvelopTable>all SiMMLEnvelopTable instances
| fmVoices | property |
public var fmVoices:Vector.<SiONVoice>all fm voice instances
| pcmVoices | property |
public var pcmVoices:Vector.<SiONVoice>all pcm voice instances
| samplerTables | property |
public var samplerTables:Vector.<SiOPMWaveSamplerTable>all sampler table instances
| sounds | property |
public var sounds:*all loaded Sound instances, access them by id
| waveTables | property |
public var waveTables:Vector.<SiOPMWaveTable>all SiOPMWaveTable inetances
| SiONSoundFont | () | Constructor |
public function SiONSoundFont(sounds:* = null)constructor
Parameterssounds:* (default = null) |
| apply | () | method |
public function apply(data:SiONData = null, pcmVoiceOffset:int = 0, samplerTableOffset:int = 0, fmVoiceOffset:int = 0, waveTableOffset:int = 0, envelopeOffset:int = 0):voidapply sound font to SiONData or SiONDriver.
Parameters
data:SiONData (default = null) — SiONData to apply this font. null to set SiONDriver.
| |
pcmVoiceOffset:int (default = 0) — index offset for pcmVoices
| |
samplerTableOffset:int (default = 0) — index offset for samplerTable
| |
fmVoiceOffset:int (default = 0) — index offset for fmVoices
| |
waveTableOffset:int (default = 0) — index offset for waveTables
| |
envelopeOffset:int (default = 0) — index offset for envelopes
|