Re: scale notehead X and Y independently

2011-03-17 Thread Tim Sheasby
Thanks Robin. This does exactly what I need. I will use this to optically tweak 
note heads before trying to patch the fonts again. Lets me optically align the 
mi and do.

On 17 Mar 2011, at 2:06 AM, Robin Bannister wrote:

 Tim Sheasby wrote: 
 how do I apply it to a specific note in a \set shapeNoteStyles context 
Well, I'm not sure what you're aiming for, but try this: 
 miNarrow = #(lambda (grob)(if (eqv? (ly:grob-property grob 'style) 
 'miMirror)
 (ly:stencil-scale (ly:note-head::print grob) 0.5 1.5)
 (ly:note-head::print grob)))
  \relative c' {
   \override NoteHead #'stencil = #miNarrow
   \aikenHeads
   c e4
   c e4
 }
Cheers, Robin
 
 miNarrow.png

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: scale notehead X and Y independently

2011-03-16 Thread Tim Sheasby
Sorry, it's taken me a while to get back to this. This works fine but how do I 
apply it to a specific note in a \set shapeNoteStyles context. Tried the 
following for example but not working.

---8-
miNarrow = {
\musicglyph #noteheads.s1mi
#(lambda (grob) (ly:stencil-scale
(ly:note-head::print grob) 0.95 1.05))
}

aikenHeads = {
\set shapeNoteStyles = #'#(do re miNarrow fa sol la ti)
}

\key c
\relative c' {
\aikenHeads
c e4
c e4
}
---8-

On 27 Feb 2011, at 12:53 AM, Robin Bannister wrote:

 Tim Sheasby wrote:
 Can a notehead be scaled by different factors in the x and y directions?
In the recent development versions (starting with 2.13.38) you can. The 
 following snippet uses an X-factor of 2:
wideNH = #(lambda (grob) (ly:stencil-scale (ly:note-head::print grob) 2 1))
 
 {
 b'4 g'4  \override NoteHead #'stencil = #wideNH
 b'4 g'4
 }
Cheers, Robin
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Compile for Mac

2011-03-10 Thread Tim Sheasby
Using lilydev on a Virtual Box ubuntu machine – how do I compile a Mac binary?

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Compile for Mac

2011-03-10 Thread Tim Sheasby
Ok -- heart just fainted : (  -- will let others do it
On 11 Mar 2011, at 2:12 AM, Graham Percival wrote:

 On Thu, Mar 10, 2011 at 10:24:12PM +, Neil Puttock wrote:
 On 10 March 2011 22:08, Tim Sheasby t...@sheafpublishing.co.za wrote:
 Using lilydev on a Virtual Box ubuntu machine – how do I compile a Mac 
 binary?
 
 Via GUB: http://lilypond.org/gub/
 
 It's not for the faint of heart, but should be possible (if very slow)
 on a virtual machine.
 
 Seconded on the not for faint of heart, and my guess is that it
 would take something like 24 hours to compile a binary inside
 lilydev.
 
 If you seriously seriously want to compile lilypond binaries,
 install ubuntu natively, preferably on a multi-core machine.  On
 my duo-core machine with hyperthreading (i.e. 4 threads at once)
 and 3 gigs of RAM, it takes about 12 hours to compile everything.
 
 Cheers,
 - Graham

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Tonic Sol-Fa

2011-03-07 Thread Tim Sheasby
I know that LilyPond does not currently support Tonic Sol-Fa notation. However, 
in my work on African Hymn I found that many Africans are familiar with this 
form of notation. Most of my source material was originally set using this 
format. I devised a spreadsheet with formulas to convert bars of tonic sol-fa 
into lilypond notation. Actually it just converts the d, m, r, f etc to the 
appropriate a, b, c etc based on the key of the song. I added shortcuts for 
adding rests and skips as well - simply using SS instead of s and RR instead of 
r. Once I have entered the notes simply copy the converted columns into 
LilyPond and voila! 
Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPond 2.13.52

2011-03-03 Thread Tim Sheasby
Tried to make a simpler version but looks like Keith OHara beat me to it. Issue 
resolved!

On 02 Mar 2011, at 7:18 PM, Carl Sorensen wrote:

 On 3/2/11 3:12 AM, Tim Sheasby t...@sheafpublishing.co.za wrote:
 
 Difficult to create a snippet because my template is quite complex. Here is a
 screenshot of the problem.
 
 
 We can't debug with just a screenshot.
 
 If you give us a Tiny Example [1] then we can figure out what's going on.
 
 Thanks,
 
 Carl
 
 
 1. http://lilypond.org/tiny-examples.html
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Learning Scheme

2011-03-03 Thread Tim Sheasby
Wanting to get more involved in LilyPond. Would like to learn Scheme. What is 
the best tutorial to get going? Thanks

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


LilyPond 2.13.52

2011-03-02 Thread Tim Sheasby
Tested 2.23.52 this morning. Looks like Pango font problem is gone, thanks.
New bug: Bottom line of my lyrics runs into the bottom staff.


Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to wreathe crescendo ?

2011-03-02 Thread Tim Sheasby
On 02 Mar 2011, at 11:57 AM, Francisco Vila wrote:Printed material is commonly made with very high-resolution renderers. I don't know exactly: ten thousand dots per inch? Maybe not thatmuch, but high enough so you can not see the 'stairs'.-- Francisco Vila. Badajoz (Spain)www.paconet.org , www.csmbadajoz.com___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-userUsed to work in a DTP bureau. Resolution is anything between 1000 and 3600 dpi on an imagesetter. Most default to 1200 or 2400 dpi.Effectively eliminating visible stairs as you pointed out.
Tim Sheasbyt...@sheafpublishing.co.za

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MF fonts

2011-02-28 Thread Tim Sheasby
Thanks again for all the suggestions for the alternative mi
I have successfully compiled the new font with a miNarrow character. This 
character has been horizontally scaled back to 100% and vertically scaled 110%. 
Will submit the update for approval later. Here is a png showing both versions 
of the mi in practice.
inline: miNarrow.png

Snippet:

\relative c' { 
\set shapeNoteStyles = #'#(do re miNarrow fa #f la ti)
c e c' e2 q4 q
\aikenHeads
q2 q4 q
}

On 27 Feb 2011, at 5:52 PM, Graham Percival wrote:

 On Sun, Feb 27, 2011 at 05:38:46PM +0200, Tim Sheasby wrote:
 Added narrow versions of Mi to mf source file. Having problems
 getting the dependencies set up so I can compile it in Mac OS X
 Snow Leopard. Have been using MacPorts to accomplish this but it
 fails when I try to install FontForge. Don't want to make the
 version public till I know it will work. Might try in Ubuntu
 through VirtualBox.
 
 I hope that you have read this:
 http://lilypond.org/help-us.html
 and especially this:
 http://lilypond.org/doc/v2.13/Documentation/contributor/quick-start.html
 
 Cheers,
 - Graham
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MF fonts

2011-02-28 Thread Tim Sheasby
Carl,
I agree perhaps the mi and do could be a smidgeon wider for optical equivalence 
with the sol.
I am using an include file for my hymn book with a line that redefines 
\aikenHeads to use my modified mi so if this becomes the default I simply have 
to drop that definition from the include file.

---8---8---

%   -- Change to shaped noteheads
aikenHeads = { \set shapeNoteStyles = #'#(do re miNarrow fa #f la ti) }

---8---8---

On 01 Mar 2011, at 12:55 AM, Carl Sorensen wrote:

 On 2/28/11 3:32 AM, Tim Sheasby t...@sheafpublishing.co.za wrote:
 
 Thanks again for all the suggestions for the alternative mi
 I have successfully compiled the new font with a miNarrow character. This
 character has been horizontally scaled back to 100% and vertically scaled
 110%. Will submit the update for approval later. Here is a png showing both
 versions of the mi in practice.
 
 Tim, 
 
 This is great work!  Thanks for jumping in to it.
 
 In looking at your images, it seems to me that the narrow head should be the
 default used for shape notes, rather than the wide head.  The wide head may
 have the advantage of looking more optically equivalent, but I think the
 stacking problem as demonstrated in your example is reqlly quite ugly.
 
 If we're going to continue to use a wide mi head, we should probably widen
 the do head a bit too.
 
 Before accepting this patch, I'd like to see if the shape note community
 thinks we ought to make Tim's work the default (maybe only) mi head.
 
 Thanks,
 
 Carl
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MF fonts

2011-02-27 Thread Tim Sheasby
Thanks for the suggestions. Will try to compile Emmentaler with a new narrow 
version of the MI but perhaps slightly deeper so it looks big enough. Examining 
an old but beautiful book I have has all notes the same width but the Mi seems 
to extend a tiny bit higher/lower than other notes. Probably for optical 
purposes.
Otherwise I might take a short cut and redefine the size of the mi using the 
stencil-scale option.

On 26 Feb 2011, at 6:55 PM, Carl Sorensen wrote:

 On 2/26/11 9:45 AM, Xavier Scheuer x.sche...@gmail.com wrote:
 
 On 26 February 2011 17:11, Carl Sorensen c_soren...@byu.edu wrote:
 
 Finally, regarding your question about scaling note heads.  It is possible
 to scale a note head differently in x and y if you are using it in a markup,
 but as far as I know, there is no way to scale it differently in x and y as
 a note head in the music.
 
 I'm not a dev but it should be possible to scale all the note heads
 (i.e. not only the mi) by using  ly:stencil-scale , I think.
 
 If one wanted to scale *all* of the note heads, one could do that, by
 overriding the stencil property of NoteHead.
 
 \override NoteHead #'stencil = #(lambda (grob) (ly:stencil-scale
 (ly:note-head::print grob) x-scale-factor y-scale-factor))
 
 Note that I have *not* tested this code, so it may be slightly wrong in some
 detail.  But the general idea is right.
 
 However, this doesn't solve Tim's original problem, I think.
 
 HTH,
 
 Carl
 

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MF fonts

2011-02-27 Thread Tim Sheasby
Added narrow versions of Mi to mf source file. Having problems getting the 
dependencies set up so I can compile it in Mac OS X Snow Leopard. Have been 
using MacPorts to accomplish this but it fails when I try to install FontForge. 
Don't want to make the version public till I know it will work. Might try in 
Ubuntu through VirtualBox.


On 27 Feb 2011, at 4:54 PM, Carl Sorensen wrote:

 
 
 
 On 2/27/11 4:09 AM, Tim Sheasby t...@sheafpublishing.co.za wrote:
 
 Thanks for the suggestions. Will try to compile Emmentaler with a new narrow
 version of the MI but perhaps slightly deeper so it looks big enough.
 Examining an old but beautiful book I have has all notes the same width but
 the Mi seems to extend a tiny bit higher/lower than other notes. Probably for
 optical purposes.
 Otherwise I might take a short cut and redefine the size of the mi using the
 stencil-scale option.
 
 Yet another possibility is to convince the shape-note community that your mi
 shape is better.
 
 A scan from your beautiful book, coupled with a .png of the current output
 and a .png of the output if you just reshape the mi head in the current
 Aiken font might be just the ticket.
 
 There is a fasoli yahoo group: http://groups.google.com/group/fasoli
 
 It's a private group, so you'll need to join.
 
 There's also a website: http://www.hosorembo.com/Lily/Lilindex.html
 
 There's a wiki page on shape note aesthetics:
 http://wiki.lilynet.net/index.php/Shapenote_notehead_aesthetics
 
 I ended up doing the shape note heads because I knew metafont (actually, I
 learned metafont to do the note heads, IIRC).  But I'm not a shape note
 singer.  So I'm not the best judge of aesthetics.
 
 Previous discussion on shape note aesthetics can be found at
 http://code.google.com/p/lilypond/issues/detail?id=1060
 
 and
 
 http://code.google.com/p/lilypond/issues/detail?id=602
 
 At any rate, I'd love to have your input in making shape note heads right.
 
 Thanks,
 
 Carl
 
 
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MF fonts

2011-02-27 Thread Tim Sheasby
Thanks Carl but had just thought I might try to compile it myself with Ubuntu 
in VirtualBox when Graham pointed me to the help-us page and the lily-dev 
setup. Will try that first. Keeping my fingers crossed.

On 27 Feb 2011, at 5:51 PM, Carl Sorensen wrote:

 On 2/27/11 8:38 AM, Tim Sheasby t...@sheafpublishing.co.za wrote:
 
 Added narrow versions of Mi to mf source file. Having problems getting the
 dependencies set up so I can compile it in Mac OS X Snow Leopard. Have been
 using MacPorts to accomplish this but it fails when I try to install
 FontForge. Don't want to make the version public till I know it will work.
 Might try in Ubuntu through VirtualBox.
 
 Send me a patch and I'll build it for you.
 
 Thanks,
 
 Carl
 
 P.S.  Please don't top post on LilyPond mail lists
 

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


MF fonts

2011-02-26 Thread Tim Sheasby
Need the MI in the Aiken heads to be slightly narrower and taller so it lines 
up nicely with the DO. Can produce appropriate glyph but how do I compile just 
the final Emmentaler fonts?

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


scale notehead X and Y independently

2011-02-26 Thread Tim Sheasby
Can a notehead be scaled by different factors in the x and y directions?

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Feta Fonts

2011-02-25 Thread Tim Sheasby
Notice that shaped note format for Feta is not the same as the traditional 
shapes used in my 1950s hymn book. Would like to modify these specific glyphs. 
Metafont is not a problem for me to use but where do I go to find the sources 
for the Feta fonts?

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Feta Fonts

2011-02-25 Thread Tim Sheasby
Feel stupid. Once I opened the mf Feta files found that the correct glyphs do exist. Just had to change the default notehead for the Mi to the alternative already there. Now my songs look like I want them to.On 25 Feb 2011, at 6:15 PM, James Lowe wrote:Hello)-Original Message-)From: lilypond-user-bounces+james.lowe=datacore@gnu.org)[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On)Behalf Of Francisco Vila)Sent: 25 February 2011 15:27)To: Tim Sheasby)Cc: lilypond-user@gnu.org)Subject: Re: Feta Fonts))2011/2/24 Tim Sheasby t...@sheafpublishing.co.za:) Notice that shaped note format for Feta is not the same as the)traditional shapes used in my 1950s hymn book. Would like to modify)these specific glyphs. Metafont is not a problem for me to use but where)do I go to find the sources for the Feta fonts?))In the mf/ directory of the lilypond source code, if I'm not wrong.http://lilypond.org/doc/v2.13/Documentation/contributor/getting-the-source-codeJames___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user
Tim Sheasbyt...@sheafpublishing.co.za

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user