Commit Graph

8 Commits

Author SHA1 Message Date
Jim Hague 3fc263e207 Try Cello transposition algorithm again. 2015-12-13 22:47:24 +00:00
Jim Hague 5dcb49f712 Try to be cleverer when transposing for cello.
Jane says: Am most comfortable between the bottom G (the bottom line of the bass clef) and top D (the note above middle C), but can play from bottom C upwards (the C string is a bit growly) and at a push can get as high as the A above middle C.

Implement the following rule:

1. If range is G to d', transpose down 2 octaves.
2. If lowest note is < C, transpose down 1 octave.
3. Otherwise calculate the distance above d for the highest note on a one
   octave transposition, and the distance below G on a two octave
   transposition. Find the smallest, and use the corresponding
   transposition.
2013-08-13 00:51:43 +01:00
Jim Hague e26974292c Add abcrange.py to return the range of a tune, and use it in instrument transposition.
This lets us transpose on boundaries that aren't octave boundaries.
2013-07-18 15:27:57 +01:00
Jim Hague 204de8894f Add instrument name into title page for transpositions. 2013-06-21 20:00:54 +01:00
Jim Hague b5ce2d9d39 Add 'clef=bass' into the converted output.
This doesn't affect output from abcm2ps, which assumes bass clef for a middle=D,
but I like the idea of being more explicit.
2013-02-20 12:48:02 +00:00
Jim Hague 533c08cb4f Finish first version of newly tarted up website. 2013-02-17 00:27:07 +00:00
Jim Hague dd0f097fe0 Have a go at being slightly more intelligent in the cello transposition. 2013-02-04 13:50:20 +00:00
Jim Hague 5ecc21d25c Produce a cello-friendly Booke.
Transpose down 2 octaves and display with bass clef.
2012-06-05 19:34:54 +01:00