[tablatures] Re: ukulele fretboards

[ Thread Index | Date Index | More lilynet.net/tablatures Archives ]


Greetings.  As a followup to my earlier post, I've made some progress,
and now have different questions!

I've successfully defined fretboard diagrams for some ukulele chords,
as seen here: http://theorem.ca/~mvcorks/lilypond/

To do this, I've added this command to output-lib.scm:

  (define-public ukulele-tuning '(9 4 0 8))

The output looks good to me, but I keep getting this error message
at runtime (with version 2.12.2):

  warning: No string for pitch #<Pitch c' > (given frets ())

Am I doing something wrong?

Thanks,
Matt

On Mon, Nov 23, 2009 at 06:57:44AM -0500, Matt Corks wrote:
>First of all, I'm new to this project, so let me know if I should take
>this to another of the Lilypond mailing lists.
>
>I'd like to contribute fretboard diagrams for the soprano ukulele with
>C tuning, mostly because I'd like to have these for my own purposes.
>I see this has been discussed once before[1] but I didn't find any
>fretboard diagrams in the git repository (although perhaps I'm looking
>in the wrong place).
>
>However, I need some help.  I see how to include them manually with a
>\markup command, as shown in the documentation, but can't figure out
>how to use the \storePredefinedDiagram function.  I've tried writing
>these but keep getting the error "programming error: Object is not a
>markup."  Can someone explain what I'm doing wrong?
>
>Here's my list of chords:
>
>  \version "2.12.2"
>  \storePredefinedDiagram \chordmode {a}
>                          #guitar-tuning 
>                          #"f:2;w:4;4-2-2;3-1-1;2-o;1-o;"
>  \storePredefinedDiagram \chordmode {a:m}
>                          #guitar-tuning 
>                          #"f:1;w:4;4-2-2;3-o;2-o;1-o;"
>
>And here's sample sheet music:
>
>  \version "2.12.2"
>  chordA = \markup \fret-diagram #"f:2;w:4;4-2-2;3-1-1;2-o;1-o;"
>  chordAm = \markup \fret-diagram #"f:2;w:4;4-2-2;3-o;2-o;1-o;"
>  \include "predefined-ukulele-fretboards.ly"
>  <<
>    \context ChordNames {
>       \chordmode {
>         a1
>         a1:m
>       }
>    }
>    \context FretBoards {
>       \chordmode {
>         a1
>         a1:m
>       }
>    }
>    \context Staff {
>      a'1 %^ \chordA
>      a'1 %^ \chordAm
>    }
>  >>
>
>One obvious mistake is the use of guitar-tunings, but is that what's
>causing the problem?
>
>On that note, I'd like to suggest that ukulele tunings be added to
>output-lib.scm.  I couldn't figure out what notation was used to
>define guitar-tuning, but here are proposed names for the most common
>tunings, plus their notes[2]:
>
>  ukulele-tuning            g'c'e'a'
>  ukulele-d-tuning          a'd'f#'b'
>  ukulele-tenor-tuning      gc'e'a'
>  ukulele-baritone-tuning   dgbe'
>
>And while I'm at it, I propose that the documentation should
>standardize on the spelling "ukulele", and not use the British variant
>"ukelele", on the grounds that we should do as is done in Hawaii.
>Currently, the documentation mixes the two.  But perhaps that's a
>matter for another mailing list.
>
>I'm glad to finally have something to contribute to this wonderful
>project!
>
> -- Matt
>
>[1] http://old.nabble.com/ukelele-%28C-tuning%29-fretboards-td20874599.html
>[2] http://en.wikipedia.org/wiki/Ukulele#Types_and_tunings

-- 
mvcorks@xxxxxxxxxxxxxxxxxxx | http://theorem.ca/~mvcorks/
"Recall that whatever lofty things you might accomplish today, you will do
them only because you first ate something that grew out of dirt."
 -- Barbara Kingsolver



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/