/// <summary> /// Returns rhythm digest obtained with RhythmDigestParser /// </summary> /// <param name="score"></param> /// <param name="markRests"></param> /// <param name="includeBarlines"></param> /// <returns></returns> public static string ToRhythmDigest(this Score score, bool markRests, bool includeBarlines) { RhythmDigestParser parser = new RhythmDigestParser { MarkRests = markRests, IncludeBarlines = includeBarlines }; return(parser.ParseBack(score)); }
/// <summary> /// Calculates rhythmic digest of specified score. /// </summary> /// <param name="score"></param> /// <returns></returns> public static string ToRhythmDigest(this Score score) { RhythmDigestParser parser = new RhythmDigestParser(); return(parser.ParseBack(score)); }