[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-ly doesn't convert figured bass
From: |
Mats Bengtsson |
Subject: |
Re: convert-ly doesn't convert figured bass |
Date: |
Wed, 24 Nov 2004 10:51:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
Now I understand how your file is supposed to work!
I attach a version modified to version 2.2. To be able to run convert-ly
on it, I first replaced all occurencies of '{<' to some dummy like '{#'
and similarly I replaced '>}' with '&}'. After the conversion, I could
then change back from '{ #' to '{ <' and from '& }' to '> }'.
The only other thing I had to update was the text markup with the title,
see the attached file.
/Mats
Laura Conrad wrote:
"Mats" == Mats Bengtsson <address@hidden> writes:
Mats> I actually don't remember version 1.6 well enough to understand how
Mats> your example ever has worked. Did really the FiguredBass context
Mats> typeset also ordinary music at that time?
No, it didn't typeset the music, but it ignored it except for the
lengths. So once you had the bass line entered, you just found the
notes with the figures on them and added them.
Mats> Nowadays, the idea is to have a separate FiguredBass context which
Mats> only contains the figures.
But then you have to tell it (again) what the lengths of the notes
between the figures are. And proofread that again.
Mats> Another possibility would be to use text markup commands instead,
Mats> see for example
Mats> http://lists.gnu.org/archive/html/lilypond-user/2004-10/msg00352.html
If that's what the input/test/figured-bass-alternate.ly example is
doing, I tried it and wasn't able to get it to work. That is, the
example file works, and as long as I'm only adding one figure to a
note, it works in my file, but when I try to add two figures, like
this:
f_\markup { \column <6 5>}
lily tells me:
Now processing: `testfigures-markup.ly'
Parsing...
/home/lconrad/music/telemann/solo5/testfigures-markup.ly:24:30: error: syntax
error, unexpected STRING, expecting '<':
f_\markup { \column <
6 5>}
/home/lconrad/music/telemann/solo5/testfigures-markup.ly:24:33: error: Have to
be in Lyric mode for lyrics:
f_\markup { \column <6 5
>}
/home/lconrad/music/telemann/solo5/testfigures-markup.ly:24:34: error: syntax
error, unexpected '}':
}
I'm attaching the test file. Obviously I have the syntax wrong, but
it looks to me like what the example's doing.
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
\version "2.2.0"
\header {
composer = "Francesco Maria Veracini (1690-1768)"
crossRefNumber = "1"
footnotes = ""
tagline = "Lily was here 1.6.8 -- automatically converted from ABC"
title = "Sonata Sesta"
}
voiceB = \notes {
\set Score.defaultBarType = "empty"
\set Staff.instrument = treble
r4 ^\markup{ \italic \huge "Largo" } e''4) f''4 \bar "|" f''4
e''4 b''4 \bar "|"
b''8 gis''8 b''8 f''16 e''16 b''8 d''8 \bar "|" d''4
c''4 a''4 \bar "|" f''8 d''8 b''8 g''8 d'''8 f''8
\bar "|" e''4. g''8 e''8 c''8 \bar "|" a''8 f''8 a''8
d''8 d'''8 f''8 \bar "|" b''4. g''8 c'''4 ~ \bar "|"
% 9
c'''8 a''8 b''4. c'''8 \bar "|" c'''4 r8 e''8 f''8
g''8 \bar "|" bes'4 g''4 bes'4 \bar "|" bes'4 a'8 f''8
g''8 a''8 \bar "|" c''4 a''4 c''4 \bar "|" c''4 b'!8
g''8 a''8 b''8 \bar "|" d''4 b''4 d''4 \bar "|" d''4
c''8 e''8 a''8 g''8 \bar "|" % 17
f''4. d''8 b''8 a''8 \bar "|" gis''4. e''8 a''4 ~
\bar "|" a''8 fis''8 gis''4. a''8 \bar "|" a''2 f''!4
\bar "|" f''4 e''8 b''8 e''8 e''8 \bar "|" e''4 dis''8
a''8 d''!8 d''8 \bar "|" d''4. b'8 c''4 ~ \bar "|" c''8
d''8 b'4. a'8 \bar "|" a'2. ^\fermata \bar "|."
}
voiceC = \notes {
\set Score.defaultBarType = "empty"
\set Staff.instrument = bass
\key a \minor \clef bass
a,2 a4 \bar "|" gis2. \bar "|" e2. \bar "|" a,2 c4
\bar "|" d2 b,4 \bar "|" c2 r4 \bar "|" f2 f4 \bar "|"
g2 e4 ~ \bar "|" % 9
e8 f8 g4 g,4 \bar "|" c4 c,4 c4 \bar "|" d4 e4
c4 \bar "|" f2. \bar "|" fis2. \bar "|" g2. \bar "|" gis2.
\bar "|" a2 c4 \bar "|" % 17
d2 dis4 \bar "|" e2 c4 ~ \bar "|" c8 d8 e4 e,4
\bar "|" a4 c'4 a4 \bar "|" gis2 g!4 \bar "|" fis2 f4
\bar "|" <<e4.\figures { <3+ 7 >}>> gis8 a4 \bar "|"
<<d4\figures { <7 >}>> <<e4\figures { <4 5 >}>> <<e,4\figures { <3+ >}>>
\bar "|"
a,2. ^\fermata \bar "|."
}
figuredBass = \notes {
\context FiguredBass {
\key a \minor
a,2 <<a4\figures { <6> }>> \bar "|" <<gis4\figures { <7> }>>
<<s2\figures { <6> }>> \bar "|" <<e2.\figures { <_+> }>> \bar "|"
<<a,4\figures { <4 5> }>> <<s4\figures { <3> }>> <<c4\figures { <6> }>>
\bar "|" d2 <<b,4\figures { <5 6> }>> \bar "|" c2 r4 \bar "|"
f2 <<f4\figures { <6> }>> \bar "|"
g2 e4 ~ \bar "|" % 9
e8 f8 g4 g,4 \bar "|" c4 c,4 c4 \bar "|"
<<d4\figures { <6-> }>> <<e4 \figures { <5- 6> }>>
c4 \bar "|" <<f4\figures { <4-> }>> <<s2\figures { <3> }>> \bar "|"
<<fis2.\figures { <5> }>> \bar "|" <<g4\figures { <4 5> }>> <<s2\figures {
<3> }>> \bar "|" <<gis2. \figures { <5> }>>
\bar "|" <<a4\figures { <4 5> }>> <<s4\figures { <3> }>> c4 \bar "|"
% 17
d2 dis4 \bar "|" <<e2\figures { <_+> }>> c4 ~ \bar "|" c8
d8 <<e4\figures { <3+> }>> e,4
\bar "|" a4 c'4 <<a4\figures { <6> }>> \bar "|" <<gis4\figures {
<7> }>> <<s4\figures { <6> }>> g!4 \bar "|" <<fis4\figures { <7> }>>
<<s4\figures { <6+> }>> <<f4 \figures { <6!> }>>
\bar "|" <<e4.\figures { <3+ 7> }>> gis8 a4 \bar "|"
<<d4\figures { <7> }>> <<e4\figures { <4 5> }>> <<e,4\figures { <3+& }>>
\bar "|"
a,2. ^\fermata \bar "|."
}}
voicedefault = \notes {
\set Score.defaultBarType = "empty"
\time 3/4 \key a \minor
}\score{
\notes <<
\context Staff="1"
{
\voicedefault
\voiceB
}
\context Staff="2"
{
\voicedefault
<< \voiceC
\figuredBass
>>
}
>>
\paper {
\context
{
\StaffContext
}
}
\midi {}
}
- convert-ly doesn't convert figured bass, Laura Conrad, 2004/11/22
- convert-ly doesn't convert figured bass, Han-Wen Nienhuys, 2004/11/22
- Re: convert-ly doesn't convert figured bass, Laura Conrad, 2004/11/23
- Re: convert-ly doesn't convert figured bass, Mats Bengtsson, 2004/11/23
- Re: convert-ly doesn't convert figured bass, Laura Conrad, 2004/11/23
- Re: convert-ly doesn't convert figured bass, Mats Bengtsson, 2004/11/23
- Re: convert-ly doesn't convert figured bass, Laura Conrad, 2004/11/23
- Re: convert-ly doesn't convert figured bass, Han-Wen Nienhuys, 2004/11/23
- Re: convert-ly doesn't convert figured bass,
Mats Bengtsson <=
- Re: convert-ly doesn't convert figured bass, Erik Sandberg, 2004/11/24
- Re: convert-ly doesn't convert figured bass, Han-Wen Nienhuys, 2004/11/23
- Re: convert-ly doesn't convert figured bass, Laura Conrad, 2004/11/23
- Re: convert-ly doesn't convert figured bass, Han-Wen Nienhuys, 2004/11/23
- Re: convert-ly doesn't convert figured bass, Juergen Reuter, 2004/11/23
Re: convert-ly doesn't convert figured bass, Laura Conrad, 2004/11/23