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

Clef and implicit voice #31

Open
dliessi opened this issue Feb 28, 2020 · 1 comment
Open

Clef and implicit voice #31

dliessi opened this issue Feb 28, 2020 · 1 comment

Comments

@dliessi
Copy link

dliessi commented Feb 28, 2020

I thought that a clef in a staff in parallel with other voices would instantiate an implicit voice: either that is not the case, or the EE is not detecting it.

Example 1:

\version "2.19.84"
\include "oll-core/package.ily"
\loadPackage edition-engraver
\consistToContexts #edition-engraver Score.Voice
\score {
  \new Staff <<
    %\new Voice = "staff1-clef"
    \clef "treble"
    \new Voice = "staff1-spacer"
    { s1 }
    \new Voice = "staff1-note"
    { c'1 }
  >>
}

Edition log 1:

[context-counter] Score: (0 . \new)
[context-counter] Score/A: \new
[context-counter] Voice: (1 . staff1-note)
[context-counter] Voice/A: staff1-spacer
[context-counter] Voice/B: staff1-note
(Score A) "\new"
(Voice A) "staff1-spacer"
(Voice B) "staff1-note"

Example 2:

\version "2.19.84"
\include "oll-core/package.ily"
\loadPackage edition-engraver
\consistToContexts #edition-engraver Score.Voice
\score {
  \new Staff <<
    \new Voice = "staff1-clef"
    \clef "treble"
    \new Voice = "staff1-spacer"
    { s1 }
    \new Voice = "staff1-note"
    { c'1 }
  >>
}

Edition log 2:

[context-counter] Score: (0 . \new)
[context-counter] Score/A: \new
[context-counter] Voice: (2 . staff1-note)
[context-counter] Voice/A: staff1-clef
[context-counter] Voice/B: staff1-spacer
[context-counter] Voice/C: staff1-note
(Score A) "\new"
(Voice A) "staff1-clef"
(Voice B) "staff1-spacer"
(Voice C) "staff1-note"
@jpvoigt
Copy link
Collaborator

jpvoigt commented Feb 28, 2020 via email

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

No branches or pull requests

2 participants