On 12/17/10 2:40 PM, "Music Teacher" <[email protected]> wrote:
> Thanks! > > I read these posts, but this doesnt really help in the case of > analysis after the fonction theory. Minors and Majors arent used in > this form, instead, the last letter of the main symbol does it (upper > case=major, lower case=minor). > > But there is more. Each symbol is like an elaborated matrix, i send a > pict attached to get an idea. You need also the ability to cross-out > the main symbol (meaning a chord without fundamental) and the > possibility of substition (two main symbols in a column, meaning that > the upper one is the fonction till now and the lower one the fonction > from now on) > And last but not least, this analysis can be written without music. So > I suppose the (new?) fonction should work either in a lyric-context > and in a markup. > > Well, according to my less mathematical brain structure, this is a > matrix. The question is just how to implement it. > This is fairly similar in overall structure to a fret diagram. When I implemented fret diagrams, I did it in the form of a markup function, i.e. \markup \fret-diagram-terse "x;3;2;o;1;o;" The arguments necessary to define the fret diagram are in the string. I wrote Scheme code to parse the string, and then used Scheme code to create the necessary stencils and glue them together into a fret diagram. You can read the code in the file scm/fret-diagrams.scm. If I were trying to do your functional analysis, I'd do the same thing. Determine a string that can be used to indicate the functional analysis symbol you want, and write a markup function to parse that string and turn it into a stencil. This can then be used in a Lyrics context or as a markup attached to a note. I'll be happy to provide any help I can as you try to make this happen. Thanks, Carl _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
