Re: midi2ly problem
On Tue 16 May 2006 09:23, Eyolf Ostrem [that's me] wrote: > I've been trying to use midi2ly, but I always get the following: > > Traceback (most recent call last): > File "/usr/bin/midi2ly", line 60, in ? > import lilylib as ly > ImportError: No module named lilylib > > Any idea what's wrong? ... and as I was I was about to write, when a gnome who lives in the wall behind my computer suddenly jumped out, hit the "send" button, then my forehead and sent me into dreamless sleep until now, without a chance to correct my mistake: I'm running LP 2.9.3 on ArchLinux, from the distro-specific package. (And thanks to Mats for waking me up...) Eyolf -- "We maintain that the very foundation of our way of life is what we call free enterprise," said Cash McCall, "but when one of our citizens show enough free enterprise to pile up a little of that profit, we do our best to make him feel that he ought to be ashamed of himself." -- Cameron Hawley ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: /parenthesize in drummode?
bernie arai schreef: i'm trying to use the /parenthesize to create ghost notes in a drumset part using /drummode. i don't get any error messages from lilypond, but i don't see any parentheses in the output (just regular noteheads). i have a feeling that the fact that items must be "directly connected with a music input element" to work with /parenthesize, but i'm not sure. am i crazy, does this work for anyone else? you have to add Parenthesis_engraver to the DrumVoice context definition -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly problem
Eyolf Ostrem schreef: On Tue 16 May 2006 09:23, Eyolf Ostrem [that's me] wrote: I've been trying to use midi2ly, but I always get the following: Traceback (most recent call last): File "/usr/bin/midi2ly", line 60, in ? import lilylib as ly ImportError: No module named lilylib Any idea what's wrong? ... and as I was I was about to write, when a gnome who lives in the wall behind my computer suddenly jumped out, hit the "send" button, then my forehead and sent me into dreamless sleep until now, without a chance to correct my mistake: I'm running LP 2.9.3 on ArchLinux, from the distro-specific package. (And thanks to Mats for waking me up...) can't reproduce with 2.9.5 -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: temporary second voice?
Hi, Rick: Is there any way to temporarily activate a second voice in a part? Here's some pseudocode that does what you want: notes... notes... notes... << { voiceOne notes } \\ { voiceTwo notes } >> notes... notes... Check out the samples and tips/tricks in the documentation for more specifics. Best wishes, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Codas - STILL can't get it right...
I've upgraded to mingw 2.8.2 ... Firstly, thanks for the tip about page-spacing.ly. This looks exactly like what I want ... except I can't find any docu except the example itself, and cut-n-pasting seems to have no effect :-( (I've looked in the manual index, and in the html internal thingy which I used IE's search on) And I still can't get my "DS al Coda" and coda symbols to come out where/how I want them. It's all very well saying "attach them to the note before/after", but (a) imho they belong attached to the barline, and (b) last time I attached something like that to a R1*8 it looked rather silly ... (Actually, I think it was effectively << {s2 s s1*3} {R1*4} >> with the s's and R in different voices on the same staff, but it was a mess The s2 stuff was a deliberate (and failed) attempt to get it to go to the left.) Oh - and with my current part the coda will collide with a fermata :-( The problem (from my point of view) is that I'm in the habit of putting all the structure in a separate voice from the notes, and codas etc are structure. So I can't attach them to a genuine note or fine-tune their left/right alignment, because I re-use the same structure voice across multiple parts, hence stuff like that getting attached to a R1*8! So basically, in the below code I want (1) to push the last system down and leave a bigger gap (2) to have "DS al Coda" appear right-justified at the end of the penultimate system (3) to have the Coda symbol appear left justified at the beginning of the last system imho this is a perfectly normal layout and I just cannot see how to achieve it ... \version "2.8.2" allegro = { \once \override Score.RehearsalMark #'self-alignment-X = #left \mark "Allegro" } coda = { \mark \markup { \musicglyph #"scripts.coda" } } dalsegno = { \once \override Score.RehearsalMark #'self-alignment-X = #right \mark "DS al Coda" } segno = { \mark \markup { \musicglyph #"scripts.segno" } } voiceTimeSig = { \time 2/4 \key df \major s2*2 s2*8 s2*8 s2*8 s2*2 s2*8 s2*8 s2*8 \key bf \major \repeat volta 2 { s2*15 } \alternative { { s2 } { s2 } } s2*3 \key df \major s2*4 } voiceMarkup = { s2*2 \bar "||" \segno s2*8 \bar "||" \allegro s2*8 \bar "||" s2*8 \bar "||" \coda s2*2 \bar "||" s2*8 \bar "||" \allegro s2*8 \bar "||" s2*8 % Trio \break \mark "TRIO Presto" \repeat volta 2 { s2*15 } \alternative { { s2 } { s2 } } s2*3 \bar "||" \dalsegno \overrideProperty #"Score.NonMusicalPaperColumn" #'line-break-system-details #'((next-space . 20)) \break \once \override Score.RehearsalMark #'self-alignment-X = #left \coda s2*4 } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
breaking lines in unmetred music
Hi list ! Pfiou : it's been a long time since last time I wrote here. So happy new year (and happy next christmas...). I have writtte some renaissance song, 4 voices, without any barlines, neither time signature. All is right, except the fact that I only have a long long system that comes over the page and continues out of the paper... I've tried to put \bar "", but it doesn't work at all. So does anyone knows how to force "back to the next line" ? Regards JMarc ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
newbie part extraction on same page
How can I extract 2 parts to print independently on the same page? Lets say I have a 12 measure duet. I want to print the entire first part on the left (or top) half of the page, and the entire second part on the right (or bottom) half of the page, as 2 separate systems beginning to end. I could not find any examples of this. Does it involve using the \book container which I have no experience with? (There are also times I want the parts printed as a single system but thats working already, now using the same data variables, I want to do a same-page part extract.) If someone can just steer me in the right direction I'm sure I can figure it out, Thanks -- View this message in context: http://www.nabble.com/newbie-part-extraction-on-same-page-t1636511.html#a4431889 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Moving text on multibar rest
Dear list, I have a text on a multibar rest, like this:R1*8^"Verse 1" The text appears centred on the rest. But I would like it aligned to the left, to indicate that it refers to the beginning of the rest. I've tried the following, but they didn't make any difference: R1*8^\markup { \hspace #-5 "Verse 1" } \once \override TextScript #'extra-offset = #'( -5.0 . 0.0 ) R1*8^\markup { "Verse 1" } Any ideas why these didn't work, and how can I do it? Peter C ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
AW: breaking lines in unmetred music
Hi, try the \break command I guess it'll work for you. Nick --- Ursprüngliche Nachricht --- Datum: 17.05.2006 16:27 Von: Jean-marc LEGRAND <[EMAIL PROTECTED]> An: lilypond-user@gnu.org Betreff: breaking lines in unmetred music > > > > > Hi list ! > > Pfiou : it's been a long time since last time I wrote here. So happy new year (and happy next > christmas...). > > I have writtte some renaissance song, 4 voices, without any barlines, neither time signature. > > All is right, except the fact that I only have a long long system that comes over the page and > continues out of the paper... > > I've tried to put \bar "", but it doesn't work at all. > > So does anyone knows how to force "back to the next line" ? > > Regards > > JMarc > > > > ___ > 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
Re: newbie part extraction on same page
On 17-May-06, at 7:42 AM, Rick Hansen (aka RickH) wrote: If someone can just steer me in the right direction I'm sure I can figure it out, \score{ << \violinStaff \pianoStaff << } \score{ << \violinSTaff >> } More "right direction" pointings involve 2.18, 2.19, 3.1, 3.2, 4.5, 10.1.1, 10.1.2. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Moving text on multibar rest
On 17-May-06, at 7:44 AM, Peter Clarke wrote: R1*8^\markup { \hspace #-5 "Verse 1" } Try using \translate or \transpose (I can't remember the actual command name). You may need to construct it like this: \markup { \hspace #0 \translate ... } \once \override TextScript #'extra-offset = #'( -5.0 . 0.0 ) R1*8^\markup { "Verse 1" } Any ideas why these didn't work, and how can I do it? extra-offset should have worked. You could also try <> Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Codas - STILL can't get it right...
- Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, May 17, 2006 7:48 AM Subject: Codas - STILL can't get it right... I've upgraded to mingw 2.8.2 ... Firstly, thanks for the tip about page-spacing.ly. This looks exactly like what I want ... except I can't find any docu except the example itself, and cut-n-pasting seems to have no effect :-( (I've looked in the manual index, and in the html internal thingy which I used IE's search on) page-spacing.ly reveals all the defaults. I does not demonstrate how to change the defaults. Off-hand, I do not know how to change them. ...Well, maybe it does show you how. I seems to be using a new override called \overrideProperty. The printing of properties is meant to help you find the property you want to change. If you want to print the defaults on another project, add the print-score-with-defaults function from the top of page-spacing.ly. Otherwise you need to be more specific about what about the file you like. OK, I get the error message 'The PostScript backend does not support the 'classic' framework. Use the EPS backend instead, lilypond -b eps or remove the lilypond-book specific settings from the input." lilypond-book is something I have no experience with. And I still can't get my "DS al Coda" and coda symbols to come out where/how I want them. It's all very well saying "attach them to the note before/after", but (a) imho they belong attached to the barline, You are right, they should be attached to the barline. That is why you should \mark instead of \markup. Rehearsal Marks can take any text, just like \markup, but it attaches the marks to the barline instead of notes. In addition, you will want to right justify the text to the barline, so I will show you an example of how I did that. \bar "||" \once \override Score.RehearsalMark #'self-alignment-X = #right \once \override Score.RehearsalMark #'font-size = #0 \once \override Score.RehearsalMark #'padding = #0.5 \mark "Fine" I changed the font-size because the default fontsize for \mark is larger than for \markup. That is one of the only differences besides where they attach the text. Stephen and (b) last time I attached something like that to a R1*8 it looked rather silly ... (Actually, I think it was effectively << {s2 s s1*3} {R1*4} >> with the s's and R in different voices on the same staff, but it was a mess The s2 stuff was a deliberate (and failed) attempt to get it to go to the left.) Oh - and with my current part the coda will collide with a fermata :-( The problem (from my point of view) is that I'm in the habit of putting all the structure in a separate voice from the notes, and codas etc are structure. So I can't attach them to a genuine note or fine-tune their left/right alignment, because I re-use the same structure voice across multiple parts, hence stuff like that getting attached to a R1*8! So basically, in the below code I want (1) to push the last system down and leave a bigger gap (2) to have "DS al Coda" appear right-justified at the end of the penultimate system (3) to have the Coda symbol appear left justified at the beginning of the last system imho this is a perfectly normal layout and I just cannot see how to achieve it ... \version "2.8.2" allegro = { \once \override Score.RehearsalMark #'self-alignment-X = #left \mark "Allegro" } coda = { \mark \markup { \musicglyph #"scripts.coda" } } dalsegno = { \once \override Score.RehearsalMark #'self-alignment-X = #right \mark "DS al Coda" } segno = { \mark \markup { \musicglyph #"scripts.segno" } } voiceTimeSig = { \time 2/4 \key df \major s2*2 s2*8 s2*8 s2*8 s2*2 s2*8 s2*8 s2*8 \key bf \major \repeat volta 2 { s2*15 } \alternative { { s2 } { s2 } } s2*3 \key df \major s2*4 } voiceMarkup = { s2*2 \bar "||" \segno s2*8 \bar "||" \allegro s2*8 \bar "||" s2*8 \bar "||" \coda s2*2 \bar "||" s2*8 \bar "||" \allegro s2*8 \bar "||" s2*8 % Trio \break \mark "TRIO Presto" \repeat volta 2 { s2*15 } \alternative { { s2 } { s2 } } s2*3 \bar "||" \dalsegno \overrideProperty #"Score.NonMusicalPaperColumn" #'line-break-system-details #'((next-space . 20)) \break \once \override Score.RehearsalMark #'self-alignment-X = #left \coda s2*4 } ___ 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
Re: newbie part extraction on same page
Thanks, I was getting sidetracked thinking I needed to use /book { } and wound up tearing apart my templates, this is simpler. /book is implied. -- View this message in context: http://www.nabble.com/newbie-part-extraction-on-same-page-t1636511.html#a4433639 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Moving text on multibar rest
From: "Peter Clarke" <[EMAIL PROTECTED]> Sent: Wednesday, May 17, 2006 9:44 AM Dear list, I have a text on a multibar rest, like this: R1*8^"Verse 1" The text appears centred on the rest. But I would like it aligned to the left, to indicate that it refers to the beginning of the rest. I've tried the following, but they didn't make any difference: R1*8^\markup { \hspace #-5 "Verse 1" } \once \override TextScript #'extra-offset = #'( -5.0 . 0.0 ) R1*8^\markup { "Verse 1" } Any ideas why these didn't work, and how can I do it? Try using a rehearsal mark left-aligned to the preceeding barline: \once \override Score.RehearsalMark #'self-alignment-X = #left \once \override Score.RehearsalMark #'font-size = #0 Stephen Peter C ___ 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
Re: Moving text on multibar rest
Peter Clarke <[EMAIL PROTECTED]> writes: > Dear list, > I have a text on a multibar rest, like this: R1*8^"Verse 1" > The text appears centred on the rest. But I would like it > aligned to the left, to indicate that it refers to the > beginning of the rest. I've tried the following, but they > didn't make any difference: > > R1*8^\markup { \hspace #-5 "Verse 1" } > > \once \override TextScript #'extra-offset = #'( -5.0 . 0.0 ) > R1*8^\markup { "Verse 1" } > > Any ideas why these didn't work, and how can I do it? Maybe MultiMeasureRestText should be used iso. TextScript. http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/MultiMeasureRestText.html nicolas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
override barline type for entire score
[ Lilypond 2.9.4-3 ] Hello, all -- Is there a way to change the default barline type (e.g., to dotted) for an entire \score? I tried \set Timing.whichBar, but couldn't get it to work. Alternatively (or additionally), how can I adjust the characteristics of the standard barline (e.g., make it grey, or dashed, etc.) Thanks, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
clef transposition: tenor -> bass
Hi, I have a peace of music, written in "\clef tenor" wich I should have in "\clef bass" all notes transposed correctly. How can I transpose these clefs with Lilypond 2.6?? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Codas - STILL can't get it right...
On Wed, 2006-05-17 at 13:48 +0100, [EMAIL PROTECTED] wrote: I've upgraded to mingw 2.8.2 ... Firstly, thanks for the tip about page-spacing.ly. This looks exactly like what I want ... except I can't find any docu except the example itself, and cut-n-pasting seems to have no effect :-( (I've looked in the manual index, and in the html internal thingy which I used IE's search on) And I still can't get my "DS al Coda" and coda symbols to come out where/how I want them. It's all very well saying "attach them to the note before/after", but (a) imho they belong attached to the barline, and (b) last time I attached something like that to a R1*8 it looked rather silly ... For controlling the positions: Always use rehearsal marks, for things like DS, To Coda and the actual Coda mark. Put in a separate variable for the mark and the position control. You do this so that you can define a different value for the position control for each instrument when you print the parts. Define the position control using some syntax like: positionDS = { % Set the anchor at the bar line. depending on what you need, you can also align to things like % clefs, time signatures, etc. \once \set Score.rehearsalMarkAlignSymbol = #'staff-bar % Put the mark to the left of the bar line (or on the preceding line if there is a break) % Use -1 and end-of-line-invisible to position right of the bar or following the break. % Use 0 to center on the bar and end-of-line-invisible to center on the bar or follow the break. \once \override Score.RehearsalMark #'self-alignment-X = #1 \once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible % position the mark up 6.6 lines. This can cause a change in the space between systems. \once \override Score.RehearsalMark #'padding = #6.6 % adjust the position of the mark one staff unit right from where it would otherwise be. \once \override Score.RehearsalMark #'extra-offset = #'(1.0 . 0.0) } By doing the above you can print the parts or the whole score and completely control the position of the mark. Sometimes you will find that you want to position rehearsal marks on both sides of the bar, for example "To Coda" preceding and a section mark following. Under those circumstances, you set up one of the marks at either the preceding or following bar. Then you have to heavily adjust the X location in extra-offset to get the mark where you want it. (Actually, I think it was effectively << {s2 s s1*3} {R1*4} >> with the s's and R in different voices on the same staff, but it was a mess The s2 stuff was a deliberate (and failed) attempt to get it to go to the left.) Oh - and with my current part the coda will collide with a fermata :-( See above for how to move the mark away from the articulations. The problem (from my point of view) is that I'm in the habit of putting all the structure in a separate voice from the notes, and codas etc are structure. So I can't attach them to a genuine note or fine-tune their left/right alignment, because I re-use the same structure voice across multiple parts, hence stuff like that getting attached to a R1*8! So basically, in the below code I want (1) to push the last system down and leave a bigger gap (2) to have "DS al Coda" appear right-justified at the end of the penultimate system (3) to have the Coda symbol appear left justified at the beginning of the last system I usually have short Codas that are separated from the main music by a little bit of space. To do that I insert an invisible measure. Typically that means that you put: \stopStaff s \startStaff in between the main music and the coda. You may or may not want to prevent line breaks before or after the blank measure. If you want you can also coerce the measure count after the blank. I usually don't find that necessary because the codas are short and don't end up displaying a number. For your situation, it sounds like the codas are longer. In that case, you might just put a very large padding on the Coda mark and force it back down with a negative number in the Y value in extra-offset. What that will do is to create enough space between the measures for the Coda mark to be way above the staff. But then you push it back down with extra-offset, WHICH DOES NOT AFFECT THE POSTIONS OF NEIGHBORING OBJECTS. You might also be able to directly tweak the spacing on the last system. I have seen hints in the docs that that works but haven't actually tried it. imho this is a perfectly normal layout and I just cannot see how to achieve it ... \version "2.8.2" allegro = { \once \override Score.RehearsalMark #'self-alignment-X = #left \mark "Allegro" } coda = { \mark \markup { \musicglyph #"scripts.coda" } } dalsegno = { \once \override Score.RehearsalMark #'self-alignment-X = #right \mark "DS al Coda" } segno = { \mark \markup { \musicglyph #"scripts.segno" } } voiceTimeSig =