formatting two-note tremolo's
hi, this is the first time i'm trying to make a score in lilypond, so excuse me if i'm asking stupid questions of if i'm overlooking something obvious.. when i make a two note tremolo, with the flowing code: \repeat "tremolo" 16 {32 32 } it looks like in the attached tremolo.pdf. now i would like to change the slope of the tremolo sign, and also to move the symbol down (so it is in between the notes) and make a bit more space between the notes and the sign. after browsing a bit through the documentation, i thought something like \once \override StemTremolo #'slope = #0.3 \once \override StemTremoloe #'X-extent = #5 \once \override StemTremoloe #'Y-extent = #5 \repeat "tremolo" 16 {32 32 } should change the appeareance of the tremolo, but that doesn't seem to make any difference.. is there a way to change the properties i want? and what am i doing wrong then in the above code? the result i want to achieve is something like in the attached wanted.png many thanks in advance, Kristof -- i...@kristoflauwers.domainepublic.net http://myspace.com/xofxof http://kristoflauwers.domainepublic.net -- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: formatting two-note tremolo's
At 06:06 p.m. 19/12/2008, Andrew Hawryluk wrote: Your email arrived without the PDF and the PNG. I think the -user list requires that email + attachment size be less than 96KB. oops, sorry. dind't realise that. i uploaded them to my site instead now this is wat i get: http://kristoflauwers.domainepublic.net/downloads/tremolo.pdf and this what i want:http://kristoflauwers.domainepublic.net/downloads/wanted.png greetings, Kristof On Fri, Dec 19, 2008 at 9:51 AM, kristof wrote: > hi, > > this is the first time i'm trying to make a score in lilypond, so excuse me > if i'm asking stupid questions of if i'm overlooking something obvious.. > > when i make a two note tremolo, with the flowing code: > >\repeat "tremolo" 16 {32 32 } > > it looks like in the attached tremolo.pdf. > now i would like to change the slope of the tremolo sign, and also to move > the symbol down (so it is in between the notes) and make a bit more space > between the notes and the sign. > after browsing a bit through the documentation, i thought something like > >\once \override StemTremolo #'slope = #0.3 >\once \override StemTremoloe #'X-extent = #5 >\once \override StemTremoloe #'Y-extent = #5 >\repeat "tremolo" 16 {32 32 } > > should change the appeareance of the tremolo, but that doesn't seem to make > any difference.. > is there a way to change the properties i want? and what am i doing wrong > then in the above code? > > the result i want to achieve is something like in the attached wanted.png > > many thanks in advance, > > Kristof > > > -- > i...@kristoflauwers.domainepublic.net > > http://myspace.com/xofxof > http://kristoflauwers.domainepublic.net > -- > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
manually tweaking accidental X-position
hi, I was wondering if it is possible to manually tweak the X-position of an accidental. In the list archives i found someone reporting that \override Accidental #'Y-offset works, but \override Accidental #'X-offset doesn't. Is there another way to accomplish this? thanks & greetings, Kristof -- i...@kristoflauwers.domainepublic.net http://myspac.com/xofxof http://kristoflauwers.domainepublic.net -- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
problem with hidden notes
hi list, i hope you can help me again with a little problem i have.. context: i'm trying to do some complex notation for a piece in contemporary idiom, and as the \laissezVibrer didn't want to behave like i wanted, i tried to simulate one more suitable to my needs, so that i can let it depart only from only the highest and lowest notes of a chord (the normal behaviour with chords seems to be to let it either come from every note or from none?) , and so that i can control the length and tilt the slur a bit up or down. the strategy i tried for now, is by using phrasing slurs with hidden endnotes, with doubleSlurs set to true.. (maybe this is not the best approach and some one can give me some hints for a better way to do this?) anyway, below is the way i'm trying to do it (and the result in attachement) it may seem a bit awkward as a music example, but that's because i stripped out a lot of things that weren't relevant to show my problem so, the actual problem i have now: after hiding the noteheads and stem of my hidden chord (the last one on the staff), there still remains a dashed vertical line.. can anyone tell me why it is there and how i can get rid of it? thanks a lot! Kristof ---leftoverlinetest.ly { \time 2/16 \override Staff.TimeSignature #'break-visibility = ##(#f #f #f) %break-visibility property requires a vector of three booleans. These control respectively whether bar lines are printed at the end of a line, in the middle of lines, and at the beginning of lines \override DynamicLineSpanner #'staff-padding = #4 \cadenzaOn << \relative c' { \voiceOne \stemUp \set doubleSlurs = ##t \override Stem #'transparent = ##t %hide stem 16( \revert Stem #'transparent %restore stem in original state } >> \time 4/32 << \relative c' { \override Stem #'transparent = ##t %hide stem c!32 cih \override NoteHead #'stencil = #ly:text-interface::print %hide notehead \override NoteHead #'text = #(markup #:musicglyph "") 16) \revert Stem #'transparent %restore stem in original state \revert NoteHead #'stencil %restore notehead \revert NoteHead #'text } >> } -- i...@kristoflauwers.domainepublic.net http://kristoflauwers.domainepublic.net -- leftoverlinestest.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problem with hidden notes
At 09:34 a.m. 30/12/2008, you wrote: kristof-5 wrote: > > the strategy i tried for now, is by using phrasing slurs with hidden > endnotes, with doubleSlurs set to true.. > (maybe this is not the best approach and some one can give me some > hints for a better way to do this?) > why don't u use the predifined commands \hideNotes \unHideNotes? they will also hide the ledgerlines or so! because i didn't know about them. but they solve my problem. thanks! as a suggestion for improvement of the manual: i must say that 'Educational use' is not the first place where i would go looking for something like this.. is there somewhere a list of all predefined commands? best, Kristof ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
part combiner
Hi lilyponders. I am currently orchestrating a piece of music using lilypond for the notation. I am using the part-combiner to combine the wind instruments, but I find it to be unusable for the folowing reasons: - There are to many changes from solo, a due, etc. In one bar I have even 8 changes! When there is just one rest in the combiner it will print solo above it. Obviously there should be at most one change each bar, and in the ideal case it should remain the same for a melody. That would make it easier for a conductor or person reading the score to follow. - It appears that parts will not be combined when a crescendo or diminuendo is active. It should be possible to have an a due part with dynamics. - Rest can be merged more often. When there is the same amount of silence for both instruments, there need only to be one rest, since there can be no ambiguity about who is not playing. - It would be nice if the part-combiner could handle voice-crossings elegantly, for example using a little line to show the direction of the voice. I would like to rewrite the part-combiner, but I have a few questions about doing so: - How can I get the time signature from the voice? - How can I analyse a moment (for example to see if it falls withing a bar)? - Would it be possible to just change the scheme code (since I like more writing scheme than C++ ;-) ? - Will the C++ part of the part-combiner handle dynamics and slurs gratiously for a due parts or chords? Thank you for your time reading this large sandwich of questions :) Kristof Bastiaensen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: part combiner
"Han-Wen Nienhuys" wrote: > [EMAIL PROTECTED] wrote: >> - It appears that parts will not be combined when a crescendo or >> diminuendo >> is active. It should be possible to have an a due part with dynamics. > > they will, but the cresc and dim should be on _both_ parts. > Would it make sense to combine parts also when only one voice has dynamics? That could mean less work to put in the dynamics for each instrument (if no separate parts are made). That also makes me wonder if lilypond merges dynamics even when the voices aren't merged. That would be useful, since instruments in the orchestra usually play the same dynamic. (For example they could be merged when the instruments have the same dynamic for a longer time). >> I would like to rewrite the part-combiner, but I have a few questions >> about doing so: >> >> - How can I get the time signature from the voice? > > You have to rewrite the Recording_group_engraver to record properties > like timeSignatureFraction and measureDuration Ok, I'll look into it. > >> - How can I analyse a moment (for example to see if it falls withing a >> bar)? >> - Would it be possible to just change the scheme code (since I like more >> writing scheme than C++ ;-) ? > > Except for the above it should all be doable in Scheme. Thanks, for the quick reply! Kristof Bastiaensen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: part combiner
>> I would like to rewrite the part-combiner, but I have a few questions >> about doing so: >> >> - How can I get the time signature from the voice? > > You have to rewrite the Recording_group_engraver to record properties > like timeSignatureFraction and measureDuration > >> - How can I analyse a moment (for example to see if it falls withing a >> bar)? >> - Would it be possible to just change the scheme code (since I like more >> writing scheme than C++ ;-) ? > > Except for the above it should all be doable in Scheme. > -- Hi, I am not sure of the function of Recording_group_engraver. What should I change, and how will it change the scheme code? >From looking at the c++ code it doesn't appear to do much. If it records the time signature, then will it be added between the other events? Kristof Bastiaensen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: part combiner
> [EMAIL PROTECTED] wrote: >> Hi, I am not sure of the function of Recording_group_engraver. What >> should I change, and how will it change the scheme code? >>>From looking at the c++ code it doesn't appear to do much. >> If it records the time signature, then will it be added between the >> other >> events? >> > > the Recording_group_engraver now records events. You could also record > changes to properties. The result is a vector, which is > read out from > >make-part-combine-music > > (see scm/part-combiner.scm). As far as I can see the music events are recorded in try_music. Which method do I have to add to record property changes? Sorry, I am not so familier with lilypond internals. Perhaps could you give me some source files that I should read to get more info? I read part-combiner, and I think it works as follows: make-part-combine-music puts the events in noticed, and from there it gets passed to the function determine-split-list. That function returns a list of moments and descriptions. So I just need to change the determine-split-list function. Is that right? Thanks, Kristof Bastiaensen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: part combiner
<[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: >>>[EMAIL PROTECTED] wrote: >>> >>>>Hi, I am not sure of the function of Recording_group_engraver. What >>>>should I change, and how will it change the scheme code? >>>>>From looking at the c++ code it doesn't appear to do much. >>>>If it records the time signature, then will it be added between the >>>>other >>>>events? >>>> >>> >>>the Recording_group_engraver now records events. You could also record >>>changes to properties. The result is a vector, which is >>>read out from >>> >>> make-part-combine-music >>> >>>(see scm/part-combiner.scm). >> >> >> As far as I can see the music events are recorded in try_music. Which >> method do I have to add to record property changes? > > Try process_music(). You will have to read the properties, check them > against values in the previous time steps, and modify the data structure > where events are stored to also contain property values. > > > -- > Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen > Ok, I think I understand most of it. Just one question, is there a method which get called before the first events are handled? That would be useful to get the initial values for the properties. Thanks, Kristof Bastiaensen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: piano right hand with chorded eigths beneath a half
> Daniel Johnson wrote: > >>r4 c4 ~ << c2 \\ {r8 8 r8 8} >> >> >> >> > hmm. On second thought, the tie between the C's probably won't work > here. << \\ >> by default generates new voices, and you can't do > cross-voice ties. BUT, you can specify voice-names. So the following > would (theoretically) work: > > \context Voice = rightHand r4 c4 ~ << \context Voice = rightHand c2 \\ > {r8 8 r8 8} >> > Easier would be to add silent notes: r4 << {c4 ~ c2} \\ {s4 r8 r } >> (beware, I haven't tested it ;) Kristof ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\break frocing indents?
hi, i'm writing a time-proportional score, and for that (next to using lots of tweaks), i often need to control where the line breaks come manually with \break. now (after having some lines where i did'nt need to control the breaking), i noticed that after each forced line break, the staff on the next rule is indented. is there a way to override this behaviour? thanks! Kristof ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: clarinet tab?
hi, for me it's working. in the line below, a closing bracket is missing in the end. maybe that's the problem? \markup \clarTab ##t #'() # '(("Rlittle" . "") ("Llittle" . "") greetings, Kristof At 18:56 2009-12-17, you wrote: Hi all, Is the clarinet tablature posted to the LSR working? I don't see the usual graphic on LSR, and I can't get it to work on my machine: GNU LilyPond 2.12.1 Processing `tabtest.ly' Parsing... tabtest.ly:3:27: error: GUILE signaled an error for the expression beginning here \markup \clarTab ##t #'() # '(("Rlittle" . "") ("Llittle" . "") tabtest.ly:6:1: end of file in string constant tabtest.ly:3:28: error: syntax error, unexpected '(' \markup \clarTab ##t #'() #' (("Rlittle" . "") ("Llittle" . "") error: failed files: "tabtest.ly" I can't figure out what's going wrong... Thanks much Neil -- Neil Thornock, D.M. Check out the newly designed website! http://neilthornock.net Assistant Professor of Music Composition/Theory Brigham Young University ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user i...@kristoflauwers.domainepublic.net http://kristoflauwers.domainepublic.net http://myspace.com/xofxof ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user