Re: : Re: transpose range

2017-06-30 Thread Gianmaria Lari
Dear Peter, I only spent one hour on it and I have not been able to make it working as I need. It is not clear to me the value I have to set to set the instrument range from c, to b,. But I think that when I will have more time I should be able to modify your code for that. * * * By the way th

Re: : Re: transpose range

2017-06-29 Thread David Kastrup
"Peter Gentry" writes: > Gianmaria > > > > I have modified the procedure to use pitch-tones to define the > instrument range. It makes little difference to the result. > > > > I haven’t looked at the possibility of rebuilding the pitch just using > pitch-tones (yet) You would not want to d

RE: : Re: transpose range

2017-06-29 Thread Peter Gentry
Gianmaria I have modified the procedure to use pitch-tones to define the instrument range. It makes little difference to the result. I haven’t looked at the possibility of rebuilding the pitch just using pitch-tones (yet) Have you had any luck yet? \version "2.19.15" % -

Re: : Re: transpose range

2017-06-27 Thread Anthony Youngman
On 26/06/17 22:56, Peter Gentry wrote: dak@lola:/usr/local/tmp/lilypond$ lilypond scheme-sandbox GNU LilyPond 2.19.59 Processing `/usr/local/share/lilypond/2.19.59/ly/scheme-sandbox.ly' Parsing... guile> (apply - (map ly:pitch-tones (list #{ eis #} #{ fes #}))) 1/2 guile> -- David Kastrup A

Re: Transpose range Apology

2017-06-27 Thread David Kastrup
"Peter Gentry" writes: > Apologies you must think me some kind of retarded idiot. It's not uncommon for my attempts at joking to bounce. > I must learn to think a bit before mistyping rubbish but at 76 these > niceties seem a lost cause. I've given up much earlier than that. -- David Kastrup

Re: Transpose range Apology

2017-06-27 Thread Peter Gentry
Apologies you must think me some kind of retarded idiot. I must learn to think a bit before mistyping rubbish but at 76 these niceties seem a lost cause. Yes yes yes there is a problem with the tone tone semitone tone tone tone semitone notation and the octave note alteration calculation.

Re: : Re: transpose range

2017-06-26 Thread David Kastrup
"Peter Gentry" writes: > A semi tone difference is indeed noticeable but surely there is no > semitone between e sharp and f flat? There is. > It’s the same key on the piano! It isn't. > Where is the semitone? e sharp (a white key) is a semitone above f flat (another white key) and your prop

Re: : Re: transpose range

2017-06-26 Thread Gianmaria Lari
Thank you Peter and David for your help. I'll make some tests in the followings hours. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: : Re: transpose range

2017-06-26 Thread Thomas Morley
2017-06-26 23:56 GMT+02:00 Peter Gentry : > > > -Original Message- > From: David Kastrup [mailto:d...@gnu.org] > Sent: 26 June 2017 15:31 > To: Peter Gentry > Cc: Lilypond > Subject: Re: : Re: transpose range > > "Peter Gentry" writes: >

RE: : Re: transpose range

2017-06-26 Thread David Nalesnik
Hi, On Jun 26, 2017 4:57 PM, "Peter Gentry" wrote: -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: 26 June 2017 15:31 To: Peter Gentry Cc: Lilypond Subject: Re: : Re: transpose range "Peter Gentry" writes: > From: David Kastrup [mailto:d

RE: : Re: transpose range

2017-06-26 Thread Peter Gentry
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: 26 June 2017 15:31 To: Peter Gentry Cc: Lilypond Subject: Re: : Re: transpose range "Peter Gentry" writes: > From: David Kastrup [mailto:d...@gnu.org] > > "Peter Gentry" writes: &g

Re: : Re: transpose range

2017-06-26 Thread David Kastrup
"Peter Gentry" writes: > From: David Kastrup [mailto:d...@gnu.org] > > "Peter Gentry" writes: >> >> The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n >> 2) (/ a 2))) “op is a unique number representing the pitch of the >> note” > >> Uh, that's pretty bad since it sees eis as e

RE: : Re: transpose range

2017-06-26 Thread Peter Gentry
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: 26 June 2017 13:43 To: Peter Gentry Cc: 'Gianmaria Lari' ; Lilypond Subject: Re: : Re: transpose range "Peter Gentry" writes: > You will need to modify the attach file (instrument_ranges.ly

Re: : Re: transpose range

2017-06-26 Thread David Kastrup
"Peter Gentry" writes: > You will need to modify the attach file (instrument_ranges.ly) since you are > only interested in one instrument. > > > > A numeric pitch can be constructed from three components of the lilypond > pitch p > > > > 1.The octave o obtained from (ly:pitch-octave p

RE: : Re: transpose range

2017-06-26 Thread Peter Gentry
ck I hope this helps. From: Gianmaria Lari [mailto:gianmarial...@gmail.com] Sent: 25 June 2017 16:25 To: Peter Gentry Cc: Lilypond Subject: Re: : Re: transpose range Yes, I'm very much interested. I will use it with left hand bass note for standard bass accordion notation; for that w

: Re: transpose range

2017-06-25 Thread Peter Gentry
Yes there is a way but it has disadvantages. Often the result is awkward jumps. I indicate changed notes by note head style and colour so that it is easier to edit the results. If you are still interested let me know and I will send you the scheme procedure and an example. I allow for diff

Re: transpose range

2017-06-25 Thread Manuela Gößnitzer
You need to split the music expression, I cannot think of a different solution because \transpose c e, \music would be too low. 2017-06-25 10:29 GMT+02:00 Gianmaria Lari : > The result of a transpose operation sometimes generate notes that are too > high (or too low) for my needs. In this case