public void Clear() { title = ""; composer = ""; author = ""; comment = ""; mucom88 = ""; date = ""; voice = ""; pcm = ""; driver = ""; invert = ""; lines = 0; voiceData = null; pcmData = null; basSrc = new List <Tuple <int, string> >(); fnSrc = ""; workPath = ""; fnDst = ""; bufDst = new AutoExtendList <MmlDatum>(); srcLinPtr = 0; srcCPtr = 0; bufMac = new AutoExtendList <int>(); bufMacStack = new AutoExtendList <int>(); bufLoopStack = new AutoExtendList <byte>(); bufDefVoice = new AutoExtendList <int>(); bufTitle = new AutoExtendList <int>(); mmlVoiceDataWork = new AutoExtendList <byte>(); isDotNET = false; needNormalMucom = false; isIDE = false; }
public void Clear() { title = ""; composer = ""; author = ""; comment = ""; mucom88 = ""; date = ""; voice = ""; for (int i = 0; i < 6; i++) { pcm[i] = ""; pcmAt[i].Clear(); } driver = ""; invert = ""; pcminvert = ""; lines = 0; voiceData = null; pcmData = null; basSrc = new List <Tuple <int, string> >(); fnSrc = ""; workPath = ""; fnDst = ""; //バッファの作成 bufPage = new AutoExtendList <MmlDatum> [5][][]; for (int i = 0; i < 5; i++) { bufPage[i] = new AutoExtendList <MmlDatum> [11][]; for (int j = 0; j < 11; j++) { bufPage[i][j] = new AutoExtendList <MmlDatum> [10]; for (int pg = 0; pg < 10; pg++) { bufPage[i][j][pg] = new AutoExtendList <MmlDatum>(); } ; } ; } bufDst = bufPage[0][0][0]; srcLinPtr = 0; srcCPtr = 0; bufMac = new AutoExtendList <int>(); bufMacStack = new AutoExtendList <int>(); bufLoopStack = new AutoExtendList <byte>(); bufDefVoice = new AutoExtendList <int>(); bufTitle = new AutoExtendList <int>(); mmlVoiceDataWork = new AutoExtendList <byte>(); DriverType = enmDriverType.DotNet;//.normal; //needNormalMucom = false; isIDE = false; isExtendFormat = false; carriercorrection = false; opmclockmode = enmOpmClockMode.normal; }