Re: another fingering question

2004-08-25 Thread Cameron Horsburgh
 I don't know whether I'd be better off hard-coding the entire range of
 notes - about three octaves or more - or specifying all the open notes
 then specifying the fingering from the open note above.
This has been an interesting discussion! I hadn't thought about the
implications of hard-writing fingerings into music to be transposed.
A related (but much harder) problem is the situation where an arranger
specifies alternative fingerings. Apart from the suggested case of
tutorials for beginning students, this would be the most common use of
the fingering facility in brass music (and, I dare say, other types of
instrument as well.)
This would be quite difficult to automate, because there will be more
than one alternative for most notes of the second two octaves. Apart
from a simple 1-2 -- 3 substitution, knowing how to choose one apart
from the rest would be guess work.
I would suggest some sort of hash table (similar to the definitions for
drumStaffs) for fingerings. You may be able to suggest a default, and
allow arrangers to substitute their own definitions as appropriate. Of
course, if an arranger is going to go to the trouble of defining all
this it may be easier to manually go through the score and change
everything by hand.
How easy this is to do in the real world I don't know, but I'll be very
interested to see what you come up with. Thanks for giving it a go!
Cameron
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: another fingering question

2004-08-23 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes:
 
 ^ and _ are provided as a shorthand for:
 
   \override Script #'direction = UP/DOWN
 
 My only comment here is that (when using \markup) it does not appear to 
 be a shorthand for *override*. It seems to be a shorthand for *specify*. 
 In other words, an override is optional - but IME (2.2) ^ and _ are a 
 necessity.

no, you can also leave out the direction, eg.

 c-4

   \markup { \finger DIGIT }
 
 Jan.
 
 Seeing as we're discussing this, is there a mechanism whereby fingering 
 can be added automatically? For example,  bes'  would always 
 automatically be fingered 1 (brass players will recognise a transposed 
 Bb :-)

No, but I can code it up for you, if you like! Very cheap, only $25
:-)

-- 

 Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.xs4all.nl/~hanwen 



___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: another fingering question

2004-08-23 Thread Anthony W. Youngman
In message [EMAIL PROTECTED], Han-Wen Nienhuys 
[EMAIL PROTECTED] writes
[EMAIL PROTECTED] writes:

^ and _ are provided as a shorthand for:

  \override Script #'direction = UP/DOWN
My only comment here is that (when using \markup) it does not appear to
be a shorthand for *override*. It seems to be a shorthand for *specify*.
In other words, an override is optional - but IME (2.2) ^ and _ are a
necessity.
no, you can also leave out the direction, eg.
c-4
Sorry, wrong example!
I did say - when using \markup.
So (this is from memory) if I do c\markup{ mute } it fails, but 
changing it to c^\markup{ mute } works fine.

I might have got my syntax wrong (probably have) but adding the ^ or _ 
was the difference between it working and failing! Having written my 
stuff without them, I was forced to add them to every occurrence in 
order to get it to work.

  \markup { \finger DIGIT }

Jan.

Seeing as we're discussing this, is there a mechanism whereby fingering
can be added automatically? For example,  bes'  would always
automatically be fingered 1 (brass players will recognise a transposed
Bb :-)
No, but I can code it up for you, if you like! Very cheap, only $25
:-)
If I get the time, I'll code it myself (I want to learn) but what it 
would need is some way of specifying the fundamental note (eg for a 
trumpet I would choose concert B flat below middle C), and once you've 
got that note the fingering for every valved brass instrument is 
identical relative to that note. And for my own instrument (the slide 
trombone) the principle if not practice is the same :-)

Cheers,
Wol
--
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
HEX wondered how much he should tell the Wizards. He felt it would not be a
good idea to burden them with too much input. Hex always thought of his reports
as Lies-to-People.
The Science of Discworld : (c) Terry Pratchett 1999
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: another fingering question

2004-08-23 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes:
 In message [EMAIL PROTECTED], Han-Wen Nienhuys 
 [EMAIL PROTECTED] writes
 [EMAIL PROTECTED] writes:
  
  ^ and _ are provided as a shorthand for:
  
\override Script #'direction = UP/DOWN
 
  My only comment here is that (when using \markup) it does not appear to
  be a shorthand for *override*. It seems to be a shorthand for *specify*.
  In other words, an override is optional - but IME (2.2) ^ and _ are a
  necessity.
 
 no, you can also leave out the direction, eg.
 
  c-4
 
 Sorry, wrong example!
 
 I did say - when using \markup.

c-\markup{ .. }

without the -  Lilypond will interpret the \markup as a lyric syllable.

  Seeing as we're discussing this, is there a mechanism whereby fingering
  can be added automatically? For example,  bes'  would always
  automatically be fingered 1 (brass players will recognise a transposed
  Bb :-)
 
 No, but I can code it up for you, if you like! Very cheap, only $25
 :-)
 
 If I get the time, I'll code it myself (I want to learn) but what it 
 would need is some way of specifying the fundamental note (eg for a 
 trumpet I would choose concert B flat below middle C), and once you've 

Try writing a music function, which takes the fundamental as an extra
argument.

-- 

 Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.xs4all.nl/~hanwen 



___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: another fingering question

2004-08-23 Thread Anthony W. Youngman
In message [EMAIL PROTECTED], Han-Wen Nienhuys 
[EMAIL PROTECTED] writes
If I get the time, I'll code it myself (I want to learn) but what it
would need is some way of specifying the fundamental note (eg for a
trumpet I would choose concert B flat below middle C), and once you've
Try writing a music function, which takes the fundamental as an extra
argument.
I'd have to add the fundamental as some staff property or whatever - 
just like you specify \transpose I'd specify the fundamental there.

So's I would just modify the notehead engraver or similar, and it would 
say if the note is x semitones above the fundamental, then the 
fingering is y.

I don't know whether I'd be better off hard-coding the entire range of 
notes - about three octaves or more - or specifying all the open notes 
then specifying the fingering from the open note above.

Cheers,
Wol
--
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
HEX wondered how much he should tell the Wizards. He felt it would not be a
good idea to burden them with too much input. Hex always thought of his reports
as Lies-to-People.
The Science of Discworld : (c) Terry Pratchett 1999
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: another fingering question

2004-08-12 Thread David Raleigh Arnold
On Wednesday 11 August 2004 05:07 pm, Carl D. Sorensen wrote:
 You have a syntax error, which is easily remedied.

 Instead of c-5, you change to c_5 to force the markup below and c^5
 to force it above.

 You never use c_-5.

-4 4- and 3-4 are all very useful in fingering, and they have been
requested and used for years.  Why should c_-5 c^5- or c_5-4 remain a
problem?  Anyone who wants a default fingering could put a hyphen on the
*first* fingering, and then they would all be as now.

 c_-5_-4^3-^1- would work

c-5-4-3-1 would work

c--5_-4^3-^1- would not work.

-- 
Paying more at the gas pump?  Bush's Oil Sheikh Buddies, who support Al
Qaeda, Palestinian terrorists,  hate-U.S. school systems everywhere,
need more of your money now to arm and pay Iraqis to kill Americans.
D. Raleigh Arnold dra@ (http://www.) openguitar.com [EMAIL PROTECTED]



___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: another fingering question

2004-08-12 Thread Jan Nieuwenhuizen
David Raleigh Arnold writes:

 -4 4- and 3-4 are all very useful in fingering, and they have been
 requested and used for years.  Why should c_-5 c^5- or c_5-4 remain a
 problem?

You're just trolling, right?

Anyway, there's this tiny implementation detail called language
specification that someone needs to deal with.  See lily/parser.yy

^ and _ are provided as a shorthand for:

  \override Script #'direction = UP/DOWN

and [^_-]DIGIT is a shorhand for

  \markup { \finger DIGIT }

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


another fingering question

2004-08-11 Thread Carl D. Sorensen
You have a syntax error, which is easily remedied.

Instead of c-5, you change to c_5 to force the markup below and c^5 to
force it above.

You never use c_-5.

Carl

Carl D. Sorensen
Department of Mechanical Engineering
Brigham Young University
435 CTB
Provo, UT 84602 
801-422-6397FAX 801-422-0516


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


another fingering question

2004-08-10 Thread korneel bernolet
how to add the fingerings BELOW the notes ?  (in the bottom piano staff)
i tried eg. c_-5 but this does not work...
any suggestions ?
thx a lot
korneel
_
New: download more than 350.000 tracks starting from € 0,80! 
http://entertainment.msn.be/muziek/musicclub


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: another fingering question

2004-08-10 Thread Mats Bengtsson
Hopefully, you can find the answer at
http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/Articulations.html#Articulations
If not, we should clarify the manual.
   /Mats
korneel bernolet wrote:
how to add the fingerings BELOW the notes ?  (in the bottom piano staff)
i tried eg. c_-5 but this does not work...
any suggestions ?
thx a lot
korneel
_
New: download more than 350.000 tracks starting from  0,80! 
http://entertainment.msn.be/muziek/musicclub


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user