Re: vowel aligned lyrics - want to improve it

2013-05-27 Thread Wolf Alight
Hello Here are some improvements that I did awhile ago. Maybe it's useful. Best regards Torulf \version 2.14.1 % % Definitions for vowel alignment % This code snippet have been sponsored by the Vadstena Sisters in Sweden % #(define vowel-set (list-char-set (string-list AEIOUYÅÄÖaeiouyåäö)))

Re: vowel aligned lyrics - want to improve it

2013-04-04 Thread Janek Warchoł
On Wed, Apr 3, 2013 at 11:02 PM, Xavier Scheuer x.sche...@gmail.com wrote: Someone on the French users mailing list would like to align lyrics on the first vowel. http://lilypond-french-users.1298960.n2.nabble.com/Alignement-des-paroles-sur-la-premiere-voyelle-td7579353.html I found this

Re: vowel aligned lyrics - want to improve it

2013-04-04 Thread Janek Warchoł
Hi all, On Thu, Apr 4, 2013 at 1:20 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Ultimately, it would be great to have two settings: 1. glyphs which don't count for width calculations (e.g., the LyricText amazing— should be centred as if it were just amazing)

Re: vowel aligned lyrics - want to improve it

2013-04-03 Thread Xavier Scheuer
On 22 February 2010 09:01, Wolf Alight wolfali...@gmail.com wrote: What a way to start the monday morning! Thank you Neil! I will put this in the Snippet Repository. I just thought of one enhancement I want to make and one feature that came up: (snip) Hi, Someone on the French users

Re: vowel aligned lyrics - want to improve it

2013-04-03 Thread Kieren MacMillan
Hi Xavier, Someone on the French users mailing list would like to align lyrics on the first vowel. http://lilypond-french-users.1298960.n2.nabble.com/Alignement-des-paroles-sur-la-premiere-voyelle-td7579353.html I found this thread but searching the LSR with the keyword vowel gives no

Re: vowel aligned lyrics - want to improve it

2011-01-07 Thread Jiri Zurek (Prague)
\override LyricText #'X-offset = #center-on-vowel } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://old.nabble.com/vowel-aligned-lyrics

Re: vowel aligned lyrics - want to improve it

2010-02-22 Thread Wolf Alight
What a way to start the monday morning! Thank you Neil! I will put this in the Snippet Repository. I just thought of one enhancement I want to make and one feature that came up: * Enhancement: Multiple alignments of notes for one lyric word. For example the swedish word begynnelsen has 4 vowels

Re: vowel aligned lyrics - want to improve it

2010-02-22 Thread Christ van Willegen
On Mon, Feb 22, 2010 at 9:01 AM, Wolf Alight wolfali...@gmail.com wrote: What a way to start the monday morning! Thank you Neil! I will put this in the Snippet Repository. I just thought of one enhancement I want to make and one feature that came up: * Enhancement: Multiple alignments of

Re: vowel aligned lyrics - want to improve it

2010-02-20 Thread Neil Puttock
On 19 February 2010 12:24, Wolf Alight wolfali...@gmail.com wrote: My inner perfectionist only have one complaint: the note width has been hard coded and the value should be adjusted if non default notehead sizes are used. The LyricText grob's X-parent is a NoteHead, so it's easy to get the

Re: vowel aligned lyrics - want to improve it

2010-02-19 Thread Wolf Alight
Thank you Neil I found another way this time but I might need this in the future. /Tor 2010/2/17 Neil Puttock n.putt...@gmail.com On 17 February 2010 13:48, Carl Sorensen c_soren...@byu.edu wrote: There is a markup interface for use with Scheme, that may make things doable for you. You

Re: vowel aligned lyrics - want to improve it

2010-02-19 Thread Wolf Alight
A great suggestion. To override was the way to go. So here it comes! My inner perfectionist only have one complaint: the note width has been hard coded and the value should be adjusted if non default notehead sizes are used. I haven't tested this a lot yet so maybe there are bugs. The code boiled

Re: vowel aligned lyrics - want to improve it

2010-02-19 Thread Carl Sorensen
On 2/19/10 5:24 AM, Wolf Alight wolfali...@gmail.com wrote: A great suggestion. To override was the way to go.  So here it comes!  Beautiful! My inner perfectionist only have one complaint: the note width has been hard coded and the value should be adjusted if non default notehead sizes

Re: vowel aligned lyrics - want to improve it

2010-02-17 Thread Wolf Alight
You could do interpret-markup and get a stencil of an individual character, then get its X-extent, I think. It would involve getting the 'text, then going through the text elements one by one and creating a stencil. Hope this is helpful, Carl Thank you Carl for that needle in the

Re: vowel aligned lyrics - want to improve it

2010-02-17 Thread Carl Sorensen
On 2/17/10 3:32 AM, Wolf Alight wolfali...@gmail.com wrote: You could do interpret-markup and get a stencil of an individual character, then get its X-extent, I think.  It would involve getting the 'text, then going through the text elements one by one and creating a stencil. Hope this

Re: vowel aligned lyrics - want to improve it

2010-02-17 Thread Neil Puttock
On 17 February 2010 13:48, Carl Sorensen c_soren...@byu.edu wrote: There is a markup interface for use with Scheme, that may make things doable for you.  You can read about it in section 6.4 of the notation reference for 2.12. From a callback, the easiest method for evaluating markup is to

Re: vowel aligned lyrics - want to improve it

2010-02-17 Thread Carl Sorensen
On 2/17/10 1:57 PM, Neil Puttock n.putt...@gmail.com wrote: From a callback, the easiest method for evaluating markup is to use grob-interpret-markup. For example: my-callback = #(lambda (grob) (grob-interpret-markup grob (markup foo))) Thanks, Neil. I've added this to the

vowel aligned lyrics - want to improve it

2010-02-15 Thread Wolf Alight
Hi Lilyponders I just wanted to improve the vowel alignment of the lyrics and a few days later I find myself diving deep into the Lilypond with fascination and...yes...some frustration. I want to improve the fine code by Carl Sorensen:

Re: vowel aligned lyrics - want to improve it

2010-02-15 Thread Carl Sorensen
On 2/15/10 8:16 AM, Wolf Alight wolfali...@gmail.com wrote: Hi Lilyponders I just wanted to improve the vowel alignment of the lyrics and a few days later I find myself diving deep into the Lilypond with fascination and...yes...some frustration.  I want to improve the fine code by