extra note

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

extra note

Ganzalles
I am using \version "2.19.55" 

the following line, bar 

  e,8 <<  b'' e >> <<  d a >> 16  b 8. g,16 a b d d b e' e       |

the attachment shows that, after compilation, I get an extra a16 after the second double stop, why? 

thank you

Rafael
γγγ

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

snip.JPG (20K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extra note

Marc Hohl


Am 15.06.2017 1:45 nachm. schrieb Rafael González <[hidden email]>:
I am using \version "2.19.55" 

the following line, bar 

  e,8 <<  b'' e >> <<  d a >> 16  b 8. g,16 a b d d b e' e       |

the attachment shows that, after compilation, I get an extra a16 after the second double stop, why? 

Lilypond seems to interpret the 16 as a single duration, because << ...>> is a closed expression.

You should use < ...> instead.

HTH

Marc

thank you

Rafael
γγγ


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: extra note

David Kastrup
In reply to this post by Ganzalles
Rafael González <[hidden email]> writes:

> I am using \version "2.19.55"
>
> the following line, bar
>
>   e,8 <<  b'' e >> <<  d a >> 16  b 8. g,16 a b d d b e' e       |
>
> the attachment shows that, after compilation, I get an extra a16 after the
> second double stop, why?

Because you write an extra 16 .  It looks like you are confusing << >>
(simultaneous music) and < > (chords) for input here.  << >> enclose
complete notes including duration while < > enclose only pitches, with
the duration following afterwards.

When 2.19 sees a duration it cannot otherwise assign meaning to, it
reuses the previous chord or pitch entry and iterates the note.

This is what allows writing

\drums { tambourine 4 8. 16 4 4 }

and similar.

--
David Kastrup

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: extra note

Michael Gerdau
In reply to this post by Ganzalles
> I am using \version "2.19.55"
>
> the following line, bar
>
>   e,8 <<  b'' e >> <<  d a >> 16  b 8. g,16 a b d d b e' e       |
>
> the attachment shows that, after compilation, I get an extra a16 after
> the second double stop, why?

I don't know what you want to achieve - you don't provide a minimal
working example and don't say what you expect it to look like.

However I assume you mean this:
\version "2.19.55"

\relative c' { e,8 <b'' e> <d a>16  b 8. g,16 a b d d b e' e }

Note that I changed the double "<<...>>" to "<...>" (the former are for
parallel music and the later are for chords which I assume you mean) and
most importantly removed the space in front of the 16.

HTH,
Michael
--
 Michael Gerdau       email: [hidden email]
 GPG-keys available on request or at public keyserver

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: extra note

David Kastrup
Michael Gerdau <[hidden email]> writes:

>> I am using \version "2.19.55"
>>
>> the following line, bar
>>
>>   e,8 <<  b'' e >> <<  d a >> 16  b 8. g,16 a b d d b e' e       |
>>
>> the attachment shows that, after compilation, I get an extra a16 after
>> the second double stop, why?
>
> I don't know what you want to achieve - you don't provide a minimal
> working example and don't say what you expect it to look like.
>
> However I assume you mean this:
> \version "2.19.55"
>
> \relative c' { e,8 <b'' e> <d a>16  b 8. g,16 a b d d b e' e }
>
> Note that I changed the double "<<...>>" to "<...>" (the former are for
> parallel music and the later are for chords which I assume you mean) and
> most importantly removed the space in front of the 16.

Most importantly for whom?  LilyPond does not care either way.

--
David Kastrup

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: extra note

Ganzalles
Thank you guys, it worked!

"Whenever anything goes wrong, just follow instructions"


Rafael

On Thu, Jun 15, 2017 at 5:12 AM, David Kastrup <[hidden email]> wrote:
Michael Gerdau <[hidden email]> writes:

>> I am using \version "2.19.55"
>>
>> the following line, bar
>>
>>   e,8 <<  b'' e >> <<  d a >> 16  b 8. g,16 a b d d b e' e       |
>>
>> the attachment shows that, after compilation, I get an extra a16 after
>> the second double stop, why?
>
> I don't know what you want to achieve - you don't provide a minimal
> working example and don't say what you expect it to look like.
>
> However I assume you mean this:
> \version "2.19.55"
>
> \relative c' { e,8 <b'' e> <d a>16  b 8. g,16 a b d d b e' e }
>
> Note that I changed the double "<<...>>" to "<...>" (the former are for
> parallel music and the later are for chords which I assume you mean) and
> most importantly removed the space in front of the 16.

Most importantly for whom?  LilyPond does not care either way.

--
David Kastrup



--
γγγ

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user