示例#1
0
        private int SplitBeatDatas(SPLITTYPE _TYPE)
        {
            string data       = CList.GetData();
            int    spliterIdx = data.IndexOf('/');
            string front      = data.Substring(0, spliterIdx);
            string rear       = data.Substring(spliterIdx + 1);

            //Debug.Log($"{data}  {spliterIdx}  {front}  {rear}");

            switch (_TYPE)
            {
            case SPLITTYPE.FRONT:
                return(int.Parse(front));

            case SPLITTYPE.REAR:
                return(int.Parse(rear));

            default:
                return(-1);
            }
        }
示例#2
0
    public string GetMusicalMarker()
    {
        switch (CList.GetData())
        {
        case "76":
            return("느리게(안단테)");

        case "80":
            return("조금 느리게(안단티노)");

        case "108":
            return("보통 빠르게 (모데라토)");

        case "112":
            return("조금 빠르게 (알레그레토)");

        case "120":
            return("빠르게 (알레그로)");

        default:
            return("");
        }
    }
示例#3
0
 public void Tick()
 {
     ActiveNotes.GetData().Chime();
     ActiveNotes.MoveNext();
 }