Re: [frogs] Enhancement: string bends (issue216051) |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: Marc Hohl <marc@xxxxxxxxxx>
- Subject: Re: [frogs] Enhancement: string bends (issue216051)
- From: Neil Puttock <n.puttock@xxxxxxxxx>
- Date: Sat, 20 Feb 2010 22:04:09 +0000
- Cc: frogs@xxxxxxxxxxx, reply@xxxxxxxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0hzUcRE7687vCZRPsUTHprj5Kbm6iE0sOLS1051ilOk=; b=U3Daazd6lb+/KGpc00kX7oiHV1qNuWXDL4qBuFP3L+4h2zx8hn3Tz/EDTMtcHk3JQO h/ppS+EN3i+/pkJE8Uw+6Qg5pzYLbfSWfwc1OMl0PoDlU2i7gJS9UDPbT0HsvaJ2j+YN gEwfASkIBmvDl98CfaH5YjgIBigpcgT+lixQs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vxMprX6eDnwdx/oQTcPD/U8dr5TSy+ach2WfJ9meP0xq1PMKdYPr6S0Mtl0OmjECl0 f93JWWSx49IRLNkRO8P0zqJGGw/1JUpgBFrCVVa91xsSS44WtePDLXtdKcxKVx5uY69h tSAFcQXPPHJcMeNmr7DaqYDwlDlm+2RhyOIWA=
On 20 February 2010 18:34, Marc Hohl <marc@xxxxxxxxxx> wrote:
> I don't know whether you followed the discussion between Carl and me
> closely,
I tried to, though it was difficult keeping up. :)
> but we ended up making \bend an *articulation* of a note (I wanted to use
> \bend
> as a spanner, but Carl convinced me not to do so). The main advantage is
> - as far as I can see - that it is possible to play intermediate notes
> between two
> bent notes by using the string information without explicitly creating
> spanners
> which would mean to use separate voices for each separate string involved.
But you're bending (sorry :) the implementation of the (much simpler)
String_bend_engraver to suit features you require for a TabStaff,
which seems to me an unnecessary complication.
I definitely think you'd be better off using a music function to
delimit the start and end points, then you can send individual
string-bend-events as required (either directly in the music function,
or via an iterator).
> Does this influence the performance very much? The engraver looks for a
> bend-event and saves a pitch information when there is none, otherwise
> he draws the bend.
Probably not.
> I pushed the patch as a discussion platform and furthermore, I want to
> archieve consensus before going further - I don't want to write an engraver
> if it is
> then told I should do it the other way.
What other way?
You'll definitely have to write an engraver in C++, since it won't be
possible using a scheme engraver (you can't set spanner bounds in
scheme).
Regards,
Neil
---
----
Join the Frogs!