[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How change a dot in TabStaff
From: |
Carl Sorensen |
Subject: |
Re: How change a dot in TabStaff |
Date: |
Thu, 19 Apr 2018 01:44:27 +0000 |
User-agent: |
Microsoft-MacOutlook/10.c.0.180410 |
On 4/18/18, 5:51 PM, "Carl Sorensen" <address@hidden> wrote:
From: Darío <address@hidden>
Hello! I am writing a scale, and I need the tablature and the Fret
diagram, there aren't problem, but in the tablature, the tonic note not
appear where I want.
Since you are using a fret-diagram markup, there is no connection
between the fret diagram and the notes on the TabStaff.
I need that it is in the eighth fret, not in the first fret of the
second rope.
Then you must set the string number on note, not just in the markup.
Also, you need to get the notes to be the sounding pitch, which means you
need to move down an octave. To have the staff look right, you should change
from the treble clef to the “treble_8” clef, as discussed in Section 2.4.1 of
the Notation Reference.
I think I misunderstood your request. I've now got better code.
Two things that needed to be changed.
1) As I said before, get the notes in sounding pitch.
2) Set TabStaff.restrainOpenStrings to true
\version "2.18.2"
%%%%%%%%%Do mayor
\header {
title = "Escalas"
}
jonicaCM = \relative c{
c d e^\markup {\fret-diagram #"6-8;6-10;6-12;5-8;"} f
g a b^\markup {\fret-diagram #"5-10;5-12;4-9;4-10;"} c
d e f^\markup {\fret-diagram #"4-12;3-9;3-10;3-12;"} g
a b c^\markup {\fret-diagram #"2-10;2-12;2-13;1-10;"} d
e^\markup {\fret-diagram #"1-12;1-13;"} f
}
\score{
\header {
piece = "Jónica Do Mayor"
}
<<
\new Staff{
\clef "treble_8"
\time 4/4
\jonicaCM
}
\new TabStaff {
\set TabStaff.restrainOpenStrings=##t
\set TabStaff.minimumFret = #7 %in theory I understand that this line
indicates the minimum fret
\jonicaCM}
>>
}
HTH,
Carl