Re: Aleatoric / modern notation
David: That was exactly what I was hoping for - absolutely! Thank you so much, it totally makes sense now. More and more I keep seeing just how powerful LilyPond can be - it's scary sometimes! (but always in a good way lol) Thanks again, Ben David Nalesnik-2 wrote Hi Ben, On Tue, Nov 13, 2012 at 8:46 PM, SoundsFromSound lt; soundsfromsound@ gt; wrote: I'm trying to wrap my head around the frameEngraver4 and can't quite grasp the syntax and how to customize the code to suit my needs. Is there a guide or cheat-sheet that explains how to use frameEngraver to it's fullest potential? I feel like it's a bit over my head and I feel lost when trying to make sense of it. Thanks for any feedback. Well, there's no guide or cheat-sheet, but I can give you a brief run through--which amounts to what you see in the example at the bottom. Basically, you include the engraver as I do in the \layout block.. Then, you surround the notes in your frame with \frameStart and \frameEnd. You control the length of the line-with-arrow by overriding the property 'extender-length. This line unfortunately won't cross a bar line unless you override the barline's X-extent to '(+inf.0 . -inf.0) -- i.e., so it has no X-extent at all. (This is one of the issues I'll have to look into.) There's not much customization that's possible at the moment. It would be relatively easy to add a property to control the height of the extender-line relative to the box (right now it's always centered), and I'll see about doing that. I'll need to add a provision for controlling the width of the box. The implementation here is pretty rudimentary--just designed to get something working. As I say, I'll need to look at some scores to see the kinds of customizations which are desirable. If you have any ideas, please let me know. Most of what's in this file (anything above the example) might be tucked away into a file which you include to cut down on the mess. Hope this is helpful-- David ___ lilypond-user mailing list lilypond-user@ https://lists.gnu.org/mailman/listinfo/lilypond-user - composer | sound designer -- View this message in context: http://lilypond.1069038.n5.nabble.com/Aleatoric-modern-notation-tp18113p136369.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaves
Yes, great. It works perfectly. Thanks, Peter On 11/06/2012 11:38 PM, Kieren MacMillan wrote: Hi Peter, Have you looked at this hint? http://lsr.dsi.unimi.it/LSR/Item?id=312 Hope this helps! Kieren. On 2012-Nov-6, at 10:36, Phil Holmes m...@philholmes.net wrote: - Original Message - From: Peter O'Doherty m...@peterodoherty.net To: lilypond-user lilypond-user@gnu.org Sent: Tuesday, November 06, 2012 1:46 PM Subject: \RemoveEmptyStaves Hi, I have a score with a system where some staves have measures which are filled with rests and others with spacer rests (I need these to enable \change Staff elements). I would like to remove the staves with have rests only but as far as I can see \RemoveEmptyStaves will remove those with spacers rests as well. Is there a way round this? Many thanks, Peter A solution (there may be others) would be to use some hidden notes as well as spacer rests. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- //= - Peter O'Doherty - http://www.peterodoherty.net - m...@peterodoherty.net - https://joindiaspora.com/people/70716 //= ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaves
2012/11/14 Peter O'Doherty m...@peterodoherty.net: Yes, great. It works perfectly. Thanks, Peter Hi Peter, would be nice, if you could tell us which kind of solution worked for you and how. Adapting the LSR-snippet? Then I would be highly interested. I didn't manage. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Parenthesized slurs
I'm trying to engrave a score with parentheses around a slur. Can't find anything like this in the LSR; the last time this was brought up in the list appears to be 2005 (http://news.gmane.org/find-root.php?message_id=%3c4343E72F.6000500%40s3.kth.se%3e). Is this possible to do? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ly2video - create videos from your LilyPond projects
On Wed, May 23, 2012 at 7:15 PM, FireTight fireti...@gmail.com wrote: Hello, my name is Jiri FireTight Szabo and I would like to introduce program ly2video to you. This program can generate videos from your LilyPond projects that contains moving music staff, which is synchronized to music ( http://www.youtube.com/playlist?list=PL444F0513202699C4feature=view_all examples ). If you are interested, you can download it http://code.google.com/p/ly2video/downloads/detail?name=ly2video_v1.0.zip here . I hope you will enjoy it! :) This is fantastic!! Two questions: 1. Please can you make the source code available as a git repository, so that everyone can collaborate on development? 2. I have a video of myself performing some music for which I have a Lilypond transcription. I would like to edit this video so that it also contains a moving music staff similar to this one: https://www.youtube.com/watch?v=YC5mfm2C-ZI Can you suggest the easiest way to achieve this? If that's difficult, then it would be good enough to have the vertical line scroll rather than the staff, or even have no vertical line at all. But either way, I really want to have the bottom half of the video frame showing a dynamically updating window into an endless one-system layout. Thanks again for your great work so far! Adam ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custom key signature stencils, differentiating major and minor keys
Paul, Thank you. Blessing in+, Ming. From: Paul Morris p...@paulwmorris.com To: MING TSANG tsan...@rogers.com Cc: lilypond-usermailinglist lilypond-user@gnu.org Sent: Wednesday, November 14, 2012 12:13:44 AM Subject: Re: Custom key signature stencils, differentiating major and minor keys Hi Ming, I took another look at this and since there's only one key signature where the accidentals do not extend above the staff (F major / D minor) I just added extra padding for those keys. Now the key names always appear above the staff, regardless of the clef. The sizing of the accidental signs in the key names is better in this version as well. Cheers, -Paul \version 2.16.0 % tonic-semi: semitone of tonic note, 0-11, 0=C, 2=D, etc % psn: vertical staff position of the last accidental sign in key signature % accsign: the accidental sign type, 1/2=sharp, -1/2=flat % Knowing these 3 things is enough to identify the key and whether it is major/minor % txt-size: size of key name text % padd: padding between key signature and key name % F Major and D Minor get extra padding to clear the staff % It does not handle modal keys correctly (dorian, lydian, etc.) #(define Custom_key_sig_engraver (make-engraver (acknowledgers ((key-signature-interface engraver grob source-engraver) (let* ( (context (ly:translator-context engraver)) (tonic-pitch (ly:context-property context 'tonic)) (tonic-semi (modulo (ly:pitch-semitones tonic-pitch) 12)) (acclist (ly:grob-property grob 'alteration-alist)) (accsign (if (null? acclist) 0 (cdr (list-ref acclist 0 (psn (if (null? acclist) 0 (car (list-ref acclist 0 (key-name #{ \markup {} #}) (txt-size .7) (padd.5) ) (cond ((= accsign 0) (cond ((= tonic-semi 0) (set! key-name #{ \markup {C Major} #}) (set! padd 3.2)) ((= tonic-semi 9) (set! key-name #{ \markup {A Minor} #}) (set! padd 3.2)) (else (set! key-name #{\markup{}#})) )) ((= accsign 1/2) (cond ((= psn 3) (cond ((= tonic-semi 7) (set! key-name #{ \markup {G Major} #})) ((= tonic-semi 4) (set! key-name #{ \markup {E Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 0) (cond ((= tonic-semi 2) (set! key-name #{ \markup {D Major} #})) ((= tonic-semi 11) (set! key-name #{ \markup {B Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 4) (cond ((= tonic-semi 9) (set! key-name #{ \markup {A Major} #})) ((= tonic-semi 6) (set! key-name #{ \markup {F\raise #.8 \magnify #.8 {\sharp} Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 1) (cond ((= tonic-semi 4) (set! key-name #{ \markup {E Major} #})) ((= tonic-semi 1) (set! key-name #{ \markup {C\raise #.8 \magnify #.8 {\sharp} Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 5) (cond ((= tonic-semi 11) (set! key-name #{ \markup {B Major} #})) ((= tonic-semi 8) (set! key-name #{ \markup {G\raise #.8 \magnify #.8 {\sharp} Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 2) (cond ((= tonic-semi 6) (set! key-name #{ \markup {F\raise #.8 \magnify #.8 {\sharp} Major} #})) ((= tonic-semi 3) (set! key-name #{ \markup {D\raise #.8 \magnify #.8 {\sharp} Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 6) (cond ((= tonic-semi 1) (set! key-name #{ \markup {C\raise #.8 \magnify #.8 {\sharp} Major} #})) ((= tonic-semi 10) (set! key-name #{ \markup {A\raise #.8 \magnify #.8 {\sharp} Minor} #})) (else (set! key-name #{\markup{}#})) )) ) ) ((= accsign -1/2) (cond ((= psn 6) (cond ((= tonic-semi 5) (set! key-name #{ \markup {F Major} #}) (set! padd 1.4)) ((= tonic-semi 2) (set! key-name #{ \markup {D Minor} #}) (set! padd 1.7)) (else (set! key-name #{\markup{}#})) )) ((= psn 2) (cond ((= tonic-semi 10) (set! key-name #{ \markup {B\raise #.4 \magnify #.8 {\flat} Major} #})) ((= tonic-semi 7) (set! key-name #{ \markup {G Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 5) (cond ((= tonic-semi 3) (set! key-name #{ \markup {E\raise #.4 \magnify #.8 {\flat} Major} #})) ((= tonic-semi 0) (set! key-name #{ \markup {C Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 1) (cond ((= tonic-semi 8) (set! key-name #{ \markup {A\raise #.4 \magnify #.8 {\flat} Major} #})) ((= tonic-semi 5) (set! key-name #{ \markup {F Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 4) (cond ((= tonic-semi 1) (set! key-name #{ \markup {D\raise #.4 \magnify #.8 {\flat} Major} #})) ((= tonic-semi 10) (set! key-name #{ \markup {B\raise #.4 \magnify #.8 {\flat} Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 0) (cond ((= tonic-semi 6) (set! key-name #{ \markup {G\raise #.4 \magnify #.8 {\flat} Major} #})) ((= tonic-semi 3) (set! key-name #{ \markup {E\raise #.4 \magnify #.8 {\flat} Minor} #})) (else (set! key-name #{\markup{}#})) )) ((= psn 3) (cond ((= tonic-semi 11) (set! key-name #{ \markup {C\raise #.4 \magnify #.8 {\flat} Major} #})) ((= tonic-semi 8) (set! key-name #{ \markup {A\raise #.4
Lyrics disappear with associatedVoice in a duet
Fellow Lilypond Users: I'm writing a vocal duet on a ChoirStaff with lyrics between two staves. When one voice rests, I'm trying to use associatedVoice to make the lyrics follow the other voice. I would expect the lyrics to remain between the staves, but the lyrics disappear completely. Here is the tiniest example I can write: \version 2.16.0 % also tried 2.17.6 \new ChoirStaff \new Staff \new Voice = SopranoVoice \relative c' { c4 d e f r1 } \new Lyrics \lyricsto SopranoVoice { So -- pran -- os rule. \set associatedVoice = #AltoVoice Al -- tos are cool. } \new Staff \new Voice = AltoVoice \relative c' { r1 f4 e d c } It looks like this: http://vangyzen.net/music/associatedVoice_problem.pdf I would like the Alto's lyrics above her notes. What am I doing wrong? Thanks for any help you can offer. --Eric (near Minneapolis, Minnesota, US) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilyglyphs 0.2 - First 'official' release
I'm happy (and also proud) to be able to announce a new release of my lilyglyphs LaTeX package. While I label it version 0.2 I am convinced that it is the first release that is really useable, so I consider this the initial 'public' release. only a few days ago I was thinking 'if only' really useful thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user