[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stringTuning question
From: |
Menu Jacques |
Subject: |
stringTuning question |
Date: |
Sun, 8 Jan 2017 18:23:51 +0100 |
Hello folks,
In the second score below, I replaced calls to ly:make-pitch, as generated by
musicxml2ly, by the more modern chord-like notation <d' b g d a, d,>.
Thought the two of them would be equivalent, but I get the following messages:
Starting lilypond 2.19.44 [staffTuning problem.ly]...
Processing `/Users/menu/Desktop/staffTuning problem.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
warning: Requested string for pitch requires negative fret: string 5 pitch
#<Pitch cis >
warning: Ignoring string request and recalculating.
warning: Requested string for pitch requires negative fret: string 5 pitch
#<Pitch dis >
warning: Ignoring string request and recalculating.
warning: Requested string for pitch requires negative fret: string 5 pitch
#<Pitch dis >
warning: Ignoring string request and recalculating.
warning: Requested string for pitch requires negative fret: string 5 pitch
#<Pitch dis >
warning: Ignoring string request and recalculating.
warning: Requested string for pitch requires negative fret: string 5 pitch
#<Pitch cis >
warning: Ignoring string request and recalculating.
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to
`/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-0prDiH'...
Converting to `staffTuning problem.pdf'...
Deleting `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-0prDiH'...
Success: compilation successfully completed
Completed successfully in 0.7".
Any hint as to this happens is welcome!
JM
—
\version "2.19.35"
% automatically converted by musicxml2ly from GuitarTablature.xml_inter.xml
PartPTwoVoiceOne = \relative cis {
\clef "tab"
\stopStaff
\override Staff.StaffSymbol #'line-count = #6
\startStaff
\key fis \major | % 1
cis16 ^"Tuning D-A-D-G-B-D, Capo 4th fret" \5 dis8 \5 b'8 \3 ais16
\4 dis,8. \5 b'8 \3 ais16 \4 dis,16 \5 cis8. \5 | % 2
}
% The score definition
\score {
<<
\new TabStaff \with {
stringTunings = #`( ,(ly:make-pitch 0 1 0)
,(ly:make-pitch -1 6 0) ,(ly:make-pitch -1 4 0)
,(ly:make-pitch -1 1 0) ,(ly:make-pitch -2 5 0)
,(ly:make-pitch -2 1 0) )
} <<
\set TabStaff.instrumentName = "Guitar"
\context TabStaff <<
\context TabVoice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne }
>>
>>
>>
\layout {}
% To create MIDI output, uncomment the following line:
% \midi {}
}
% The score definition
\score {
<<
\new TabStaff \with {
% ********* HERE *********
stringTunings = \stringTuning <d' b g d a, d,>
} <<
\set TabStaff.instrumentName = "Guitar"
\context TabStaff <<
\context TabVoice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne }
>>
>>
>>
\layout {}
% To create MIDI output, uncomment the following line:
% \midi {}
}
- stringTuning question,
Menu Jacques <=