public MmlDatum(enmMMLType type, List <object> args, LinePos linePos, int dat) { this.type = type; this.args = args; this.linePos = linePos; this.dat = dat; }
public outDatum(enmMMLType type, List <object> args, LinePos linePos, byte val) { this.type = type; this.args = args; this.linePos = linePos; this.val = val; }
public static bool CheckDummyCommand(enmMMLType typ) { if (typ == enmMMLType.Rest || typ == enmMMLType.Tempo || typ == enmMMLType.Length || typ == enmMMLType.Octave || typ == enmMMLType.OctaveDown || typ == enmMMLType.OctaveUp || typ == enmMMLType.Instrument || typ == enmMMLType.Envelope || typ == enmMMLType.Volume || typ == enmMMLType.Note || typ == enmMMLType.Pan || typ == enmMMLType.LfoSwitch || typ == enmMMLType.Detune || typ == enmMMLType.KeyShift || typ == enmMMLType.unknown || typ == enmMMLType.Lyric || typ == enmMMLType.Lfo ) { return(true); } return(false); }
public MmlDatum(int dat, enmMMLType type, LinePos linePos, params object[] args) { this.type = type; this.args = args != null?args.ToList() : null; this.linePos = linePos; this.dat = dat; }
public MmlDatum2(string code, int dat, enmMMLType type, LinePos linePos, params object[] args) : base(dat, type, linePos, args) { this.code = code; }
public MmlDatum2(string code, enmMMLType type, List <object> args, LinePos linePos, int dat) : base(type, args, linePos, dat) { this.code = code; }