bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ukulele tabs?


From: Roche MacRae
Subject: ukulele tabs?
Date: Thu, 2 Jan 2014 16:36:50 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

Hello.

I'm trying to get ukulele tabs to work for the standard g/c/e/a ukulele tuning.

Using an example from your site for bass tuning works (almost):
<<
  \new Voice \with {
    %\omit StringNumber <== this throws an error unless commented out
  } {
    \clef "treble_8"
    \relative c' {
      c4 d e f
    }
  }
  \new TabStaff \with {
    stringTunings = #bass-tuning
  } {
    \relative c, {
      c4 d e f
    }
  }
>>

However replacing #bass-tuning with #ukulele-tuning:
<<
  \new Voice \with {
    %\omit StringNumber
  } {
    \clef "treble_8"
    \relative c' {
      c4 d e f
    }
  }
  \new TabStaff \with {
    stringTunings = #ukulele-tuning
  } {
    \relative c, {
      c4 d e f
    }
  }
>>

produces warnings:
warning: No string for pitch #<Pitch c, > (given frets ())
warning: No string for pitch #<Pitch d, > (given frets ())
warning: No string for pitch #<Pitch e, > (given frets ())
warning: No string for pitch #<Pitch f, > (given frets ())

and nothing shows on the tab staff.
Mucking about with custom stringTunings seems to show the issue lies with
the first string being higher than the subsequent three.

Admittedly I'm new to musical notation and have just started trying
Lilypond, but although using it for banjo tab works fine, nothing I have
tried appears to work for the ukulele where the first string is tuned higher
than the subsequent three.

Perhaps you can tell me whether I am wasting my time with ukulele tabs or do
you have a code example where ukulele tab actually works?

Thanks

btw, as noted above the "/omit StringNumber" which appears in places in your
documentation seems to be an error





reply via email to

[Prev in Thread] Current Thread [Next in Thread]