public void Apply(TabFile tabFile)
 {
     tabFile.AppendLine(" TITLE: " + Title + Environment.NewLine);
     if (Artist != "DUMMY")
         tabFile.AppendLine("ARTIST: " + Artist + Environment.NewLine);
     tabFile.AppendLine("LENGTH: " + Length + Environment.NewLine);
     tabFile.AppendLine("TUNING: " + TuningInfo.Description + Environment.NewLine);
 }
Ejemplo n.º 2
0
 public void Apply(TabFile tabFile)
 {
     tabFile.AppendLine(" TITLE: " + Title + Environment.NewLine);
     if (Artist != "DUMMY")
     {
         tabFile.AppendLine("ARTIST: " + Artist + Environment.NewLine);
     }
     tabFile.AppendLine("LENGTH: " + Length + Environment.NewLine);
     tabFile.AppendLine("TUNING: " + TuningInfo.Description + Environment.NewLine);
 }
 public void Apply(TabFile tabFile, int diff)
 {
     tabFile.AppendLine("TITLE: " + Title + Environment.NewLine);
     if (Artist != "DUMMY")
         tabFile.AppendLine("ARTIST: " + Artist + Environment.NewLine);
     if (diff == 255)
         tabFile.AppendLine("LENGTH: " + Length + " (MAXIMUM DIFFICULTY LEVEL)" + Environment.NewLine);
     else
         tabFile.AppendLine("LENGTH: " + Length + String.Format(" (DIFFICULTY LEVEL {0})", diff) + Environment.NewLine);
     tabFile.AppendLine("TUNING: " + TuningInfo.Description + Environment.NewLine);
 }
        public override void Apply(TabFile tabFile)
        {
            // Uppercase the first letter
            string name = Name;
            if (name.Length > 0)
                name = char.ToUpper(name[0]) + name.Substring(1);

            string line = name + " (" + Common.TimeToString(Start) + " - " + Common.TimeToString(End) + ")";
            tabFile.AppendLine("");
            tabFile.AppendLine("");
            tabFile.AppendLine("");
            tabFile.AppendLine(line);
        }
 public void Apply(TabFile tabFile, int diff)
 {
     tabFile.AppendLine("TITLE: " + Title + Environment.NewLine);
     if (Artist != "DUMMY")
     {
         tabFile.AppendLine("ARTIST: " + Artist + Environment.NewLine);
     }
     if (diff == 255)
     {
         tabFile.AppendLine("LENGTH: " + Length + " (MAXIMUM DIFFICULTY LEVEL)" + Environment.NewLine);
     }
     else
     {
         tabFile.AppendLine("LENGTH: " + Length + String.Format(" (DIFFICULTY LEVEL {0})", diff) + Environment.NewLine);
     }
     tabFile.AppendLine("TUNING: " + TuningInfo.Description + Environment.NewLine);
 }
        public override void Apply(TabFile tabFile)
        {
            // Uppercase the first letter
            string name = Name;

            if (name.Length > 0)
            {
                name = char.ToUpper(name[0]) + name.Substring(1);
            }

            string line = name + " (" + Common.TimeToString(Start) + " - " + Common.TimeToString(End) + ")";

            tabFile.AppendLine("");
            tabFile.AppendLine("");
            tabFile.AppendLine("");
            tabFile.AppendLine(line);
        }