lilypond-devel
[Top][All Lists]
Advanced

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

Re: Getting string events from the music stream


From: Carl Sorensen
Subject: Re: Getting string events from the music stream
Date: Sat, 16 Jan 2010 07:52:57 -0700



On 1/16/10 7:47 AM, "Neil Puttock" <address@hidden> wrote:

> 2010/1/16 Carl Sorensen <address@hidden>:
> 
>> Now if we didn't find an articulation on the note event, we search through
>> the list of tabstring events to find a non-empty tabstring event.  Why are
>> we doing this second check?  Is there another way to get a tabstring event
>> besides adding a string as an articulation to a note?  Is this code
>> redundant, like I think it is?
> 
> No.  If you removed it, then string numbers set outside chords would be
> ignored.

Ah, thank you.  So inside chords, strings are set as articulations (which is
why fretboards uses them; fretboards deals with chords); outside chords,
strings are set as string_events.

As you can see, I missed this subtlety.  I'll add some comments to the code
about this.

Thanks!


Carl





reply via email to

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