Esempio n. 1
0
 public void Init()
 {
     Voice          = 0;
     Priority       = 0;
     Rest           = 0;
     LFODelay       = 0;
     LFODelayCount  = 0;
     LFOPhase       = 0;
     LFODepth       = 0;
     CallStackDepth = 0;
     PitchBend      = 0;
     Tune           = 0;
     Panpot         = 0;
     Transpose      = 0;
     CurOffset      = _startOffset;
     RunCmd         = 0;
     PrevKey        = 0;
     PrevVelocity   = 0x7F;
     PitchBendRange = 2;
     LFOType        = LFOType.Pitch;
     Ready          = false;
     Stopped        = false;
     LFOSpeed       = 22;
     Volume         = 100;
     StopAllChannels();
 }
Esempio n. 2
0
 public void Init()
 {
     Voice          = Priority = PrevKey = Rest = LFODelay = LFODelayCount = LFOPhase = LFODepth = CallStackDepth = 0;
     PitchBend      = Tune = Panpot = Transpose = 0;
     CurEvent       = 0;
     PitchBendRange = 2;
     LFOType        = LFOType.Pitch;
     Ready          = Stopped = false;
     LFOSpeed       = 22;
     Volume         = 100;
     StopAllChannels();
 }
Esempio n. 3
0
 public void Init()
 {
     Enabled    = Stopped = Tie = WaitingForNoteToFinishBeforeContinuingXD = Portamento = false;
     DataOffset = 0;
     ShouldWaitForNotesToFinish = VariableFlag = true;
     CallStackDepth             = 0;
     Voice          = LFODepth = 0;
     Bend           = Pan = KeyShift = 0;
     LFOPhase       = LFODelay = LFODelayCount = 0;
     LFORange       = 1;
     LFOSpeed       = 0x10;
     Priority       = 0x40;
     Volume         = Expression = 0x7F;
     Attack         = Decay = Sustain = Release = 0xFF;
     BendRange      = 2;
     PortamentoKey  = 60;
     PortamentoTime = 0;
     SweepPitch     = 0;
     LFOType        = LFOType.Pitch;
     Delay          = 0;
     CloseAllChannels();
 }
Esempio n. 4
0
 public void Init()
 {
     Stopped         = Tie = WaitingForNoteToFinishBeforeContinuingXD = Portamento = false;
     Allocated       = Enabled = Index == 0;
     CurEvent        = 0;
     ArgOverrideType = ArgType.None;
     Mono            = VariableFlag = DoCommandWork = true;
     CallStackDepth  = 0;
     Voice           = LFODepth = 0;
     PitchBend       = Panpot = Transpose = 0;
     LFOPhase        = LFODelay = LFODelayCount = 0;
     LFORange        = 1;
     LFOSpeed        = 0x10;
     Priority        = 0x40;
     Volume          = Expression = 0x7F;
     Attack          = Decay = Sustain = Release = 0xFF;
     PitchBendRange  = 2;
     PortamentoKey   = 60;
     PortamentoTime  = 0;
     SweepPitch      = 0;
     LFOType         = LFOType.Pitch;
     Rest            = 0;
     StopAllChannels();
 }