lilypond-user
[Top][All Lists]
Advanced

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

Re: no sound produce for bass staff


From: MING TSANG
Subject: Re: no sound produce for bass staff
Date: Fri, 3 Sep 2010 06:00:30 -0700 (PDT)

Phil:   the "\teeny \flat" works.  I also check 2.12.3 lilypond_notation there is no "accidentals.M2" (v2.6.6 has)  but there is "accidentals.medicaeaM1" . Anyway I like the \teeny \flat better.

Kaz:  I think there is a problem for "c2\>  d\!" construct for midi output.  Please refer to red and blue text below.  I experiment the coding.

1.   I comment out LINE AA and use LINE BB I run lilypond, the generated midi clearly produce both piano RH and LH sound til the end.
2.   I comment out LINE BB and use LINE AA  I run lilypond, the generated midi only produce midi sound for piano RH & LH until bar 14. Starting on bar 15 onward, I can only hear piano RH, but piano LH sound disappear.



\version "2.12.0"

\header {
%  #(before-title-space 10\mm)    
  title = "主阿我要更愛你:More Love To Thee"
  subtitle = " "
  poet = "Zunda Chen"
  composer = "陳傳這 曲"
  meter = \markup { "B" \teeny \flat \musicglyph #"accidentals.medicaeaM1" "4/4" }
 
  enteredby="ymingT"
  maintainer="ymingT"
  texidoc = ""
}

ignoreMelisma =    \set ignoreMelismata = ##t
ignoreMelismaOff = \unset ignoreMelismata

#(set-global-staff-size 23)

\paper  {
                %#(set-global-staff-size (* 5.8 mm))
  indent = #(* mm 0)
  line-width = #(* mm 180)
  interscoreline = 2.\mm
  between-system-space = 36\mm
  ragged-bottom = ##t
}
#(set-global-staff-size 23)
 
\include "english.ly"
TimeKey = { \time 4/4  \key g \minor }   % \partial 4
SopMusic   = \relative c' {
    R1^\markup{Andante Graccoso} | R1 | R1 | a'1\rest \fermata |                    %bar 01-04
              }
AltoMusic  = \relative c' {
    \override NoteHead #'color = #blue
    s1 s1 s1 s1 s1 s1 s1 s1 s1 s1 |                        %bar 01-10
              }
TenorMusic = \relative c  {
    s1 s1 s1 s1 s1 s1 s1 s1 s1 s1 |                        %bar 01-10
                          }
BassMusic  = \relative c  {
    \override NoteHead #'color = #red
    s1 s1 s1 s1 s1 s1 s1 s1 s1 s1 |                        %bar 01-10
                 }

PianoRHand = \relative c' {
    << {d'8 bf8 ef8 d8 a'8 g8 bf8 a8} \\ {f,2\mf df'2} >> |            %bar 01
    << {c'8 bf8 a8 b8 c8 bf8 c8 cs8} \\ {d,2 ef2} >> |            %bar 02
    << {d'8 bf8 g8 f8 d8 bf8 g8 f8} \\ {f'2 f,2} >> |            %bar 03
    <ef f c'>2 <d f bf> |                            %bar 04 
        r8 d8 f d bf' f d' bf |                            %bar 05
        d8 ef,8 f8 a8 c8 a8 f8 ef8 |                        %bar 06
        f8 ef a f c' a ef c |                            %bar 07
        ef8 g a bf d bf f ef |                            %bar 08
        f'8 b, d f g f ef d |                            %bar 09
        c8 g a bf d c bf g |                             %bar 10
        ef'8 g, a bf a g f e |                             %bar 11
        g8 f e f d f df f |                             %bar 12
        d8 f bf f c' f, d' b |                            %bar 13
        ef8 bf c cs d bf f f' |                            %bar 14
        d8 f, e f c' f, ef f |                            %bar 15
        bf8 f d f bf d f a |                             %bar 16
        <f, bf d>4.^( <f bf d>8 <g bf ef>8 <f bf d>8 <ef c'>8 <d bf'>8 |     %bar 17
        <bf f' bf>2 <ef f a>2) |                        %bar 18
        <g c ef>4.( <g c ef>8 <a c f>8 <g c ef>8 <f bf d>8 <f cs'>8 |        %bar 19
        <f bf d>2.) r4 |                            %bar 20
        <g b d g>4.( <g bf d>8 <g bf ef>8 <g bf f'>8 <g bf ef>8 <g d'>8 |    %bar 21
        <e c' d>2 <ef g>2) |                            %bar 22
        <e g c>4.^( <ef g c>8 <ef g bf>8 <ef g bf>8 <ef a>8 <ef g>8 |        %bar 23
        <a, c f>2.) r4 |                            %bar 24
                         }
PianoLHand = \relative c {
    bf'2 a2 | g2 gf2 | f2^\markup{poco rit.} f,2 |                %bar 01-03
    <a a'>2 <bf bf'>2 |                            %bar 04
    <bf' bf,>2.^\markup{a tempo} r4^\markup{sempre} |            %bar 05
    <f f,>2.^\markup{legato} r4 |                        %bar 06
    <a, a'>4 <c c'>4 <f, f'>2 |                        %bar 07
    <bf bf'>2. r4 |                                %bar 08
    <g g'>2. r4 | <ef' ef'>2 <e e'>2 |                     %bar 09-10
    <c c'>2 <df df'>2 | <a a'>2 <f f'>2 |                    %bar 11-12
    <bf bf'>2^\markup{ cresc. } <a a'>4 <g g'>4 |                %bar 13
    <gf gf'>2 <f f'>2 |                            %bar 14
     <f f'>2^\markup{ rit. }^\> <a a'>2\! |                    %bar 15        LINE AA
%   <f f'>2 <a a'>2 |                                                                        LINE BB
    <bf bf'>2. r4 |                                %bar 16
    <bf, bf'>8 d'8_\markup{con Ped} f bf f bf f bf |            %bar 17
    <bf,, d'>8 f'' bf f <ef, f'> a' c a |                    %bar 18
    <f,, f'>8 f''8 a8 f8 a8 c8 f,8 a8 |                    %bar 19
    <bf,, b'>8 d'8 f8 bf8 d8 bf8 f8 d8 |                    %bar 20
    <g,, g'>8 g'' b g bf g a bf |                        %bar 21
    <c,, c'>8 g''8 c8 g <c,, c'>8 g''8 c8 g8 |                %bar 22
    <c,, c'>8 g'' bf g bf g a bf |                        %bar 23
    <f,, f'>8 c'' f c f ef d c |                        %bar 24   
                         }
                        
VerseOne   = \lyricmode {
主 啊! 我 要 | 更 愛 你, | 主 啊! 我 要 | 親 近 你 | 凡 事 照 主 |
指 示, | 合 主 你 的 | 旨 意, | 有 時 遭 | 遇 試 煉, 求 | 主 扶 持; |
懇 求 聖 靈 充 滿 | 心 內 | 忠 心 將 福 音 傳 | 開, | 雖 然 魔 鬼 設 計 |
陷 害, | 靠 我 主 永 不 失 | 敗, |
                        }
%VerseTwo   = \lyricmode { voice two  }
%VerseThree = \lyricmode { }
%VerseFour  = \lyricmode { |

\score {
  \new GrandStaff = "GrandStaff_score" <<   
    \new ChoirStaff <<
      \tempo 4 =  90
      \set Score.markFormatter = #format-mark-box-numbers
      \new Staff <<
        \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
        \clef "treble"
%        \new Voice = "Sop"  { \voiceOne  \TimeKey \SopMusic }
%        \new Voice = "Alto" { \voiceTwo  \TimeKey \AltoMusic }
%         \new Lyrics \lyricsto "Sop" { \VerseOne   }
%        \new Lyrics \lyricsto "Sop" { \VerseTwo   }
%        \new Lyrics \lyricsto "Sop" { \VerseThree }
%        \new Lyrics \lyricsto "Sop" { \VerseFour  }
      >>
      \new Staff <<
        \clef "bass"
%        \new Voice = "Tenor" { \voiceOne \TimeKey \TenorMusic }
%        \new Voice = "Bass"  { \voiceTwo \BassMusic  }
      >>
    >>
    \new PianoStaff <<
      \new Staff = "RH" { \TimeKey  \PianoRHand }
      \new Staff = "LH" { \TimeKey \clef bass \PianoLHand }
    >>
  >>
  \layout {
    \context {
    \RemoveEmptyStaffContext
    \override VerticalAxisGroup #'remove-first = ##t
    }
  }
  \midi { }
}

From: Kaz Kylheku <address@hidden>
To: MING TSANG <address@hidden>
Cc: address@hidden
Sent: Fri, September 3, 2010 12:40:56 AM
Subject: Re: no sound produce for bass staff


On Thu, 2 Sep 2010 20:48:20 -0700 (PDT), MING TSANG  wrote: 
>Additional info pertain to #1 below.

Also, is there anything in the .log file?

If LilyPond is doing something unexpected, always check
for any diagnostics.


reply via email to

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