| Package | org.si.sion.sequencer |
| Class | public class SiMMLVoice |
| Inheritance | SiMMLVoice Object |
| Subclasses | SiONVoice |
See also
| Property | Defined By | ||
|---|---|---|---|
| amDelay : int amplitude modulation changing delay. | SiMMLVoice | ||
| amDepth : int amplitude modulation depth. | SiMMLVoice | ||
| amDepthEnd : int amplitude modulation depth after changing. | SiMMLVoice | ||
| amTerm : int amplitude modulation changing term. | SiMMLVoice | ||
| channelNum : int channel number, 2nd argument of '%'. | SiMMLVoice | ||
| channelParam : SiOPMChannelParam parameters for FM sound channel. | SiMMLVoice | ||
| chipType : String chip type | SiMMLVoice | ||
| defaultGateTicks : int [Not implemented in current version] default absolute gate time (same as 1st argument of "@q" command), set -1 to ignore. | SiMMLVoice | ||
| defaultGateTime : Number default gate time (same as "q" command 0.125), set Number.NaN to ignore. | SiMMLVoice | ||
| defaultKeyOnDelayTicks : int [Not implemented in current version] default key on delay (same as 2nd argument "@q" command), set -1 to ignore. | SiMMLVoice | ||
| expression : int expression | SiMMLVoice | ||
| expressionMode : int expression table mode (same as "%x" command). | SiMMLVoice | ||
| isFMVoice : Boolean [read-only] FM voice flag | SiMMLVoice | ||
| isPCMVoice : Boolean [read-only] PCM voice flag | SiMMLVoice | ||
| isSamplerVoice : Boolean [read-only] Sampler voice flag | SiMMLVoice | ||
| isWaveTableVoice : Boolean [read-only] wave table voice flag | SiMMLVoice | ||
| moduleType : int module type, 1st argument of '%'. | SiMMLVoice | ||
| noteOffAmplitudeEnvelop : SiMMLEnvelopTable note off amplitude envelop table. | SiMMLVoice | ||
| noteOffAmplitudeEnvelopStep : int note off amplitude envelop tablestep. | SiMMLVoice | ||
| noteOffFilterEnvelop : SiMMLEnvelopTable note off filter envelop table. | SiMMLVoice | ||
| noteOffFilterEnvelopStep : int note off filter envelop tablestep. | SiMMLVoice | ||
| noteOffNoteEnvelop : SiMMLEnvelopTable note off note envelop table. | SiMMLVoice | ||
| noteOffNoteEnvelopStep : int note off note envelop tablestep. | SiMMLVoice | ||
| noteOffPitchEnvelop : SiMMLEnvelopTable note off pitch envelop table. | SiMMLVoice | ||
| noteOffPitchEnvelopStep : int note off pitch envelop tablestep. | SiMMLVoice | ||
| noteOffToneEnvelop : SiMMLEnvelopTable note off tone envelop table. | SiMMLVoice | ||
| noteOffToneEnvelopStep : int note off tone envelop tablestep. | SiMMLVoice | ||
| noteOnAmplitudeEnvelop : SiMMLEnvelopTable note on amplitude envelop table. | SiMMLVoice | ||
| noteOnAmplitudeEnvelopStep : int note on amplitude envelop tablestep. | SiMMLVoice | ||
| noteOnFilterEnvelop : SiMMLEnvelopTable note on filter envelop table. | SiMMLVoice | ||
| noteOnFilterEnvelopStep : int note on filter envelop tablestep. | SiMMLVoice | ||
| noteOnNoteEnvelop : SiMMLEnvelopTable note on note envelop table. | SiMMLVoice | ||
| noteOnNoteEnvelopStep : int note on note envelop tablestep. | SiMMLVoice | ||
| noteOnPitchEnvelop : SiMMLEnvelopTable note on pitch envelop table. | SiMMLVoice | ||
| noteOnPitchEnvelopStep : int note on pitch envelop tablestep. | SiMMLVoice | ||
| noteOnToneEnvelop : SiMMLEnvelopTable note on tone envelop table. | SiMMLVoice | ||
| noteOnToneEnvelopStep : int note on tone envelop tablestep. | SiMMLVoice | ||
| noteShift : int track key transpose (same as "kt" command). | SiMMLVoice | ||
| pitchShift : int track pitch shift (same as "k" command). | SiMMLVoice | ||
| pmDelay : int pitch modulation changing delay. | SiMMLVoice | ||
| pmDepth : int pitch modulation depth. | SiMMLVoice | ||
| pmDepthEnd : int pitch modulation depth after changing. | SiMMLVoice | ||
| pmsTension : int PMS guitar tension | SiMMLVoice | ||
| pmTerm : int pitch modulation changing term. | SiMMLVoice | ||
| portament : int portament. | SiMMLVoice | ||
| preferableNote : int preferable note. | SiMMLVoice | ||
| releaseSweep : int release sweep. | SiMMLVoice | ||
| toneNum : int tone number, 1st argument of '@'. | SiMMLVoice | ||
| updateTrackParamaters : Boolean update track paramaters, false to update only channel params. | SiMMLVoice | ||
| updateVolumes : Boolean update volume, velocity, expression and panning when the voice is set. | SiMMLVoice | ||
| vcommandShift : int velocity table mode (same as 2nd argument of "%v" command). | SiMMLVoice | ||
| velocity : int velocity | SiMMLVoice | ||
| velocityMode : int velocity table mode (same as 1st argument of "%v" command). | SiMMLVoice | ||
| waveData : SiOPMWaveBase wave data. | SiMMLVoice | ||
| Method | Defined By | ||
|---|---|---|---|
constructor. | SiMMLVoice | ||
copyFrom(src:SiMMLVoice):void copy all parameters | SiMMLVoice | ||
initialize():void initializer | SiMMLVoice | ||
setModuleType(moduleType:int, channelNum:int = 0, toneNum:int = -1):void set moduleType, channelNum, toneNum and 0th operator's pgType simultaneously. | SiMMLVoice | ||
[NOT RECOMENDED] this function is only for compatibility of previous versions | SiMMLVoice | ||
update track's voice paramters | SiMMLVoice | ||
| amDelay | property |
public var amDelay:intamplitude modulation changing delay. 3rd argument of 'ma'.
The default value is 0.
| amDepth | property |
public var amDepth:intamplitude modulation depth. 1st argument of 'ma'.
The default value is 0.
| amDepthEnd | property |
public var amDepthEnd:intamplitude modulation depth after changing. 2nd argument of 'ma'.
The default value is 0.
| amTerm | property |
public var amTerm:intamplitude modulation changing term. 4th argument of 'ma'.
The default value is 0.
| channelNum | property |
public var channelNum:intchannel number, 2nd argument of '%'.
The default value is 0.
| channelParam | property |
public var channelParam:SiOPMChannelParamparameters for FM sound channel.
| chipType | property |
public var chipType:Stringchip type
| defaultGateTicks | property |
public var defaultGateTicks:int[Not implemented in current version] default absolute gate time (same as 1st argument of "@q" command), set -1 to ignore.
The default value is -1.
| defaultGateTime | property |
public var defaultGateTime:Numberdefault gate time (same as "q" command 0.125), set Number.NaN to ignore.
The default value is Number.NaN.
| defaultKeyOnDelayTicks | property |
public var defaultKeyOnDelayTicks:int[Not implemented in current version] default key on delay (same as 2nd argument "@q" command), set -1 to ignore.
The default value is -1.
| expression | property |
public var expression:intexpression
The default value is 128.
| expressionMode | property |
public var expressionMode:intexpression table mode (same as "%x" command).
The default value is 0.
| isFMVoice | property |
isFMVoice:Boolean [read-only] FM voice flag
public function get isFMVoice():Boolean| isPCMVoice | property |
isPCMVoice:Boolean [read-only] PCM voice flag
public function get isPCMVoice():Boolean| isSamplerVoice | property |
isSamplerVoice:Boolean [read-only] Sampler voice flag
public function get isSamplerVoice():Boolean| isWaveTableVoice | property |
isWaveTableVoice:Boolean [read-only] wave table voice flag
public function get isWaveTableVoice():Boolean| moduleType | property |
public var moduleType:intmodule type, 1st argument of '%'.
The default value is 0.
| noteOffAmplitudeEnvelop | property |
public var noteOffAmplitudeEnvelop:SiMMLEnvelopTablenote off amplitude envelop table. 1st argument of '_na'
The default value is null.
| noteOffAmplitudeEnvelopStep | property |
public var noteOffAmplitudeEnvelopStep:intnote off amplitude envelop tablestep. 2nd argument of '_na'
The default value is 1.
| noteOffFilterEnvelop | property |
public var noteOffFilterEnvelop:SiMMLEnvelopTablenote off filter envelop table. 1st argument of '_nf'
The default value is null.
| noteOffFilterEnvelopStep | property |
public var noteOffFilterEnvelopStep:intnote off filter envelop tablestep. 2nd argument of '_nf'
The default value is 1.
| noteOffNoteEnvelop | property |
public var noteOffNoteEnvelop:SiMMLEnvelopTablenote off note envelop table. 1st argument of '_nt'
The default value is null.
| noteOffNoteEnvelopStep | property |
public var noteOffNoteEnvelopStep:intnote off note envelop tablestep. 2nd argument of '_nt'
The default value is 1.
| noteOffPitchEnvelop | property |
public var noteOffPitchEnvelop:SiMMLEnvelopTablenote off pitch envelop table. 1st argument of '_np'
The default value is null.
| noteOffPitchEnvelopStep | property |
public var noteOffPitchEnvelopStep:intnote off pitch envelop tablestep. 2nd argument of '_np'
The default value is 1.
| noteOffToneEnvelop | property |
public var noteOffToneEnvelop:SiMMLEnvelopTablenote off tone envelop table. 1st argument of '_@@'
The default value is null.
| noteOffToneEnvelopStep | property |
public var noteOffToneEnvelopStep:intnote off tone envelop tablestep. 2nd argument of '_@@'
The default value is 1.
| noteOnAmplitudeEnvelop | property |
public var noteOnAmplitudeEnvelop:SiMMLEnvelopTablenote on amplitude envelop table. 1st argument of 'na'
The default value is null.
| noteOnAmplitudeEnvelopStep | property |
public var noteOnAmplitudeEnvelopStep:intnote on amplitude envelop tablestep. 2nd argument of 'na'
The default value is 1.
| noteOnFilterEnvelop | property |
public var noteOnFilterEnvelop:SiMMLEnvelopTablenote on filter envelop table. 1st argument of 'nf'
The default value is null.
| noteOnFilterEnvelopStep | property |
public var noteOnFilterEnvelopStep:intnote on filter envelop tablestep. 2nd argument of 'nf'
The default value is 1.
| noteOnNoteEnvelop | property |
public var noteOnNoteEnvelop:SiMMLEnvelopTablenote on note envelop table. 1st argument of 'nt'
The default value is null.
| noteOnNoteEnvelopStep | property |
public var noteOnNoteEnvelopStep:intnote on note envelop tablestep. 2nd argument of 'nt'
The default value is 1.
| noteOnPitchEnvelop | property |
public var noteOnPitchEnvelop:SiMMLEnvelopTablenote on pitch envelop table. 1st argument of 'np'
The default value is null.
| noteOnPitchEnvelopStep | property |
public var noteOnPitchEnvelopStep:intnote on pitch envelop tablestep. 2nd argument of 'np'
The default value is 1.
| noteOnToneEnvelop | property |
public var noteOnToneEnvelop:SiMMLEnvelopTablenote on tone envelop table. 1st argument of '@@'
The default value is null.
| noteOnToneEnvelopStep | property |
public var noteOnToneEnvelopStep:intnote on tone envelop tablestep. 2nd argument of '@@'
The default value is 1.
| noteShift | property |
public var noteShift:inttrack key transpose (same as "kt" command).
The default value is 0.
| pitchShift | property |
public var pitchShift:inttrack pitch shift (same as "k" command).
The default value is 0.
| pmDelay | property |
public var pmDelay:intpitch modulation changing delay. 3rd argument of 'mp'.
The default value is 0.
| pmDepth | property |
public var pmDepth:intpitch modulation depth. 1st argument of 'mp'.
The default value is 0.
| pmDepthEnd | property |
public var pmDepthEnd:intpitch modulation depth after changing. 2nd argument of 'mp'.
The default value is 0.
| pmsTension | property |
public var pmsTension:intPMS guitar tension
The default value is 8.
| pmTerm | property |
public var pmTerm:intpitch modulation changing term. 4th argument of 'mp'.
The default value is 0.
| portament | property |
public var portament:intportament.
The default value is 0.
| preferableNote | property |
public var preferableNote:intpreferable note. -1;no preferable note.
The default value is -1.
| releaseSweep | property |
public var releaseSweep:intrelease sweep. 2nd argument of '@rr' and 's'.
The default value is 0.
| toneNum | property |
public var toneNum:inttone number, 1st argument of '@'. -1;do nothing.
The default value is -1.
| updateTrackParamaters | property |
public var updateTrackParamaters:Booleanupdate track paramaters, false to update only channel params.
The default value is false(SiMMLVoice), true(SiONVoice).
| updateVolumes | property |
public var updateVolumes:Booleanupdate volume, velocity, expression and panning when the voice is set.
The default value is false(ignore volume settings).
| vcommandShift | property |
public var vcommandShift:intvelocity table mode (same as 2nd argument of "%v" command).
The default value is 0.
| velocity | property |
public var velocity:intvelocity
The default value is 256.
| velocityMode | property |
public var velocityMode:intvelocity table mode (same as 1st argument of "%v" command).
The default value is 0.
| waveData | property |
| SiMMLVoice | () | Constructor |
public function SiMMLVoice()constructor.
| copyFrom | () | method |
| initialize | () | method |
public function initialize():voidinitializer
| setModuleType | () | method |
public function setModuleType(moduleType:int, channelNum:int = 0, toneNum:int = -1):voidset moduleType, channelNum, toneNum and 0th operator's pgType simultaneously.
Parameters
moduleType:int — Channel module type
| |
channelNum:int (default = 0) — Channel number. For %2-11, this value is same as 1st argument of '_@'.
| |
toneNum:int (default = -1) — Tone number. Ussualy, this argument is used only in %0;PSG and %1;APU.
|
| setTrackVoice | () | method |
public function setTrackVoice(track:SiMMLTrack):SiMMLTrack[NOT RECOMENDED] this function is only for compatibility of previous versions
Parameters
track:SiMMLTrack |
SiMMLTrack |
| updateTrackVoice | () | method |
public function updateTrackVoice(track:SiMMLTrack):SiMMLTrackupdate track's voice paramters
Parameters
track:SiMMLTrack |
SiMMLTrack |