Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling Variable in << \staff \\ \tabstaff >> fails with error Not enough synchronization points found #42

Open
kalegood opened this issue Feb 12, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@kalegood
Copy link

Calling the variable melody gives error Not enough synchronization points found. Also fails when \new TabStaff is replaced with \new Staff.

This file compiles correctly when the music is explicitly stated inside the individual \staff contexts.

% Created on Sat Feb 09 15:10:04 EST 2013
\version "2.16.2"

\header {
    title = "Ode To Joy" 
    composer = "Beethoven" 
    tagline = "" 

}

\include "english.ly"

melody = {
    e e f g g f e d c c d e e4. d8 d2
    e4 e f g g f e d c c d e d4. c8 c2
    d4 d e c d e8 f e4 c d e8 f e4 d c d g,2
    e'4 e f g g f e d c c d e d4. c8 c2         
        \bar "|."

}

staffClassicalGuitar =  { 
    \time 4/4
    \tempo 4 = 100 
    \set Staff.midiInstrument = "acoustic guitar (nylon)"
    \key c \major
    \clef "G_8"
    \relative c' {  
        \melody
    }
}

staffTabGuitar = { 
    \new TabStaff {         
        \clef "moderntab"
        \relative c' {  
            \melody 
        }   
    } 
}
\score {
    <<
        \staffClassicalGuitar \\ \staffTabGuitar
    >>

    \midi {
    }

  \layout { indent=0\cm
  }
}

\paper {
}
@ghost ghost assigned aspiers Feb 12, 2013
@aspiers
Copy link
Owner

aspiers commented Feb 14, 2013

I have a worrisome feeling that this might require a substantially better parser than what the old stolen Frescobaldi code currently gives us. Assigning to 0.4.3 for investigation, but may have to postpone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants