Re: [PATCHES] Re: Harp Pedals?

2008-09-01 Thread Carl D. Sorensen
Here's a cropped, 600 DPI png file. Carl On 8/31/08 5:07 AM, Francisco Vila [EMAIL PROTECTED] wrote: 2008/8/31 Carl D. Sorensen [EMAIL PROTECTED]: I've put together an oval-circle code that is less pointy than the ellipses. I've used two cubic bezier curves. I think I don't want to push

Re: [PATCHES] Re: Harp Pedals?

2008-09-01 Thread Francisco Vila
2008/9/2 Carl D. Sorensen [EMAIL PROTECTED]: Here's a cropped, 600 DPI png file. Much better than ellipses, IMHO -- Francisco Vila. Badajoz (Spain) http://www.paconet.org ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: [PATCHES] Re: Harp Pedals?

2008-08-31 Thread Carl D. Sorensen
I've put together an oval-circle code that is less pointy than the ellipses. I've used two cubic bezier curves. I think I don't want to push the changes until I get some concurrence from Reinhard and Francisco. I've attached a png output of the new code. What do you think? Carl On 8/29/08

Re: [PATCHES] Re: Harp Pedals?

2008-08-31 Thread Francisco Vila
2008/8/31 Carl D. Sorensen [EMAIL PROTECTED]: I've put together an oval-circle code that is less pointy than the ellipses. I've used two cubic bezier curves. I think I don't want to push the changes until I get some concurrence from Reinhard and Francisco. I've attached a png output of the

Re: [PATCHES] Re: Harp Pedals?

2008-08-29 Thread Trevor Daniels
PROTECTED] To: Reinhold Kainhofer [EMAIL PROTECTED]; Valentin Villenave [EMAIL PROTECTED] Cc: lilypond-devel@gnu.org Sent: Friday, August 29, 2008 4:17 AM Subject: Re: [PATCHES] Re: Harp Pedals? I want the equation of an ellipse that circumscribes a box 2a by 2b. x^2/xrad^2 + y^2/yrad^2 = 1

Re: [PATCHES] Re: Harp Pedals?

2008-08-29 Thread Carl D. Sorensen
On 8/29/08 2:03 AM, Trevor Daniels [EMAIL PROTECTED] wrote: Carl Why not use an ellipse that just fits _inside_ the rectangle? Because the object of the ellipse is to circle a rectangle. The rectangle is a filled box, and the ellipse is supposed to enclose it. Carl

Re: [PATCHES] Re: Harp Pedals?

2008-08-29 Thread Francisco Vila
Why not use an ellipse that just fits _inside_ the rectangle? Because the object of the ellipse is to circle a rectangle. The rectangle is a filled box, and the ellipse is supposed to enclose it. Have you considered that an ellipse could not be optically optimal for tiny sizes? Some tests

Re: [PATCHES] Re: Harp Pedals?

2008-08-29 Thread Carl D. Sorensen
On 8/29/08 10:45 AM, Francisco Vila [EMAIL PROTECTED] wrote: Why not use an ellipse that just fits _inside_ the rectangle? Because the object of the ellipse is to circle a rectangle. The rectangle is a filled box, and the ellipse is supposed to enclose it. Have you considered that an

Re: [PATCHES] Re: Harp Pedals?

2008-08-29 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 29. August 2008 schrieb Carl D. Sorensen: Some tests with inkscape show me that an ellipse (depending on the aspect ratio of the rectangle) could be a little too 'tall', but if the half-axes simply add a fixed amount in x and y to

Re: [PATCHES] Re: Harp Pedals?

2008-08-29 Thread Francisco Vila
2008/8/29 Reinhold Kainhofer [EMAIL PROTECTED]: Am Freitag, 29. August 2008 schrieb Carl D. Sorensen: Some tests with inkscape show me that an ellipse (depending on the aspect ratio of the rectangle) could be a little too 'tall', but if the half-axes simply add a fixed amount in x and y to

Re: [PATCHES] Re: Harp Pedals?

2008-08-29 Thread Trevor Daniels
Carl D. Sorensen Friday, August 29, 2008 3:25 PM On 8/29/08 2:03 AM, Trevor Daniels [EMAIL PROTECTED] wrote: Carl Why not use an ellipse that just fits _inside_ the rectangle? Because the object of the ellipse is to circle a rectangle. The rectangle is a filled box, and the ellipse is

Re: [PATCHES] Re: Harp Pedals?

2008-08-28 Thread Valentin Villenave
2008/8/19 Carl D. Sorensen [EMAIL PROTECTED]: I've been looking at ellipse code. Once I can get rhythms.itely off my plate (which is waiting on the beatGrouping patch, one way or the other) I'll add an ellipse in place of the circle. Hi Carl, I've been looking at a way to draw ellipses, but

Re: [PATCHES] Re: Harp Pedals?

2008-08-28 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 28. August 2008 schrieb Valentin Villenave: 2008/8/19 Carl D. Sorensen [EMAIL PROTECTED]: I've been looking at ellipse code. Once I can get rhythms.itely off my plate (which is waiting on the beatGrouping patch, one way or the

Re: [PATCHES] Re: Harp Pedals?

2008-08-28 Thread Carl D. Sorensen
I want the equation of an ellipse that circumscribes a box 2a by 2b. x^2/xrad^2 + y^2/yrad^2 = 1 (ellipse) needs to pass through the points (a,b), (-a,b), (a,-b), (-a,-b). Because of the squared terms, all four points have the same equation. a^2/xrad^2 + b^2/yrad^2 = 1 (1) There is an

Re: [PATCHES] Re: Harp Pedals?

2008-08-19 Thread Carl D. Sorensen
On 8/18/08 7:36 PM, Han-Wen Nienhuys [EMAIL PROTECTED] wrote: On Mon, Aug 18, 2008 at 7:47 PM, Carl D. Sorensen [EMAIL PROTECTED] wrote: Perhaps we should define a new interface -- instrument-specific-markup-interface. It would contain fret-diagram-details, harp-pedal-details,

Re: [PATCHES] Re: Harp Pedals?

2008-08-19 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Dienstag, 19. August 2008 schrieb Carl D. Sorensen: On 8/18/08 4:19 PM, Reinhold Kainhofer [EMAIL PROTECTED] wrote: Am Montag, 18. August 2008 schrieb Valentin Villenave: I've noticed you tagged this new markup command as music; although I'm

Re: [PATCHES] Re: Harp Pedals?

2008-08-19 Thread Carl D. Sorensen
On 8/19/08 11:19 AM, Reinhold Kainhofer [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Dienstag, 19. August 2008 schrieb Carl D. Sorensen: Done. I've now commited all my changes to master: - -) make-line-stencil markup function - -) harp pedals

Re: [PATCHES] Re: Harp Pedals?

2008-08-19 Thread Valentin Villenave
2008/8/19 Carl D. Sorensen [EMAIL PROTECTED]: One issue -- you've left a FIXME in the function for size lookup, but you are looking up size from the props, so I think the FIXME should go away. I believe this was actually mine :-) Cheers, Valentin

Re: [PATCHES] Re: Harp Pedals?

2008-08-19 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Dienstag, 19. August 2008 schrieb Valentin Villenave: 2008/8/19 Carl D. Sorensen [EMAIL PROTECTED]: One issue -- you've left a FIXME in the function for size lookup, Oops, yes, I missed this when cleaning up the code. but you are looking

[PATCHES] Re: Harp Pedals?

2008-08-18 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Han-Wen Nienhuys: On Sun, Aug 17, 2008 at 9:10 PM, Reinhold Kainhofer [EMAIL PROTECTED] wrote: Attached is a patch for stencil.scm, which adds a make-line-stencil that does exactly that: You call it as

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Reinhold Kainhofer: Am Montag, 18. August 2008 schrieb Han-Wen Nienhuys: On Sun, Aug 17, 2008 at 9:10 PM, Reinhold Kainhofer [EMAIL PROTECTED] wrote: Attached is a patch for stencil.scm, which adds a

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Neil Puttock
2008/8/18 Reinhold Kainhofer [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Han-Wen Nienhuys: On Sun, Aug 17, 2008 at 9:10 PM, Reinhold Kainhofer [EMAIL PROTECTED] wrote: Attached is a patch for stencil.scm, which adds a

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Valentin Villenave
2008/8/18 Reinhold Kainhofer [EMAIL PROTECTED]: Done, patch is attached. Okay to apply? Reinhold, this is great! I've noticed you tagged this new markup command as music; although I'm fine with it, I wonder if there would be a proper way to regroup all fret-diagrams and harp-pedal-diagrams in

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Carl D. Sorensen
On 8/18/08 3:41 PM, Valentin Villenave [EMAIL PROTECTED] wrote: 2008/8/18 Reinhold Kainhofer [EMAIL PROTECTED]: Done, patch is attached. Okay to apply? Reinhold, this is great! I've noticed you tagged this new markup command as music; although I'm fine with it, I wonder if there would

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Neil Puttock: 2008/8/18 Reinhold Kainhofer [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Han-Wen Nienhuys: On Sun, Aug 17, 2008 at 9:10 PM, Reinhold

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Valentin Villenave: I've noticed you tagged this new markup command as music; although I'm fine with it, I wonder if there would be a proper way to regroup all fret-diagrams and harp-pedal-diagrams in a same

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Carl D. Sorensen
On 8/18/08 4:19 PM, Reinhold Kainhofer [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Valentin Villenave: I've noticed you tagged this new markup command as music; although I'm fine with it, I wonder if there would be a proper

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Carl D. Sorensen: P.S. Reinhold, I haven't checked the code yet. Have you put harp-diagram-details as part of the text interface? I think it should go there, since it is a markup. No, I haven't. I simply looked

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Carl D. Sorensen
On 8/18/08 4:29 PM, Reinhold Kainhofer [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 18. August 2008 schrieb Carl D. Sorensen: P.S. Reinhold, I haven't checked the code yet. Have you put harp-diagram-details as part of the text interface? I think it

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Neil Puttock
2008/8/18 Reinhold Kainhofer [EMAIL PROTECTED]: lilypond --version produces 2.11.56 here. Why should I be using 2.11.57? Because you're implementing features which aren't available in release 2.11.56. Regards, Neil ___ lilypond-devel mailing list

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Valentin Villenave
2008/8/19 Carl D. Sorensen [EMAIL PROTECTED]: I like instrument as the category. Yes. instrument is the way to go indeed. Maybe Instrument-specific markups, since we are talking about an appendix of all defined markups? Yes. Instrument-specific markups is great -- and self-explanatory

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Carl D. Sorensen
On 8/18/08 4:58 PM, Valentin Villenave [EMAIL PROTECTED] wrote: 2008/8/19 Carl D. Sorensen [EMAIL PROTECTED]: I like instrument as the category. Yes. instrument is the way to go indeed. Maybe Instrument-specific markups, since we are talking about an appendix of all defined markups?

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Dienstag, 19. August 2008 schrieb Neil Puttock: 2008/8/18 Reinhold Kainhofer [EMAIL PROTECTED]: lilypond --version produces 2.11.56 here. Why should I be using 2.11.57? Because you're implementing features which aren't available in release

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Graham Percival
On Tue, 19 Aug 2008 01:11:51 +0200 Reinhold Kainhofer [EMAIL PROTECTED] wrote: Am Dienstag, 19. August 2008 schrieb Neil Puttock: 2008/8/18 Reinhold Kainhofer [EMAIL PROTECTED]: lilypond --version produces 2.11.56 here. Why should I be using 2.11.57? Because you're implementing

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Carl D. Sorensen
On 8/18/08 4:47 PM, Carl D. Sorensen [EMAIL PROTECTED] wrote: applies to TextScript objects. (I've stated this twice, because I'm talking about two different directions -- from the grob to the property and from the grob to the property). Of course I meant from the grob to the property and

Re: [PATCHES] Re: Harp Pedals?

2008-08-18 Thread Han-Wen Nienhuys
On Mon, Aug 18, 2008 at 7:47 PM, Carl D. Sorensen [EMAIL PROTECTED] wrote: Perhaps we should define a new interface -- instrument-specific-markup-interface. It would contain fret-diagram-details, harp-pedal-details, clarinet-diagram-details (once the woodwind diagrams get added, etc. Then