Re: BRICK WALL
2007/7/16, Mischa Falkenburg [EMAIL PROTECTED]: OK Valentin, I tried it (first) totally as you wrote...this did NOT generate a .pdf file for me(or anyone else) to see :-( . You must have forgotten some brace when copying/pasting. But, using some of what you've shown me...but keeping my { }'s [ ]'s ;-) , I plugged my code so it was like this: the point is: braces delimit LilyPond's expressions, for example \repeat only affects one expression: \repeat unfold 3 {a b c d} === a b c d a b c d a b c d whereas \repeat unfold 3 {a b} {c d} === a b a b a b c d Just to clear-up any confusion, the IDEA behind this piece is that each phrase/Voice is repeated UNTIL the next vertical chord would be identical to the first vertical chord. In other words, the last chord for this piece is the same as the first...g b d r c g. Pretty cerebral, eh? I love repetitive music too. But as you can see with the attached file, you might want to adjust your \repeat numbers, because for now the voices don't end together... Besides, maybe you'd better put them in a StaffGroup rather than a GrandStaff; see the .ly file Valentin \version 2.10.0 timeAndKey = { \time 4/4 \key g \major} voiceA = \relative c'' { \timeAndKey \repeat unfold 4 { g'4 fis4 d8 e b c d4 fis4 d4 b4 a8 b \times 2/3 {c d c}d8 g fis d c4 a2 g4} } voiceB = \relative c { \timeAndKey \repeat unfold 8 { d'8 e fis4 g8 a c4 e4 c8 b a4 g8 fis } } voiceC = \relative c {\timeAndKey \repeat unfold 3 {b'4 a4 b4 e4 g4 a4 fis4 e4~ e4 c4 c8 d r4} } voiceD = \relative c' {\timeAndKey \repeat unfold 7 {r1 r1 g'4 fis4 d8 e b c e4 c8 b a4 g8 fis a8 b \times 2/3 {c8 d c} d8 g fis d e4 c8 b a4 g8 fis r1} } voiceE = \relative c' {\timeAndKey \repeat unfold 5 { c'2 b8 d c b a4 b4 g2~ g2 b8 d c b c4 fis4 \times 2/3 {e8 d e} d4~ d4 a2 r4} } voiceF = \relative c' {\timeAndKey \repeat unfold 8 {g'2( e2 c2) r2 e2(c2 c2) r2 fis'2( d2 b2) r2 d2( b2 g1) } } \score { \new StaffGroup { \new Staff \voiceA \new Staff \voiceB \new Staff \voiceC \new Staff \voiceD \new Staff \voiceE \new Staff \voiceF }} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
that Brick Wall...
...is now DOWN. Thanks to Neil Valentin for their suggestions and help. I understand a LOT more than I did when I started this project. I feel confident enough now to continue moving forward :-) . Thanks again, Mischa ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BRICK WALL
Valentin Villenave wrote: 2007/7/16, Mischa Falkenburg [EMAIL PROTECTED]: Trying to do a piece with 6 seperate voices. The first 4 measures look fine, but I'm not able to go any further! Sounds interesting; can you please post some of your code? Regards, Valentin Valentin, thanks for being interested :-) . I have a feeling, right off the bat, that there's probably too much here here, so any tips on less code would be appreciated also. \parallelMusic #'(voiceA voiceB voiceC voiceD voiceE voiceF) { voiceA = \relative c'' { \time 4/4 \key g \major {g'4 fis4 d8[e b c]}{d4 fis4 d4 b4}{a8[b] \times 2/3 {c d c}d8[g fis d]}{c4 a2 g4} (g4 fis...(this phrase repeats) } voiceB = \relative c { \time 4/4 \key g \major {d'8[e] fis4 g8[a] c4}{e4 c8[b] a4 g8[fis]}{d8[e] fis4 g8[a] c4}{e4 c8[b] a4 g8[fis]} {d8[e]...(this also repeats as above) } this set-up is the same all the way through voiceF, with out the parenthetical notes for you } } \new GrandStaff \new Staff \new Voice \voiceA (etc., to) \new Staff \new Voice \voiceF \layout {} \midi {} } Well, that's the gist of it. Even though I've entered the code for additional measures, all the pdf shows is the initial 4. Thnx again for your help. Mischa ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BRICK WALL
I don't know how much help my suggestion is, but I've run into a similar situation. Could it be that the paper is the wrong size? Or, more importantly in the same line of reasoning, could the line width be too long for the given page size? One time I was trying to get my music onto 6 by 9 inch pages, so I tried this code: \paper { paper-width = 6\in paper-height = 9\in } When I rendered the rest of my music, I could see only the middle of my music, because the line width was still based on the A4 (default) paper size. I had to add a line width declaration to the paper block, like this: line-width = 5\in Then it worked. This may not be the problem at all, because reading your post again, I realized that you would have noticed if measures were falling off the page... in your case, they were just not getting rendered. Another thought... maybe you should group those staves with \ChoirStaff instead of \GrandStaff... just a thought. I guess I should try running your example. ^_^ Regards, Romel Valentin Villenave wrote: 2007/7/16, Mischa Falkenburg [EMAIL PROTECTED]: Trying to do a piece with 6 seperate voices. The first 4 measures look fine, but I'm not able to go any further! Sounds interesting; can you please post some of your code? Regards, Valentin Valentin, thanks for being interested :-) . I have a feeling, right off the bat, that there's probably too much here here, so any tips on less code would be appreciated also. \parallelMusic #'(voiceA voiceB voiceC voiceD voiceE voiceF) { voiceA = \relative c'' { \time 4/4 \key g \major {g'4 fis4 d8[e b c]}{d4 fis4 d4 b4}{a8[b] \times 2/3 {c d c}d8[g fis d]}{c4 a2 g4} (g4 fis...(this phrase repeats) } voiceB = \relative c { \time 4/4 \key g \major {d'8[e] fis4 g8[a] c4}{e4 c8[b] a4 g8[fis]}{d8[e] fis4 g8[a] c4}{e4 c8[b] a4 g8[fis]} {d8[e]...(this also repeats as above) } this set-up is the same all the way through voiceF, with out the parenthetical notes for you } } \new GrandStaff \new Staff \new Voice \voiceA (etc., to) \new Staff \new Voice \voiceF \layout {} \midi {} } Well, that's the gist of it. Even though I've entered the code for additional measures, all the pdf shows is the initial 4. Thnx again for your help. Mischa ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BRICK WALL
2007/7/16, Mischa Falkenburg [EMAIL PROTECTED]: I have a feeling, right off the bat, that there's probably too much here here, so any tips on less code would be appreciated also. You'll find a few below. 1 \parallelMusic is useless here 2 manual a[b] beaming is not needed here (I removed every bracket, and you'll see that LilyPond is smart enough to produce the exact same result on its own :) 3 You use many, many braces: what for? I removed them too 4 I have defined a new identifier so I hadn't to specify many times the key and the time signature. 5 I used \repeat unfold n so I hadn't to enter (or copy/paste) the music again and again (see chapter 6.7 in the manual) 6 I added a \score block so your \layout and \midi stuff work better. I advice you to clean your code this way, and then post again your score (with all of the 6 voices); then we'll be able to help (if the cleaning didn't solve your problem, which is nevertheless possible after all :) %%% Here's your score --much shorter :) timeAndKey = { \time 4/4 \key g \major} voiceA = \relative c'' { \timeAndKey \repeat unfold 4 { g'4 fis4 d8 e b c d4 fis4 d4 b4 a8 b \times 2/3 {c d c}d8 g fis d c4 a2 g4} } voiceB = \relative c { \timeAndKey \repeat unfold 8 { d'8 e fis4 g8 a c4 e4 c8 b a4 g8 fis } } \score { \new GrandStaff { \new Staff \voiceA \new Staff \voiceB }} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BRICK WALL
Valentin Villenave wrote: I advice you to clean your code this way, and then post again your score (with all of the 6 voices); then we'll be able to help (if the cleaning didn't solve your problem, which is nevertheless possible after all :) %%% Here's your score --much shorter :) timeAndKey = { \time 4/4 \key g \major} voiceA = \relative c'' { \timeAndKey \repeat unfold 4 { g'4 fis4 d8 e b c d4 fis4 d4 b4 a8 b \times 2/3 {c d c}d8 g fis d c4 a2 g4} } voiceB = \relative c { \timeAndKey \repeat unfold 8 { d'8 e fis4 g8 a c4 e4 c8 b a4 g8 fis } } \score { \new GrandStaff { \new Staff \voiceA \new Staff \voiceB }} OK Valentin, I tried it (first) totally as you wrote...this did NOT generate a .pdf file for me(or anyone else) to see :-( . But, using some of what you've shown me...but keeping my { }'s [ ]'s ;-) , I plugged my code so it was like this: \version 2.10.0 timeAndKey = {\time 4/4 \key g \major} voiceA = \relative c'' {\timeAndKey \repeat unfold 4 {g'4 fis4 d8[e b c]}{d4 fis4 d4 b4}{a8[b] \times 2/3 {c d c} d8[g fis d]}{c4 a2 g4} } voiceB = \relative c {\timeAndKey \repeat unfold 2 {d'8[e] fis4 g8[a] c4}{e4 c8[b] a4 g8[fis]} } voiceC = \relative c {\timeAndKey \repeat unfold 3 {b4 a4 b4 e4}{g4 a4 fis4 e4~}{e4 c4 c8[d] r4} } voiceD = \relative c {\timeAndKey \repeat unfold 7 {r1}{r1}{g'4 fis4 d8[e b c]}{e4 c8[b] a4 g8[fis]}{a8[b] \times 2/3 {c8 d c} d8[g fis d]}{e4 c8[b] a4 g8[fis]}{r1} } voiceE = \relative c' {\timeAndKey \repeat unfold 5 {c'2 b8[d c b]}{a4 b4 g2~}{g2 b8[d c b]}{c4 fis4 \times 2/3 {e8 d e} d4~}{d4 a2 r4} } voiceF = \relative c {\timeAndKey \repeat unfold 8 {g'2(e2}{c2) r2}{e2(c2}{c2) r2}{fis'2(d2}{b2) r2}{d2 b2)}{g1)} } \new GrandStaff \new Staff \voiceA \new Staff \voiceB \new Staff \voiceC \new Staff \voiceD \new Staff \voiceE \new Staff \voiceF \layout { } \midi { } Now, what happened here is that the first measure of each phrase gets repeated, rather than the entire phrase. How to do THAT? Also, LilypondTool via jEdit isn't generating a MIDI file either. Just to clear-up any confusion, the IDEA behind this piece is that each phrase/Voice is repeated UNTIL the next vertical chord would be identical to the first vertical chord. In other words, the last chord for this piece is the same as the first...g b d r c g. Pretty cerebral, eh? Any way, that's where it stands right now. The ball is in anyone's court :-D . ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BRICK WALL
Hi Mischa, On 7/16/07, Mischa Falkenburg [EMAIL PROTECTED] wrote: Now, what happened here is that the first measure of each phrase gets repeated, rather than the entire phrase. Removing all the extra braces fixes this. How to do THAT? Also, LilypondTool via jEdit isn't generating a MIDI file either. You're missing a \score block. Just to clear-up any confusion, the IDEA behind this piece is that each phrase/Voice is repeated UNTIL the next vertical chord would be identical to the first vertical chord. In other words, the last chord for this piece is the same as the first...g b d r c g. Pretty cerebral, eh? Any way, that's where it stands right now. The ball is in anyone's court :-D . How's this: \version 2.10.0 timeAndKey = {\time 4/4 \key g \major} voiceA = \relative c'' {\timeAndKey \repeat unfold 4 {g'4 fis4 d8 e b c d4 fis4 d4 b4 a8 b \times 2/3 {c d c} d8 g fis d c4 a2 g4} } voiceB = \relative c {\timeAndKey \repeat unfold 2 {d'8 e fis4 g8 a c4 e4 c8 b a4 g8 fis } } voiceC = \relative c {\timeAndKey \repeat unfold 3 {b''4 a4 b4 e4 g4 a4 fis4 e4~ e4 c4 c8 d r4} } voiceD = \relative c'' {\timeAndKey \repeat unfold 7 {r1 r1 g'4 fis4 d8 e b c e4 c8 b a4 g8 fis a8 b \times 2/3 {c8 d c} d8 g fis d e4 c8 b a4 g8 fis r1} } voiceE = \relative c' {\timeAndKey \repeat unfold 5 {c'2 b8 d c b a4 b4 g2~ g2 b8 d c b c4 fis4 \times 2/3 {e8 d e} d4~ d4 a2 r4} } voiceF = \relative c'' {\timeAndKey \repeat unfold 8 {g'2 e2 c2 r2 e2(c2 c2) r2 fis'2(d2 b2) r2 d2 b2 g1} } \score { \new GrandStaff \new Staff \voiceA \new Staff \voiceB \new Staff \voiceC \new Staff \voiceD \new Staff \voiceE \new Staff \voiceF \layout { } \midi { } } Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
BRICK WALL
Hello all. Trying to do a piece with 6 seperate voices. The first 4 measures look fine, but I'm not able to go any further! Using version 2.10.0, on a Windows 98 box...which has worked fine for me this far. I've written a total of eight measures for each voice, but the pdf only will show the first 4. Suggestions? Thanks-in-advance, Mischa ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BRICK WALL
2007/7/16, Mischa Falkenburg [EMAIL PROTECTED]: Trying to do a piece with 6 seperate voices. The first 4 measures look fine, but I'm not able to go any further! Sounds interesting; can you please post some of your code? Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user