Re: [frogs] bend implementation

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]




On 1/13/10 1:23 AM, "Marc Hohl" <marc@xxxxxxxxxx> wrote:

> Carl Sorensen schrieb:
>> 
>> On 1/11/10 3:41 AM, "Marc Hohl" <marc@xxxxxxxxxx> wrote:
>> 
>>  
>>> I am planning to implement bends.
>>> 
>>> The more I think about it, Carls proposal to handle bends with some kind of
>>> "auto beam" mechanism is a brilliant idea.
>>>    
>> 
>> Wow, I haven't had a "brilliant" idea for years!  Thanks for the compliment.
>>  
> My approach was to use the left and right note and try to compute everything
> correctly while somehow take care of everything happening before or after
> the spanner, while you propose a more global structure which should be
> able to
> take care of everything more elegantly.
> 
> Moreover, I finally have some kind of starting point: I can try to
> understand how engravers
> work, especially the auto beam mechanism.
>>  
>>> As I can see it now, there will be two new engravers necessary:
>>> 1) a pointed slur engraver which handles the normal staves
>>> 2) a bend arrow engraver for the tab staves
>>>    
>> 
>> My initial thought was to have one engraver that would change its output
>> depending on the context in which it was placed.  That would avoid code
>> duplication.
>> 
>> But I could see doing it the other way as well.
>>  
> When we can handle the whole story with one engraver, even better!

Well, we have a different engraver for note-heads and tab-note-heads
(because of the different position, I suppose), so it probably does make
more sense to have a bend-engraver and a tab-bend-engraver.

Thanks,

Carl


---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/