Re: strange programming error

2010-07-14 Thread -Eluze


胡海鹏 - Hu Haipeng wrote:
 
 Hello,
   I encounter a strange problem on my harp part. THe message is:
 programming error: no note heads for the line spanner on neighbor line?
 Confused.
 It is very strange because, although it seems to be the problem of the
 last glissando, when I commented out all previous music, it has no
 problem, and if I comment out the glissando, the previous music is also
 ok. It means that these two portions can either exist, but not both. Could
 anyone point out what's wrong? Sorry, I can't provide a shorter example,
 because the problem is caused by the whole part.
 Regards
 Haipeng
 
 

commenting \showStaffSwitch in the staff harprh stops this warning/error -
could this be a starting point to track the error?
hth

-- 
View this message in context: 
http://old.nabble.com/strange-programming-error-tp29157954p29161676.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


strange programming error

2010-07-13 Thread 胡海鹏 - Hu Haipeng
Hello,
  I encounter a strange problem on my harp part. THe message is:
programming error: no note heads for the line spanner on neighbor line? 
Confused.
It is very strange because, although it seems to be the problem of the last 
glissando, when I commented out all previous music, it has no problem, and if I 
comment out the glissando, the previous music is also ok. It means that these 
two portions can either exist, but not both. Could anyone point out what's 
wrong? Sorry, I can't provide a shorter example, because the problem is caused 
by the whole part.
Regards
Haipeng


 \version 2.13.24

headsOn = \sequential {
  \override Dots #'transparent = ##t
  \override Stem #'transparent = ##t
  \override Beam  #'transparent = ##t
}
headsOff = \sequential {
  \revert Dots #'transparent
  \revert Stem #'transparent
  \revert Beam #'transparent
}
str = \change Staff = rh
stl = \change Staff = lh

  harprh = \relative c' {
\clef treble \key c \major \time 3/4
\showStaffSwitch
R2.*6 |
\time 5/4 R1*5/4 | R1*5/4 |
\time 9/8 R1*9/8*3 | \time 5/4 R1*5/4*5 |
\time 9/8 R1*9/8*3 | \time 5/4 R1*5/4 | R1*5/4 | R1*5/4^\fermataMarkup \bar ||
R1*5/4*8 |
R1*5/4_\markup { \harp-pedal #^^-|-^-- } |
s1*5/4 |
R1*5/4*7_\markup { \harp-pedal #vv-|-vv- } |
\time 3/4
R2.*7 |
r4 r8 \tag #'score { \autoBeamOff b32[\mf\ cis dis e fis gis a32*6]\glissando |
  \time 5/4
  \autoBeamOn dis'4\!\f r r r2 | }
\tag #'midi { \times 12/16 { b,,32\mf\ cis dis e fis gis a b cis dis e fis gis a b cis } |
  \time 5/4
  dis4\!\f r r r2 | }
R1*5/4*5_\markup { \harp-pedal #---|^--^ } |
\time 9/8
R1*9/8*11 |
\time 5/4
g,, b,2.\laissezVibrer r2 |
R1*5/4^\markup { B \smaller \flat } | R1*5/4^\fermataMarkup \bar ||
\key ees \major \time 4/4
\tag #'score { g ees bes g1\arpeggio | R1 |
  f c aes\arpeggio |
  aes ees c\arpeggio |
  g ees c\arpeggio |
  aes f ees c\arpeggio |
  a f ees c\arpeggio |
  bes f d\arpeggio | }
\tag #'midi { r16 g,64 bes ees g ~ g8 ~ g2. | R1 |
  r16 \times 2/3 { aes,32 c f ~ } f8 ~ f2. |
  r16 \times 2/3 { c32 ees aes ~ } aes8 ~ aes2. |
  r16 \times 2/3 { c,32 ees g ~ } g8 ~ g2. |
  r16 c,64 ees f aes ~ aes8 ~ aes2. |
  r16 c,64 ees f a ~ a8 ~ a2. |
  r16 \times 2/3 { d,32 f bes ~ } bes8 ~ bes2. | }
r4 bes, ees bes f bes, |
r g bes, f bes, ees bes |
r c ees c f c |
r f aes, ees aes, des aes |
r f aes, ees aes, des aes |
r f bes f g ees |
r f aes, r f aes, |
r aes des, aes f des aes2 |
r4 f ees bes d,2 |
s1*6 |
s2 \tag #'score { c a e4\arpeggio }
  \tag #'midi { r16 \times 2/3 { e,32 a c ~ } c8 } r4 |
s1*8 |
\tag #'score { bes aes f d2\arpeggio }
  \tag #'midi { r16 d,64 f aes bes ~ bes4. }
  r2_\markup { \harp-pedal #--^|^--^ } |
r \stl \tag #'score { \headsOn bes,,8\glissando \str f''\glissando \stl bes,4\glissando | }
  \tag #'midi { \times 8/15 { bes,32 c d ees f g aes bes c d ees f ees d c } \times 16/21 { bes64 c d ees f g aes bes c d ees f g aes bes c d ees f g aes } | }
\str \headsOff bes4 r r2 | R1*8 |
R1*3_\markup { \harp-pedal #---| }  |
g,,4\p^\flageolet r r2 | 
R1 | R1^\fermataMarkup |
R1*3 |
g'4^\flageolet r r2 |
r2 \times 2/3 { g8- g,4 } r4 |
\times 2/3 { g'8-\ g,4 } r4 \times 2/3 { g'8-\!\pp g,4 } r4^\fermataMarkup \bar ||
\key c \major \time 3/4
R2.*4 |
\time 4/4
R1 | R1 |
\time 3/4
R2. | R2. |
\time 5/4
R1*5/4 | R1*5/4 |
\time 9/8 R1*9/8*3 |
\time 5/4 R1*5/4*5 |
\time 9/8 R1*9/8*3 |
\time 5/4
R1*5/4*5 |
R1*5/4*21 \bar ||
\time 3/4
R2.*21 |
R2.*6 |
\time 4/4
R1*8 |
\time 2/2
R1 |
\stl \tag #'score { \headsOn g,,4\glissando \str d''\glissando \stl g,2\glissando | }
  \tag #'midi { \times 8/15 { g,16 a b c d e f g a b c d c b a } \times 16/21 { g32 a b c d e f g a b c d e f g a b c d e f } | }
\str \headsOff g4 r r2 | R1*15 |
  }

  harplh = \relative c {
\clef bass \key c \major
\showStaffSwitch
R2.*6 | R1*5/4 | R1*5/4 |
R1*9/8*3 | R1*5/4*5 |
R1*9/8*3 | R1*5/4 | R1*5/4 | R1*5/4^\fermataMarkup \bar ||
R1*5/4*9 |
\tag #'score { a32\mf\^gliss. b ces des e fes g a32*13\glissando \str \headsOn b'''8*4\!\\glissando \stl a8\! \headsOff | }
\tag #'midi { \times 20/30 { a16\mf\ b32 b cis e e g a b b cis e e g a b b cis e e g a b b cis e e g a }
  \times 16/25 { b\!\f\ a g e e cis b b a g e e cis b b a g e e cis b b a g e } e64 cis b b a16\!\mf | }
R1*5/4*7 |
R2.*8 | R1*5/4*6 |
R1*9/8*11 |
g d'2.\laissezVibrer r2 |
R1*5/4 | R1*5/4^\fermataMarkup \bar ||
\key ees \major
\tag #'score { ees bes' ees1\arpeggio | R1 |
  f c' f\arpeggio |
  aes ees' aes\arpeggio |
  c g' c\arpeggio |
  aes ees' aes\arpeggio |
  f c' f\arpeggio |
  bes f' bes2.\arpeggio bes, bes'4 | }
\tag #'midi { 

strange programming error for strange glyph

2009-02-17 Thread hhpmusic
Hello,
  This file is my orchestration assignment. But I can't continue, because... 
Please see the programming errors in the log file. I looked through the file, 
but it seems no error. What's wrong with my file?

Haipeng
\version 2.12.2

#(set-default-paper-size a4)

\header {
  tagline = ##f
  title = \markup { \fontsize #4 \bold Sonata op.10, no.1 }
  composer = \markup { \fontsize #3 \bold L. V. Beethoven }
  arranger = \markup { \fontsize #2 \bold Arr. Hu Haipeng }
}

%{ for my defs
  marks = {
\tempo \markup { \bold \italic Allegro molto e con brio } 4=180
s2.*105 \bar ||
  }
%}

  oboeI = \relative c'' {
\clef treble \time 3/4 \key c \minor
c4.\f r8 r4 | R2. |
r2 c4\p |
c2( b4) |
b4.\f r8 r4 | R2. |
r2 d4\p |
d2( c4) |
  }

  oboeII = \relative c' {
\clef treble \time 3/4 \key c \minor
ees4.\f r8 r4 | R2. |
r2 ees4\p |
ees2( f4) |
f4.\f r8 r4 | R2. |
r2 aes4\p |
aes2( g4) |
  }

  clarinetI = \relative c'' {
\clef treble \time 3/4 \key d \minor
\transposition bes
a4.\f r16 a( f'8. d16 |
a'8. f16 d'8. a16 f'4 |
f-.) r a,,\p |
a2( a4) |
bes4.\f r16 cis( g'8. e16 |
bes'8. g16 e'8. bes16 g'4 |
g-.) r cis,,4\p |
cis2( d4) |
  }

  clarinetII = \relative c' {
\clef treble \time 3/4 \key d \minor
\transposition bes
d4.\f r16 a'( f'8. d16 |
a'8. f16 d'8. a16 f'4 |
f-.) r d,,\p |
d2( e4) |
e4.\f r16 cis'16( g'8. e16 |
bes'8. g16 e'8. bes16 g'4 |
g-.) r g,,4\p |
g2( f4) |
  }

  bassoonI = \relative c {
\clef bass \time 3/4 \key c \minor
c4.\f r8 r4 | R2.*3 |
f4.\f r8 r4 | R2. |
r2 d'4\p |
d2( ees4) |
  }
 
  bassoonII = \relative c, {
\clef bass \time 3/4 \key c \minor
c4.\f r8 r4 | R2.*3 |
d4.\f r8 r4 | R2*3 |
  }
 
  hornI = \relative c' {
\clef treble \time 3/4 \key g \minor
\transposition f
d4.\f r8 r4 | R2.*3 |
fis4.\f r8 r4 | R2*3 |
  }

  hornII = \relative c' {
\clef treble \time 3/4 \key g \minor
\transposition f
bes4\f r r | R2.*3 |
ees4.\f r8 r4 | R2*3 |
  }

  #(set-global-staff-size 16)

  \score {
\new StaffGroup = woodwinds 
%  \new MarkLine = marks { \marks }
  \new StaffGroup 
\new Staff = oboe 1 {
  \set Staff.instrumentName = Oboe I
  \set Staff.shortInstrumentName = Ob. I
\oboeI
}
\new Staff = oboe 2 {
  \set Staff.instrumentName = Oboe II
  \set Staff.shortInstrumentName = Ob. II
 \oboeII
}
  
  \new StaffGroup 
\new Staff = clarinet 1 {
  \set Staff.instrumentName = \markup { Clarinet in B \smaller \flat I }
  \set Staff.shortInstrumentName = Cl. I
\clarinetI
}
\new Staff = clarinet 2 {
  \set Staff.instrumentName = \markup { Clarinet in B \smaller \flat II }
  \set Staff.shortInstrumentName = Cl. II
\clarinetII
}
  
  \new StaffGroup 
\new Staff = bassoon 1 {
  \set Staff.instrumentName = Bassoon I
  \set Staff.shortInstrumentName = Bn. I
\bassoonI
}
\new Staff = bassoon 2 {
  \set Staff.instrumentName = Bassoon II
  \set Staff.shortInstrumentName = Bn. II
\bassoonII
}
  
  \new StaffGroup 
\new Staff = bassoon 1 {
  \set Staff.instrumentName = Horn in F I
  \set Staff.shortInstrumentName = Hn. I
\hornI
}
\new Staff = bassoon 2 {
  \set Staff.instrumentName = Horn in F II
  \set Staff.shortInstrumentName = Hn. II
\hornII
}
  

\layout { }
  }

  \score {
\new StaffGroup = strings 
  \new Staff = oboes {
\set Staff.midiInstrument = oboe
  \unfoldRepeats  %{ \marks %} \oboeI \oboeII 
  }
  \new Staff = clarinets {
\set Staff.midiInstrument = clarinet
  \unfoldRepeats  \clarinetI \clarinetII 
  }
  \new Staff = bassoons {
\set Staff.midiInstrument = bassoon
   \bassoonI \bassoonII 
  }
  \new Staff = horns {
\set Staff.midiInstrument = french horn
   \hornI \hornII 
  }

\midi { }
  }
# -*-compilation-*-
Processing `f:/My Documents/composition/orchestration exercises/6/a/sonata 
Op.10 Nr.1 1.ly'
Parsing...
Interpreting music... [8]
Preprocessing graphical objects...
Interpreting music... 
MIDI output to `/My Documents/composition/orchestration exercises/6/a/sonata 
Op.10 Nr.1 1.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+100D, file d:/Program 
Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name () error: invalid argument

Re: strange programming error for strange glyph

2009-02-17 Thread Marek Klein
Hi,
lines 112 and 117, instead:
{ Clarinet in B \smaller \flat I }
should be:
{ Clarinet in B \smaller \flat I }

-- 
Marek Klein
http://gregoriana.sk


2009/2/17 hhpmu...@163.com

 Hello,
   This file is my orchestration assignment. But I can't continue,
 because... Please see the programming errors in the log file. I looked
 through the file, but it seems no error. What's wrong with my file?

 Haipeng


 --
 网易邮箱,中国第一大电子邮件服务商 http://www.yeah.net
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: strange programming error for strange glyph

2009-02-17 Thread Tim Slattery
hhpmu...@163.com wrote:

Hello,
  This file is my orchestration assignment. But I can't continue, because...
 Please see the programming errors in the log file. I looked through the 
 file, but it seems no error. What's wrong with my file?

 programming error: FT_Get_Glyph_Name () error: invalid argument

I just stumbled onto this error message in the manual. On page 330 it
says:

QUOTE
If a LilyPond input file containing a non-ASCII character is not saved
in UTF-8 format the error message
FT_Get_Glyph_Name () error: invalid argument

will be generated
/QUOTE

Check the menus in your text editor for an option to save your file in
UTF-8 format. Sometimes it's a drop-down box in the Save dialog.

If your text editor won't do it, google for free text editors. There
are many that will do this.

-- 
Tim Slattery
slatter...@bls.gov
http://members.cox.net/slatteryt



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user