seb-g wrote:
>
> On Thu, Dec 21, 2006 at 12:45:52PM -0800, [EMAIL PROTECTED]
> wrote:
>>
>> Here is an example of my "non-programmers" approach to forming a chord
>> library: (note this example can only be run in version 2.11.4 or better
>> due
>> to a crash issue)
>
> Ok I will install 2.11.4. I am still old fashion with 2.11.2 :-).
>
> This is a GREAT idea as long as tags can include any chars.
>
> Thanks a lot.
>
> --
> Sebastien Gross
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
A define-music-function would be better than tags, then the whole library
would be inside a function where you just specify the chord name as a string
parameter then have a giant IF statement to generate the named chord, (root
and duration would also be function parameters).
Like this:
\myChordLibrary c, "Maj7_2", 4
The above would generate a chord with a transpose root of c, with the
inversion of "Maj7_2" (version 2 of a maj7 chord), for a quarter note
duration.
Do you know how to use define-music-function (I dont)? Would this be a hard
function to write?
Thanks
Rick
--
View this message in context:
http://www.nabble.com/Chord-library-tf2866120.html#a8016644
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user