Ejemplo n.º 1
0
        /// <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));
        }
Ejemplo n.º 2
0
        /// <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));
        }