[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: : Re: transpose range
From: |
Peter Gentry |
Subject: |
RE: : Re: transpose range |
Date: |
Mon, 26 Jun 2017 15:19:25 +0100 |
-----Original Message-----
From: David Kastrup [mailto:address@hidden
Sent: 26 June 2017 13:43
To: Peter Gentry <address@hidden>
Cc: 'Gianmaria Lari' <address@hidden>; Lilypond <address@hidden>
Subject: Re: : Re: transpose range
"Peter Gentry" <address@hidden> 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))
> 2. The note n obtained from (ly:pitch-notename p))
> 3. The semitone a obtained from the alteration (* 4
> (ly:pitch-alteration p)) note alteration is in quarter tone steps
>
>
>
> 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 equal to fes. Anything wrong with
just using (ly:pitch-tones p) instead?
--
David Kastrup
a. I had not heard of ly:pitch-tones p)
b. for most folks eis is the same sound as fes. Neither my battered old ears or
my tuner could detect the difference. 😊
- : Re: transpose range, Peter Gentry, 2017/06/25
- Re: : Re: transpose range, Gianmaria Lari, 2017/06/25
- RE: : Re: transpose range, Peter Gentry, 2017/06/26
- Re: : Re: transpose range, David Kastrup, 2017/06/26
- RE: : Re: transpose range,
Peter Gentry <=
- Re: : Re: transpose range, David Kastrup, 2017/06/26
- RE: : Re: transpose range, Peter Gentry, 2017/06/26
- RE: : Re: transpose range, David Nalesnik, 2017/06/26
- Re: : Re: transpose range, Thomas Morley, 2017/06/26
- Re: : Re: transpose range, David Kastrup, 2017/06/27
- Re: : Re: transpose range, Anthony Youngman, 2017/06/27
- Re: : Re: transpose range, Gianmaria Lari, 2017/06/26
- Message not available
- Message not available
- RE: : Re: transpose range, Peter Gentry, 2017/06/29
- Re: : Re: transpose range, David Kastrup, 2017/06/29
- Re: : Re: transpose range, Gianmaria Lari, 2017/06/30