Re: dotted semicircle indicating harmonics

2018-07-07 Thread Pierre Perol-Schneider
Hi Orm, I've already add a snippet here: http://lsr.di.unimi.it/LSR/Item?id=1068 May I change the code with the 2nd version? Cheers, Pierre 2018-07-07 19:11 GMT+02:00 Orm Finnendahl < orm.finnend...@selma.hfmdk-frankfurt.de>: > Hi Pierre, Sylvius, > > I did some tests to get a better understandi

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Orm Finnendahl
Hi Pierre, Sylvius, I did some tests to get a better understanding of lilypond's handling of markup. Below is an even more condensed version and also an iterative solution in comparison for anybody interested in scheme programming: Both functions should create the same result; the first is somewh

Re: dotted semicircle indicating harmonics

2018-07-07 Thread sylvius
This is brilliant! Thanks to all for the various solutions! > On 7. Jul 2018, at 16:18, Pierre Perol-Schneider > wrote: > > But of course !! Thanks very much Orm ! > Cheers, > Pierre > > 2018-07-07 16:15 GMT+02:00 Orm Finnendahl > : > Hi Pierre, > > Am Samstag, den 07. Juli 2018 um 15:54:41

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Pierre Perol-Schneider
But of course !! Thanks very much Orm ! Cheers, Pierre 2018-07-07 16:15 GMT+02:00 Orm Finnendahl < orm.finnend...@selma.hfmdk-frankfurt.de>: > Hi Pierre, > > Am Samstag, den 07. Juli 2018 um 15:54:41 Uhr (+0200) schrieb Pierre > Perol-Schneider: > > Plus : any idea why 'testTwo does not work ? >

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Orm Finnendahl
Hi Pierre, Am Samstag, den 07. Juli 2018 um 15:54:41 Uhr (+0200) schrieb Pierre Perol-Schneider: > Plus : any idea why 'testTwo does not work ? because the argument type of "arg" was string?. Below is the updated version: -- Orm %circled-pattern #(define-markup-command (circled-pattern layo

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Pierre Perol-Schneider
Also to avoid the 360° misscount : %circled-pattern #(define-markup-command (circled-pattern layout props radius angle num arg) (number? number? number? string?) (let* ((rep (if (eq? angle 360)(abs num)(- (abs num) 1))) (the-form (if (eq? num 0) (markup "") (

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Pierre Perol-Schneider
Well, not sure actually, since it's problematic with 0, 1 , -1. So how about : %circled-pattern #(define-markup-command (circled-pattern layout props radius angle num arg) (number? number? number? string?) (let* ((rep (- (abs num) 1)) (the-form (if (eq? num 0) (markup ""

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Orm Finnendahl
Hi List, for conciseness the example should be reduced even more (if someone wants to post it to LSR I'd recommend this version). %circled-pattern #(define-markup-command (circled-pattern layout props radius angle num arg) (number? number? number? string?) (interpret-markup layout props

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Pierre Perol-Schneider
Brilliant Orm! Thank you very much. Cheers, Pierre 2018-07-07 14:39 GMT+02:00 Orm Finnendahl < orm.finnend...@selma.hfmdk-frankfurt.de>: > Hi Pierre, > > I corrected your example (see below). It should work now. > > -- > Orm > > > Am Samstag, den 07. Juli 2018 um 13:11:25 Uhr (+0200) schrieb Pie

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Orm Finnendahl
Hi Pierre, I corrected your example (see below). It should work now. -- Orm Am Samstag, den 07. Juli 2018 um 13:11:25 Uhr (+0200) schrieb Pierre Perol-Schneider: > Hi All, > > I'm not sure that a poscript would be ideal. > I'm thinking about a pattern markup command that would do : > > \mar

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Pierre Perol-Schneider
Hi All, I'm not sure that a poscript would be ideal. I'm thinking about a pattern markup command that would do : \markup{ \combine \null \combine \concat { \null \hspace #5 "." } \combine \rotate #(* 1 (/ 90 7)) \concat { \null \hspace #5 "." } \combine \rotate #(* 2 (/ 90 7)) \co

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Aaron Hill
On 2018-07-07 02:51, sylvius wrote: I still would like to know how to achieve a dotted semicircle but it’s probably a matter of PostScript rather than LilyPond. Unfortunately I’m not very proficient with PostScript and so far I haven’t found a solution in various internet researches. Does any

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Andrew Bernard
Hi Sylvius, I knew everybody would discourage you and suggest modern harmonic notation! Anyway, I can do the postscript for you. Give me a couple of days. Although it can be said that some performers stumble over old notations, I quite like them, especially in the 17-18c works I engrave and play.

Re: dotted semicircle indicating harmonics

2018-07-07 Thread sylvius
> On 7. Jul 2018, at 09:36, Thomas Morley wrote: > > Hi, > > regarding your mail-adress I suppose you typeset a piece from Sylvius > Leopold Weiss, copying an old transkription. From the image likely: > lute-tablature to guitar-notation. > > If that's true, there would be no reason to exactly

Re: dotted semicircle indicating harmonics

2018-07-07 Thread Thomas Morley
2018-07-06 21:33 GMT+02:00 Simon Albrecht : > Hi Sylvius, > > this is most certainly not the answer you’re looking for, but may still be > the best way to go: don’t replicate the exact notation at all. There are > other ways to indicate harmonics, and this one is quite unusual (= likely to > cause

Re: dotted semicircle indicating harmonics

2018-07-06 Thread Simon Albrecht
Hi Sylvius, this is most certainly not the answer you’re looking for, but may still be the best way to go: don’t replicate the exact notation at all. There are other ways to indicate harmonics, and this one is quite unusual (= likely to cause unnecessary distraction) and really not idiomatic f

Re: dotted semicircle indicating harmonics

2018-07-06 Thread sylvius
Hi Andrew, > On 6. Jul 2018, at 16:09, Andrew Bernard wrote: > > Hi Sylvius, > > Before answering your question, you have version 2.21.0. Where is this from? It’s a development version from git. Sylvius > > Andrew > > ___ > lilypond-user mailing

Re: dotted semicircle indicating harmonics

2018-07-06 Thread David Kastrup
Andrew Bernard writes: > Hi Sylvius, > > Before answering your question, you have version 2.21.0. Where is this from? Just means that he is compiling from current master. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://

Re: dotted semicircle indicating harmonics

2018-07-06 Thread Andrew Bernard
Hi Sylvius, Before answering your question, you have version 2.21.0. Where is this from? Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

dotted semicircle indicating harmonics

2018-07-06 Thread sylvius
Hi all, I’m trying to draw a dotted semicircle above and below a note head to indicate harmonics (as shown in the picture). This is what I’ve achieved so far with LilyPond but it’s far from perfect. (I didn’t manage to typeset a dotted semicircle. There still are some collisions…) \vers