Re: rearrange music flow

2009-01-13 Thread Antanas Budriūnas
Francisco, thank you for the right tip! 2009/1/13 Francisco Vila : > 2009/1/13 Antanas Budriūnas : >> Hello, >> >> I went back from Carl's parallelStaffs music function to plain lily >> code but also here have no success in managing parallel staves and >> lyrics. Horizontal alignment with notes i

Re: rearrange music flow

2009-01-13 Thread Francisco Vila
2009/1/13 Antanas Budriūnas : > Hello, > > I went back from Carl's parallelStaffs music function to plain lily > code but also here have no success in managing parallel staves and > lyrics. Horizontal alignment with notes is OK but lyrics for both > voices are placed under staff system. How to forc

Re: rearrange music flow

2009-01-13 Thread Antanas Budriūnas
Hello, I went back from Carl's parallelStaffs music function to plain lily code but also here have no success in managing parallel staves and lyrics. Horizontal alignment with notes is OK but lyrics for both voices are placed under staff system. How to force lyrics to go under corresponding staff?

Re: rearrange music flow

2009-01-04 Thread Carl D. Sorensen
On 1/4/09 1:27 PM, "Antanas Budri?nas" wrote: > 2009/1/3 Carl D. Sorensen : >> Antanas, >> >> >> On 1/3/09 9:21 AM, "Antanas Budri?nas" wrote: >> >>> parallelStaffs = #(define-music-function (parser location firstStaff >> >> You need to put \lyricsmode { ala ala }, because the conte

Re: rearrange music flow

2009-01-04 Thread Antanas Budriūnas
2009/1/3 Carl D. Sorensen : > Antanas, > > > On 1/3/09 9:21 AM, "Antanas Budri?nas" wrote: > >> >>> parallelStaffs = #(define-music-function (parser location firstStaff >>> firstLyrics >>> secondStaff secondLyrics) >>> (ly:music? ly:xxx? ly:music? ly:xxx?) >>> #{ << >>>

Re: rearrange music flow

2009-01-03 Thread Carl D. Sorensen
Antanas, On 1/3/09 9:21 AM, "Antanas Budri?nas" wrote: > Sorry, I feel myself not yet ready for "froging" because such simple task > makes me trouble. > Slightly modifying Carl's function I tend to include lyrics into parallel > staves function. > I can't understand what should be in place of

Re: rearrange music flow

2009-01-03 Thread Antanas Budriūnas
Sorry, I feel myself not yet ready for "froging" because such simple task makes me trouble. Slightly modifying Carl's function I tend to include lyrics into parallel staves function. I can't understand what should be in place of 'ly:xxx?' as variable's type? parallelStaffs = #(define-music-functio

Re: rearrange music flow

2008-12-28 Thread Johan Vromans
"Carl D. Sorensen" writes: > > Yes, this is what I referred to as "a cumbersome task" :( > > OK, so automate it with a music function: That's more like it :) -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman

Re: rearrange music flow

2008-12-28 Thread Carl D. Sorensen
On 12/27/08 2:52 PM, "Johan Vromans" wrote: > "Carl D. Sorensen" writes: > >> intro = << >> \context Staff = "StaffOne" { >> \context Voice = "VoiceOne" { >> c''4 c'' >> } >> } >> \context Staff = "StaffTwo" { >> \context Voice = "VoiceTwo" { >> c'4 c' >> }

Re: rearrange music flow

2008-12-27 Thread Johan Vromans
"Carl D. Sorensen" writes: > intro = << > \context Staff = "StaffOne" { > \context Voice = "VoiceOne" { > c''4 c'' > } > } > \context Staff = "StaffTwo" { > \context Voice = "VoiceTwo" { > c'4 c' > } > } > >> > > verseOne = << > \context Staff = "StaffOne" {

Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
Just as curiosity: I was adding some lyrics to Carl's example and when the number of sylables is less than the number of notes, on each appearance of \intro lyrics go downstairs. \version "2.11.65" intro = << \context Staff = "StaffOne" { << \context Voice = "VoiceOne" { c''4 d'' }

Re: rearrange music flow

2008-12-27 Thread Carl D. Sorensen
On 12/27/08 11:05 AM, "Francisco Vila" wrote: > 2008/12/27 Carl D. Sorensen : >> \version "12.0.0" > > Parsing... > error: program too old: 2.12.0 (file requires: 12.0.0) > > :-) d'oh! Carl ___ lilypond-user mailing list lilypond-user@gnu.org

Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
2008/12/27 Trevor Daniels : > Doesn't \parallelMusic enable you to do this? See "Writing music in > parallel" in section 1.5.2 Multiple voices of the Notation Reference. Yes, parallelMusic is a workarround (like mentioned earlier creating heap of variables). But Carl alredy nicely solved this pu

Re: rearrange music flow

2008-12-27 Thread Francisco Vila
2008/12/27 Carl D. Sorensen : > \version "12.0.0" Parsing... error: program too old: 2.12.0 (file requires: 12.0.0) :-) -- Francisco Vila. Badajoz (Spain) http://www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.or

Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
2008/12/27 Carl D. Sorensen : > > Aha! I got it! The secret was to explicitly name the Staff and Voice > contexts, and use \context instead of \new. > > \version "12.0.0" > intro = << > \context Staff = "StaffOne" { >\context Voice = "VoiceOne" { > c''4 c'' >} > } > \context Staf

Re: rearrange music flow

2008-12-27 Thread Carl D. Sorensen
On 12/27/08 9:25 AM, "Antanas Budri?nas" wrote: > Hello, > > 2008/12/27 Francisco Vila : >> 2008/12/27 Antanas Budri?nas : >>> Thanks Arjan, thanks Francisco for replies. >>> Perhaps due my poor English you both misunderstood me. >>> There is a simplified example: >> >>> { \xi \xii \xi \xiii

Re: rearrange music flow

2008-12-27 Thread Carl D. Sorensen
On 12/27/08 5:00 AM, "Johan Vromans" wrote: > Arjan Bos writes: > >> Will this help you? > > I don't think so. At least, if I understand Antanas correctly. > > Assume you have a piece of music that consists of several sections. > For example, intro, verse1, chorus, verse2, chorus, bridge,

Re: rearrange music flow

2008-12-27 Thread Trevor Daniels
Doesn't \parallelMusic enable you to do this? See "Writing music in parallel" in section 1.5.2 Multiple voices of the Notation Reference. Trevor - Original Message - From: "Antanas Budriūnas" To: Sent: Saturday, December 27, 2008 2:06 PM Subject: Re: rearr

Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
2008/12/27 Francisco Vila : > What you are looking for is a sort of container which you could put > your music in. Something like a multi-voice variable, a "module" that > one could easily drop-in into existing staves or sequential pieces of > music without having to bother about anything else. Thi

Re: rearrange music flow

2008-12-27 Thread Francisco Vila
2008/12/27 Antanas Budriūnas : >> You get something close by means of >> { \new Voice \xi \xii \xi \xiii } > > Only *close* :) As well as with \new Staff I get all notes on one > staff instead of voices on separate staves. Imagine an orchestral > score :) What you are looking for is a sort of con

Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
Hello, 2008/12/27 Francisco Vila : > 2008/12/27 Antanas Budriūnas : >> Thanks Arjan, thanks Francisco for replies. >> Perhaps due my poor English you both misunderstood me. >> There is a simplified example: > >> { \xi \xii \xi \xiii } >> % >> >> Would be nice that all this code res

Re: rearrange music flow

2008-12-27 Thread Francisco Vila
2008/12/27 Antanas Budriūnas : > Thanks Arjan, thanks Francisco for replies. > Perhaps due my poor English you both misunderstood me. > There is a simplified example: > { \xi \xii \xi \xiii } > % > > Would be nice that all this code results the same score as from >

Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
Thanks Arjan, thanks Francisco for replies. Perhaps due my poor English you both misunderstood me. There is a simplified example: % \version "2.11.65" xi = \relative c' { << {e f} {c d}>> } xii = \relative c'' { << {g f} {e d}>> } xiii = \relative c' { << {e d} {c b}>> } { \xi \x

Re: rearrange music flow

2008-12-27 Thread Johan Vromans
Arjan Bos writes: > Will this help you? I don't think so. At least, if I understand Antanas correctly. Assume you have a piece of music that consists of several sections. For example, intro, verse1, chorus, verse2, chorus, bridge, verse3, chorus, coda. The normal way to program this in LilyPo

Re: rearrange music flow

2008-12-27 Thread Francisco Vila
2008/12/26 Antanas Budriūnas : > I can imagine some intermediate element between Staff (StaffGroup) and > Score in the Lilypond hierarchy, which includes sevaral staves but > neither starts new line nor puts clef, key and time signature. You could try \stopStaff and \hideNotes, then \startStaff an

Re: rearrange music flow

2008-12-27 Thread Arjan Bos
time when I need several measures from one place in the score (all parts together, maybe with lyrics) repeat somewhere in the middle of the piece or rearrange music flow in general. Some advance can be a naming (variables) relatively small chunks of music, each bar or so. But this way source reading be

rearrange music flow

2008-12-26 Thread Antanas Budriūnas
score (all parts together, maybe with lyrics) repeat somewhere in the middle of the piece or rearrange music flow in general. Some advance can be a naming (variables) relatively small chunks of music, each bar or so. But this way source reading becomes complicated. I can imagine some intermediate el