Re: RhythmicStaff vs. repeat bar-aligned markup
Wow. Couldn't even find that in the command index. But it worked just as you said. On Sat, Apr 23, 2011 at 3:07 AM, Phil Holmes wrote: > LilyPond normally only places Rehearsal Marks above the top staff. To > get rid of marks altogether, add this to the top of your code: > > \layout { > \context { > \Score > \remove "Mark_engraver" > \remove "Staff_collecting_engraver" > } > } > Then add > > \consists Mark_engraver > \consists "Staff_collecting_engraver" > to the \with for your main staff - this will add the rehearsal marks back > in for that staff. > > -- > Phil Holmes > > > > - Original Message - > *From:* Richard Opheim > *To:* lilypond-user@gnu.org > *Sent:* Friday, April 22, 2011 9:21 PM > *Subject:* RhythmicStaff vs. repeat bar-aligned markup > > This one's beyond me. I want to insert some markup that aligns with the > repeat bar instead of a musical note. It so happens that there's a > RhythmicStaff above the main staff and over the measure where the repeat bar > is, so my repeat bar-aligning markup text ("Repite ad lib.") now appears > above the RhythmicStaff, instead of above the main staff with the other > markup ("Guía"), as it would if there were no RhythmicStaff. > Here's some code that will reproduce my problem: > <<\new Staff = "main" > \with {\override VerticalAxisGroup #'minimum-Y-extent = #'(-2.5 . 2.5)} > \relative a { \clef "treble" \key c \major \time 6/8 > %{measure 1 %} <<{\repeat volta 2 {a4 ^\markup {\bold {Guía}}c8 ~ c8 a8 [ > a8 ] > %{measure 2 %} g8 a4 a4.}} > \new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3 } > {b4 b8 r8 b8 b8 r8 b4 b4 b8}>> > \once \override Score.RehearsalMark #'break-align-symbols = #'(repeat bar) > \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT > \mark\markup{\normalsize Repite \normalsize\italic{ad lib.}} > %{measure 3 %} e1^\markup {\bold {Guía}}}>> > > Can I get the "repite ad lib." to align horizontally with the "Guía"? > TIA > Richard Opheim > > > > -- > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- Richard Opheim Home: 425-486-5421 Cell: 425-381-9213 "The term 'fair tax' is one that ought to be permanently relegated to the oxymoron category, along with government efficiency, military intelligence, principled politician, market socialism, common ownership, Hollywood morality, and airline food." M.G. Warner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [tablatures] Re: Could I get a critique on my first lilypond tab?
On Sat, Apr 23, 2011 at 9:13 PM, Patrick Horgan wrote: > I have separately and previously contacted his management company to see > what they think of me sharing the tab online along with the tabs of > dozens of other songs of his out there, but I haven't heard anything > back from them yet. I'll be sure to let the group know. There are dozens of websites out there that share tablatures for copyrighted songs without ever being sued... But it's all about liability: even if it was morally right (which I believe it is), the GNU project that's hosting these public mailing lists can't afford to take any risks, so Federico is welcome to remind us of potential legal issues. (As for lilynet.net mailing lists, which I'm the only one responsible for, I am perfectly OK with letting people post tablatures or possibly-copyrighted material; if it ever comes under scrutiny or if I ever get any cease-and-desist notification, then we'll see.) Anyway, thanks for sharing! Cheers, Valentin. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [tablatures] Re: Could I get a critique on my first lilypond tab?
On 04/23/2011 02:50 AM, Federico Bruni wrote: > Il giorno sab, 23/04/2011 alle 02.36 -0700, Patrick Horgan ha scritto: >> I figured it out. It was the Text_engraver I needed. So I'm >> attaching >> a new version that has H in the appropriate place. Please let me know >> if there are better/more elegant ways of doing the things I do here. > New version? It looks like the previous file :-) I added the Text_engraver to the TabStaff, so now the "H"s show up. That's the only change, but the output suddenly became closer to what I want, although I'd really rather have the "H"s show up above the slurs. > BTW, I don't think that you are allowed to post copyrighted music on a > public list. Well, in the US every written work by anyone is copyright upon creation. If you were right, nothing could be posted, not even this email. I get your point though, I imagine you're saying that posting (publishing), work that transcribes work that I don't own the copyright to without the permission of the owner of the original copyright opens me to the owners assertion that his rights have been violated.I love watching copyright rules change through the years, but I'm not a lawyer. I have separately and previously contacted his management company to see what they think of me sharing the tab online along with the tabs of dozens of other songs of his out there, but I haven't heard anything back from them yet. I'll be sure to let the group know. > Cheers, > Federico Best regards, Patrick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PDFs no longer created: error: -dCompatibilityLevel=1.4
I see from the logs that I updated ghostscript on April 20. Might this be the culprit? On Sat, Apr 23, 2011 at 2:16 PM, wrote: > > Lilypond .ly files that created .pdf files just fine > a few weeks ago no longer work. I get the messages: [...] ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
PDFs no longer created: error: -dCompatibilityLevel=1.4
Lilypond .ly files that created .pdf files just fine a few weeks ago no longer work. I get the messages: Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to `song01.ps'... Converting to `./song01.pdf'... `gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile="./song01.pdf" -c .setpdfwrite -f "song01.ps"' failed (256) error: failed files: "song01.ly" I am using version \version "2.12.3" and I have _not_ upgraded my lilypond installation ever ( I have only been using lilypond less than two months). My OS is CentOS 5.6 and I have done perhaps 100 or more package updates to the operating system in the last week though. Among other packages that were updated was the Cups package. Several libraries were also updated. Might updating the OS packages have caused lilypond to no longer produce .pdf files? If so, I guess a solution would be to uninstall and then reinstall lilypond? Thanks; ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: RhythmicStaff vs. repeat bar-aligned markup
LilyPond normally only places Rehearsal Marks above the top staff. To get rid of marks altogether, add this to the top of your code: \layout { \context { \Score \remove "Mark_engraver" \remove "Staff_collecting_engraver" } } Then add \consists Mark_engraver \consists "Staff_collecting_engraver" to the \with for your main staff - this will add the rehearsal marks back in for that staff. -- Phil Holmes - Original Message - From: Richard Opheim To: lilypond-user@gnu.org Sent: Friday, April 22, 2011 9:21 PM Subject: RhythmicStaff vs. repeat bar-aligned markup This one's beyond me. I want to insert some markup that aligns with the repeat bar instead of a musical note. It so happens that there's a RhythmicStaff above the main staff and over the measure where the repeat bar is, so my repeat bar-aligning markup text ("Repite ad lib.") now appears above the RhythmicStaff, instead of above the main staff with the other markup ("Guía"), as it would if there were no RhythmicStaff. Here's some code that will reproduce my problem: <<\new Staff = "main" \with {\override VerticalAxisGroup #'minimum-Y-extent = #'(-2.5 . 2.5)} \relative a { \clef "treble" \key c \major \time 6/8 %{measure 1 %} <<{\repeat volta 2 {a4 ^\markup {\bold {Guía}}c8 ~ c8 a8 [ a8 ] %{measure 2 %} g8 a4 a4.}} \new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3 } {b4 b8 r8 b8 b8 r8 b4 b4 b8}>> \once \override Score.RehearsalMark #'break-align-symbols = #'(repeat bar) \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT \mark\markup{\normalsize Repite \normalsize\italic{ad lib.}} %{measure 3 %} e1^\markup {\bold {Guía}}}>> Can I get the "repite ad lib." to align horizontally with the "Guía"? TIA Richard Opheim -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Could I get a critique on my first lilypond tab?
Il giorno sab, 23/04/2011 alle 02.36 -0700, Patrick Horgan ha scritto: > I figured it out. It was the Text_engraver I needed. So I'm > attaching > a new version that has H in the appropriate place. Please let me know > if there are better/more elegant ways of doing the things I do here. New version? It looks like the previous file :-) BTW, I don't think that you are allowed to post copyrighted music on a public list. Cheers, Federico ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Could I get a critique on my first lilypond tab?
On 04/23/2011 02:03 AM, Patrick Horgan wrote: > ...elision by Patrick... > You'll see my attempt to put H at appropriate places doesn't work. > Apparently a TabStaff is missing whatever engraver would put them in? I > can put them in the regular staff, and it works, tucking them under the > Chords, but it's not at all what I want. Help!!!;) I figured it out. It was the Text_engraver I needed. So I'm attaching a new version that has H in the appropriate place. Please let me know if there are better/more elegant ways of doing the things I do here. Patrick \version "2.13.45" \header { title = "Let Him Roll" subtitle = "by Guy Clark" subsubtitle = "tablature by Patrick Horgan" copyright = "Copyright Guy Clark" } \layout { indent = 0.0 } hammersNpulls = \relative c { \time 4/4 \key c \major \voiceThree \stemUp s1 s1 s8^"H" s8 s4 s8^"H" s8 s4 s8^"H" s8 s4 s8^"H" s8 s4 s1 s1^"H" s1 s1 s1 s1 s1 s1 s1 s1^"H" s1 s1 } thechords = \relative c { \time 4/4 \key c \major \voiceThree \stemUp s1^"C" s2 s2^"Cadd9" s1^"Fmaj13" s1 s1^"Em7/G" s1^"G7" s2^"Cadd9" s2^"C" s1 s1^"C" s2 s2^"Cadd9" s1^"Fmaj13" s1 s1^"Em7/G" s1 s2^"Cadd9" s2^"C" s1 } upper = \relative c { \time 4/4 \key c \major \voiceOne \stemUp < c' g' >2. 4 | 4. g8 e' d c g( | a) d ~ d g,( a) d ~ d g,( | a) d ~ d g,( a) d ~ d4 | d4. r8 d e ~ e4 | \appoggiatura e8 4. 8 ~ 8 g,4. | d'2 r8 c ~ c g | r8 b ~ b4 e f | % repeat with variations < c g' >2. 4 | 4. g8 e' d ~ d4 | d2 r4 | a8 d ~ d g,( a) d ~ d4 | d4. r8 d e ~ e4 | \appoggiatura e8 4. 8 ~ 8 g,4. | d'2 r8 c ~ c g | r8 b ~ b4 e f | \bar ":|" } lower = \relative c { \time 4/4 \key c \major \voiceTwo \stemDown c4 e g, r | c e c e | f f f f | f f f f| \break g, d' g, d' | g, d' g, d' | c e c e | g, d' g, b | \break % repeat with variations c4 e g, r | c e c e | f a c,2 | f4 f f f | \break g, d' g, d' | g, d' g, d' | c e c e | g, d' g, b | } \score { << \new StaffGroup = "tab with traditional" << \new Staff = "guitar traditional" << \clef "treble_8" \context Voice = "theChords" \thechords % Put chord names in \context Voice = "upper" \upper \context Voice = "lower" \lower >> % regular staff \new TabStaff \with { \consists "Text_engraver" } << \context TabVoice = "hammersNpulls" \hammersNpulls \context TabVoice = "upper" { \tabFullNotation \upper } \context TabVoice = "lower" { \tabFullNotation \lower } >> % tab staff >> % staff group >> % score } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Could I get a critique on my first lilypond tab?
Anything anyone wants to tell me about better slicker more elegant ways of doing the same things would be awesome. I'm attaching the lilypond file for Let Him Roll, a Guy Clark talking blues. He essential plays the same thing over and over. What I've got covers the main two variations. I couldn't find anything that covered hammering and pulling with H and P either under or over the tab or on the slur line, so just followed the suggestion to use an appoggiatura for a hammer for something that switched notes on the beat, and a grace notey sort of thing for a quick hammer that just borrowed a bit from the beginning of the note for the original note before the hammer. I'm not sure how you would know the difference between a hammer and a pull. You'll see my attempt to put H at appropriate places doesn't work. Apparently a TabStaff is missing whatever engraver would put them in? I can put them in the regular staff, and it works, tucking them under the Chords, but it's not at all what I want. Help!!!;) Patrick \version "2.13.45" \header { title = "Let Him Roll" subtitle = "by Guy Clark" subsubtitle = "tablature by Patrick Horgan" copyright = "Copyright Guy Clark" } \layout { indent = 0.0 } hammersNpulls = \relative c { \time 4/4 \key c \major \voiceThree \stemUp s1 s1 s8^"H" s8 s4 s8^"H" s8 s4 s8^"H" s8 s4 s8^"H" s8 s4 s1 s1^"H" s1 s1 s1 s1 s1 s1 s1 s1^"H" s1 s1 } thechords = \relative c { \time 4/4 \key c \major \voiceThree \stemUp s1^"C" s2 s2^"Cadd9" s1^"Fmaj13" s1 s1^"Em7/G" s1^"G7" s2^"Cadd9" s2^"C" s1 s1^"C" s2 s2^"Cadd9" s1^"Fmaj13" s1 s1^"Em7/G" s1 s2^"Cadd9" s2^"C" s1 } upper = \relative c { \time 4/4 \key c \major \voiceOne \stemUp < c' g' >2. 4 | 4. g8 e' d c g( | a) d ~ d g,( a) d ~ d g,( | a) d ~ d g,( a) d ~ d4 | d4. r8 d e ~ e4 | \appoggiatura e8 4. 8 ~ 8 g,4. | d'2 r8 c ~ c g | r8 b ~ b4 e f | % repeat with variations < c g' >2. 4 | 4. g8 e' d ~ d4 | d2 r4 | a8 d ~ d g,( a) d ~ d4 | d4. r8 d e ~ e4 | \appoggiatura e8 4. 8 ~ 8 g,4. | d'2 r8 c ~ c g | r8 b ~ b4 e f | \bar ":|" } lower = \relative c { \time 4/4 \key c \major \voiceTwo \stemDown c4 e g, r | c e c e | f f f f | f f f f| \break g, d' g, d' | g, d' g, d' | c e c e | g, d' g, b | \break % repeat with variations c4 e g, r | c e c e | f a c,2 | f4 f f f | \break g, d' g, d' | g, d' g, d' | c e c e | g, d' g, b | } \score { << \new StaffGroup = "tab with traditional" << \new Staff = "guitar traditional" << \clef "treble_8" \context Voice = "theChords" \thechords % Put chord names in \context Voice = "upper" \upper \context Voice = "lower" \lower >> % regular staff \new TabStaff = "guitar tab" << \context TabVoice = "hammersNpulls" { \tabFullNotation \hammersNpulls } \context TabVoice = "upper" { \tabFullNotation \upper } \context TabVoice = "lower" { \tabFullNotation \lower } >> % guitar tab >> % staff group >> % score } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user