static public PPFixName GetChildPPFixName(PPFixName ppfn) { switch (ppfn) { case PPFixName.OutsideStrongVowel: case PPFixName.OutsideObscureSound: case PPFixName.OutsideFullSound: return(PPFixName.OutsideObscureSound); case PPFixName.PeaceStrongVowel: case PPFixName.PeaceObscureSound: case PPFixName.PeaceFullSound: return(PPFixName.PeaceObscureSound); case PPFixName.CantoStrongVowel: case PPFixName.CantoObscureSound: case PPFixName.CantoFullSound: return(PPFixName.CantoObscureSound); case PPFixName.Muffle: return(PPFixName.Muffle); case PPFixName.SpecialDearStrongVowel: case PPFixName.SpecialDearFullSound: return(PPFixName.SpecialDearFullSound); } return(PPFixName.NULL); }
static public string GetLyricPostfix(PPFixName ppfn) { switch (ppfn) { case PPFixName.OutsideStrongVowel: case PPFixName.OutsideObscureSound: return(""); case PPFixName.OutsideFullSound: return("+"); case PPFixName.PeaceStrongVowel: case PPFixName.PeaceObscureSound: return("_i"); case PPFixName.PeaceFullSound: return("+_i"); case PPFixName.CantoStrongVowel: case PPFixName.CantoObscureSound: return("0_iH"); case PPFixName.CantoFullSound: return("+0_iH"); case PPFixName.Muffle: return("-"); case PPFixName.SpecialDearStrongVowel: case PPFixName.SpecialDearFullSound: return("1"); } return(""); }
static public string GetLyricPrefix(PPFixName ppfn) { switch (ppfn) { case PPFixName.OutsideStrongVowel: case PPFixName.PeaceStrongVowel: case PPFixName.CantoStrongVowel: case PPFixName.Muffle: case PPFixName.SpecialDearStrongVowel: return("- "); } return(""); }
private void Parse(string lyric) { _ClearlyLyric = lyric; string prefix = Functs.GetLyricPrefix(_ClearlyLyric); string postfix = Functs.GetLyricPostfix(_ClearlyLyric); if (prefix != "") { _ClearlyLyric = _ClearlyLyric.Replace(prefix, ""); } if (postfix != "") { _ClearlyLyric = _ClearlyLyric.Replace(postfix, ""); } _FixName = Functs.GetLyricPPFixName(prefix, postfix); }
public static void Play(PPFixName fixname) { Play(VoiceDir + "." + (int)fixname + ".wav"); }