Re: Can I vary the system width for 1 system only
Hi Robin, many thanks! II will "heavy use" this solution. :) all the best, Peter Am 13.11.2015 um 22:34 schrieb Robin Bannister: Peter Berlau wrote: I found a ugly solution with \stopStaffs % generates 2 invisible staffs s1 s1 \startStaff for this i have to add on same place in the \chords also 2 s1 s1 to adjust chords to the remaining bars In this case you already have a structure amenable to splitting: - 34 bars melody - 2*4 bars coda So you could have melody variable and a coda variable, and introduce a third variable for the gap; eg it would then be easy to omit the gap from midi. But I agree that involving s1 is a depressing sort of hack. See if you like the attached pauseStaffBL hack any better. No skips needed - it maltreats bar lines instead. The demo does '\pauseStaffBL 40 \break' at the end of measure 9. Cheers, Robin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Can I vary the system width for 1 system only
Hello, I like to have a Sheet with 34 bars divided in 4 bars per system ( line ) 2 bars rest and a coda 8 bars I know it is just 'cosmetic', but I really like this, especially as musician, it is a good reminder that the form is "something special" and avoids mistakes if improvising over song... like to have a look like (other bars similar like the last 4 bars) C7D- G7 Cmaj7 |||||last 4 bars melodie D-G7 |||| % 2bar rest D- Eb D- Eb |:|||:|% coda I found a ugly solution with \stopStaffs % generates 2 invisible staffs s1 s1 \startStaff for this i have to add on same place in the \chords also 2 s1 s1 to adjust chords to the remaining bars I think this is pretty ugly and there will be a much better solution... Thanks for advice, all the best, Peter ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slashes and percent
Hi David, wow, that's easy to use, many thanks! all the best, Peter Am Montag, den 09.11.2015, 14:30 -0800 schrieb Flaming Hakama by Elaine: [..] > > > % Macro to print single slash > rs = { > \once \override Rest #'stencil = > #ly:percent-repeat-item-interface::beat-slash > \once \override Rest #'thickness = #0.48 > \once \override Rest #'slope = #1.7 > r4 > } > > > % Function to print a specified number of slashes > comp = #(define-music-function (parser location count) ( integer?) > #{ > \override Rest #'stencil = > #ly:percent-repeat-item-interface::beat-slash > \override Rest #'thickness = #0.48 > \override Rest #'slope = #1.7 > \repeat unfold $count { r4 } > \revert Rest #'stencil > #} > ) > > > % Example use of slashes: > \score { > \relative c' { > c4 d e f | > \rs \rs \rs \rs | > \comp #4 | > } > } > > > > > > > HTH, > > David Elaine Alt > > 415 . 341 .4954 "Confusion > is highly underrated" > > ela...@flaminghakama.com > > self-immolation.info > skype: flaming_hakama > Producer ~ Composer ~ Instrumentalist > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > ___ > 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: slashes and percent
Hi Jacques, works also fine, thanks a lot! All the best, Peter Am Montag, den 09.11.2015, 23:01 +0100 schrieb Jacques Menu: > Hello folks, > > How about: > > \relative c'' { > \override Staff.NoteHead.style = #'slash > \hide Staff.Stem > \repeat unfold 4 { \tweak staff-position #-0.5 c4 } > } > > JM > > > Le 9 nov. 2015 à 22:46, Simon Albrecht a écrit : > > > > Hello Peter, > > > > now the problem is clear. That’s what the Pitch_squash_engraver, used in > > the example from the Notation Reference, is for: it moves all the notes to > > the center of the staff, regardless of their pitch. So all you need to do > > is insert the following into your file on top level: > > > > \layout { > > \context { > >\Voice > >\consists "Pitch_squash_engraver" > > } > > } > > > > (or add the \consists command to a layout block you already have) > > and it’ll be fine. > > > > Yours, Simon > > > > On 09.11.2015 22:29, Peter Berlau wrote: > >> Hello Simon, > >> > >> Thanks for Help, > >> here is the code, sorry for length, but if You scroll pdf-output in > >> viewer You will immediateley know what I mean. > >> > >> > >> %%% > >> \version "2.18.2" > >> > >> > >> > >> \header { > >> title = "Subterranean Homesick Alien" > >> composer = "Thomas Yorke" > >> } > >> > >> melody = \relative c' { > >> \time 3/4 > >> \key c \major > >> \improvisationOn > >> > >> \omit Stem > >> { > >> b'4 b b b b b b b b b b b > >> } > >> > >> \undo \omit Stem > >> b4. b b b % given rhythm stems needed here > >> > >> \improvisationOff > >> \break > >> > >> } > >> % > >> changes = \chords { > >>c1.:maj7 > >>c1.:maj7 > >>c1.:maj7 > >> > >> } > >> > >> \bookpart { > >> << > >> \changes > >> \new Staff \melody > >> \set Staff.instrumentName = #"C" > >> >> > >> } > >> > >> > >> \bookpart { > >> \transpose bes c' > >> << > >> \changes > >> \new Staff { \melody } > >> \set Staff.instrumentName = #"Bb" > >> >> > >> } > >> > >> > >> \bookpart { > >> \transpose es c' > >> << > >> \changes > >> \new Staff \melody > >> \set Staff.instrumentName = #"Eb" > >> >> > >> } > >> > >> > >> \bookpart { > >> \transpose c c, > >> << > >> \changes > >> \new Staff \melody \clef bass > >> \set Staff.instrumentName = #"bs" > >> >> > >> } > >> > >> \version "2.18.2" > >> > >> > >> %%% > >> > >> > >> Am Montag, den 09.11.2015, 21:42 +0100 schrieb Simon Albrecht: > >>> On 09.11.2015 21:38, Peter Berlau wrote: > >>>> Hello Simon, hello All! > >>>> > >>>> > >>>> a part of my problem is solved > >>>> i using now > >>>> > >>>> \omit Stem > >>>> b4 b b b > >>>> \undo \omit Stem > >>>> > >>>> with the '/' as notehead > >>>> > >>>> But in tramspostion > >>>> in Bb b = 'cis' > >>>> in Es b = 'gis' > >>>> thats pretty ugly... > >>> Could you please post a (small, complete and compilable) code example, > >>> eventually with output, of what’s ugly? > >>> > >>> Thanks, Simon > >> > > > > > > ___ > > 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: slashes and percent
Hello Simon, that was exactly what I'm looking for! Cool, thank You so much! all the best, Peter Am Montag, den 09.11.2015, 22:46 +0100 schrieb Simon Albrecht: > Hello Peter, > > now the problem is clear. That’s what the Pitch_squash_engraver, used in > the example from the Notation Reference, is for: it moves all the notes > to the center of the staff, regardless of their pitch. So all you need > to do is insert the following into your file on top level: > > \layout { >\context { > \Voice > \consists "Pitch_squash_engraver" >} > } > > (or add the \consists command to a layout block you already have) > and it’ll be fine. > > Yours, Simon > > On 09.11.2015 22:29, Peter Berlau wrote: > > Hello Simon, > > > > Thanks for Help, > > here is the code, sorry for length, but if You scroll pdf-output in > > viewer You will immediateley know what I mean. > > > > > > %%% > > \version "2.18.2" > > > > > > > > \header { > > title = "Subterranean Homesick Alien" > > composer = "Thomas Yorke" > > } > > > > melody = \relative c' { > > \time 3/4 > > \key c \major > > \improvisationOn > > > > \omit Stem > > { > > b'4 b b b b b b b b b b b > > } > > > > \undo \omit Stem > > b4. b b b % given rhythm stems needed here > > > > \improvisationOff > > \break > > > > } > > % > > changes = \chords { > > c1.:maj7 > > c1.:maj7 > > c1.:maj7 > > > >} > > > > \bookpart { > ><< > > \changes > > \new Staff \melody > > \set Staff.instrumentName = #"C" > >>> > > } > > > > > > \bookpart { > > \transpose bes c' > ><< > > \changes > > \new Staff { \melody } > > \set Staff.instrumentName = #"Bb" > >>> > > } > > > > > > \bookpart { > > \transpose es c' > ><< > > \changes > > \new Staff \melody > > \set Staff.instrumentName = #"Eb" > >>> > > } > > > > > > \bookpart { > > \transpose c c, > ><< > > \changes > > \new Staff \melody \clef bass > > \set Staff.instrumentName = #"bs" > >>> > > } > > > > \version "2.18.2" > > > > > > %%% > > > > > > Am Montag, den 09.11.2015, 21:42 +0100 schrieb Simon Albrecht: > >> On 09.11.2015 21:38, Peter Berlau wrote: > >>> Hello Simon, hello All! > >>> > >>> > >>> a part of my problem is solved > >>> i using now > >>> > >>> \omit Stem > >>> b4 b b b > >>> \undo \omit Stem > >>> > >>> with the '/' as notehead > >>> > >>> But in tramspostion > >>> in Bb b = 'cis' > >>> in Es b = 'gis' > >>> thats pretty ugly... > >> Could you please post a (small, complete and compilable) code example, > >> eventually with output, of what’s ugly? > >> > >> Thanks, Simon > > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slashes and percent
Hello Simon, Thanks for Help, here is the code, sorry for length, but if You scroll pdf-output in viewer You will immediateley know what I mean. %%% \version "2.18.2" \header { title = "Subterranean Homesick Alien" composer = "Thomas Yorke" } melody = \relative c' { \time 3/4 \key c \major \improvisationOn \omit Stem { b'4 b b b b b b b b b b b } \undo \omit Stem b4. b b b % given rhythm stems needed here \improvisationOff \break } % changes = \chords { c1.:maj7 c1.:maj7 c1.:maj7 } \bookpart { << \changes \new Staff \melody \set Staff.instrumentName = #"C" >> } \bookpart { \transpose bes c' << \changes \new Staff { \melody } \set Staff.instrumentName = #"Bb" >> } \bookpart { \transpose es c' << \changes \new Staff \melody \set Staff.instrumentName = #"Eb" >> } \bookpart { \transpose c c, << \changes \new Staff \melody \clef bass \set Staff.instrumentName = #"bs" >> } \version "2.18.2" %%% Am Montag, den 09.11.2015, 21:42 +0100 schrieb Simon Albrecht: > On 09.11.2015 21:38, Peter Berlau wrote: > > Hello Simon, hello All! > > > > > > a part of my problem is solved > > i using now > > > > \omit Stem > > b4 b b b > > \undo \omit Stem > > > > with the '/' as notehead > > > > But in tramspostion > > in Bb b = 'cis' > > in Es b = 'gis' > > thats pretty ugly... > > Could you please post a (small, complete and compilable) code example, > eventually with output, of what’s ugly? > > Thanks, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slashes and percent
Hello Simon, hello All! a part of my problem is solved i using now \omit Stem b4 b b b \undo \omit Stem with the '/' as notehead But in tramspostion in Bb b = 'cis' in Es b = 'gis' thats pretty ugly... if i can use the percent and percent - slash the position of the percent and slash sign are not touched by transposition... Thats, what i looking for, but without the first note printed out. i can do this with percent, but not with the slash... and don't not know, why... ;) Thanks for Help, all the best, Peter Am Montag, den 09.11.2015, 00:30 +0100 schrieb Simon Albrecht: > Hello Peter, > > On 09.11.2015 00:09, Peter Berlau wrote: > > Hello Simon, > > thanks for fast answer. > > I use this also, but in this case I need no first note written, > > I like to use the percent and slashes as we call in german 'faulenzer'. > > > > It is for an "arrangement" for jazz ensemble. > > I have to create sheets for C-, Bb-, Eb- and Bass-Clef-C-Instruments > > so I use something like > > > > \bookpart { > > \transpose bes c' > ><< > > \changes > > \new Staff { \melody } > > \set Staff.instrumentName = #"Bb" > >>> > > } > > > > > > \bookpart { > > \transpose es c' > ><< > > \changes > > \new Staff \melody > > \set Staff.instrumentName = #"Eb" > >>> > > } > > > > etc., ... > > > > I have a "dirty solution" for this percent ( slashes ) > > > > \override Stem #'length = #0.0 > > #'thickness = #0.0 > > b4 b4 b4 > > \override Stem #'length = #7.0 > > \override Stem #'thickness = #1.3 > > > > > > Looks good on "original sheet" but pretty ugly on the transposed ones. > > > > In Jazz, in the improvisation chorus, if chords change from melody, it > > is usual to write only the chords over the bars > > and slashes in bars instead of notes, like > > D-7 > > | / / / / || > > The slash as notehead with stem is used if note/melody is free, but > > rhythm is given, often for rhythm intro ( piano or/and bass part(s) ) > > How about: > % > \version "2.18.2" > > << >\new ChordNames { } >\new Voice \with { \consists "Pitch_squash_engraver" } { > \override Stem.stencil = #point-stencil > \improvisationOn > c4 c c c >} > >> > %% > > Yours, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slashes and percent
Hello Simon, thanks for fast answer. I use this also, but in this case I need no first note written, I like to use the percent and slashes as we call in german 'faulenzer'. It is for an "arrangement" for jazz ensemble. I have to create sheets for C-, Bb-, Eb- and Bass-Clef-C-Instruments so I use something like \bookpart { \transpose bes c' << \changes \new Staff { \melody } \set Staff.instrumentName = #"Bb" >> } \bookpart { \transpose es c' << \changes \new Staff \melody \set Staff.instrumentName = #"Eb" >> } etc., ... I have a "dirty solution" for this percent ( slashes ) \override Stem #'length = #0.0 #'thickness = #0.0 b4 b4 b4 \override Stem #'length = #7.0 \override Stem #'thickness = #1.3 Looks good on "original sheet" but pretty ugly on the transposed ones. In Jazz, in the improvisation chorus, if chords change from melody, it is usual to write only the chords over the bars and slashes in bars instead of notes, like D-7 | / / / / || The slash as notehead with stem is used if note/melody is free, but rhythm is given, often for rhythm intro ( piano or/and bass part(s) ) Thanks or help, all the best, Peter Am Sonntag, den 08.11.2015, 23:43 +0100 schrieb Simon Albrecht: > Hello Peter, > > On 08.11.2015 22:54, Peter Berlau wrote: > > Hello, > > > > I like to use slashes and percent - repeaters > > > > but without a note in the beginning, > > The question likely is: For what purpose do you want that? Since > obviously, if you really want a percent repeat (that is an abbreviated > notation to avoid spelling out the same notes many times), the player > needs to know somehow what he is supposed to repeat, so the first one > needs to be spelled out. > I suspect you might want something like > <http://www.lilypond.org/doc/v2.19/Documentation/notation/note-heads#improvisation>, > > but I can’t know. > > HTH, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
slashes and percent
Hello, I like to use slashes and percent - repeaters but without a note in the beginning, I found \version "2.18.2" makePercent = #(define-music-function (parser location note) (ly:music?) "Make a percent repeat the same length as NOTE." (make-music 'PercentEvent 'length (ly:music-length note))) \relative c'' { \makePercent s1 \makePercent s1 \makePercent s1 \makePercent s1 } % works only for percent no note, only percent sign \relative c'' { \repeat percent 4 { c4 } } % normal usage print one 1/4 note and 3 slashes, I like to have no % note, but 4 slashes Can You please help me? Thanks, all the best, Peter ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: show chord symbol in each bar
Hi Reinhold, Am Mittwoch, den 27.01.2010, 18:36 +0100 schrieb Reinhold Kainhofer: > \score { > << > \new ChordNames \chordmode { > c1 c1 c1 c1 > } > \new Staff \relative c' { > c1 e1 g1 c1 > } > >> > } Thanks, that is exact what I am looking for. I adjusted my Sheet, all the best! Peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
show chord symbol in each bar
Hello, I really like Lilypond an the snipplet and documentary is very usable, thanks a lot for this. I have not found a solution for the following "problem" If I use, e.g. a 4 bar melody sequence which only has one Chord the assigned chord symbol is only shown over the first bar (1) he and not the over the other bars (2-4). I would like to have the Chordsymbolover all bars (1-4) is this possible? Other, is it possible to change the Color of a single barline? Thanks for advice, all the best, peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Transpose for pattern sheets
Hi Tim, I have corrected the range to be playable for saxophone. I do step chromatic because, however, I faster memorize patterns if I exercise in that way. After that I vary intervalls as Dick Grooves practice templates ;-) My saxophone hero is Sonny Rollins, I also like Dexter Gordon and Jerry Bergonzi very much and Seamus Blake, Wayne Shorter and many others also. I just figured out some Coltrane patterns to lock to his structures, especially "Giant Steps" period, the permutation stuff ;-) Keep swingin' Peter Am Wed, 21 Oct 2009 09:10:41 -0500 schrieb Tim McNamara : > > On Oct 21, 2009, at 4:13 AM, Peter Berlau wrote: > > > I have done writing done some patterns of my favorite sax players > > and like to transpose this patterns to any key. > > > > I found a solution but I am not sure if this is a elegant method, > > also maybe it is more useful to make use of the enharmonics to make > > the sheet more readable. Is there any (much) better soulution? > > Looks like good code to me, the end result seems fine, but it also > looks like several of the transpositions result in notes out of the > range the saxophones. > > Reading through it might be easier if you backcycle by fourths > instead of ascending chromatically (e.g., from the keys of C to F to > Bb to Eb, etc.) since this only changes one flat per key. It is > traditional to practice this way; however, if you want to be playing > Coltrane stuff, he often didn't move through the keys that way. > There's little point in making things too easy when trying to master > Coltrane's music. > > I've always felt sorry for his accompanying musicians- Trane worked > on those tunes at home for months- such as "Giant Steps"- and then > sprung them on his colleagues in the studio, giving them only a > short time to prepare before recording. > > > ___ > 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
Transpose for pattern sheets
Hello, I have done writing done some patterns of my favorite sax players and like to transpose this patterns to any key. I found a solution but I am not sure if this is a elegant method, also maybe it is more useful to make use of the enharmonics to make the sheet more readable. Is there any (much) better soulution? thanks in advance Peter Col_P24.ly Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: using lilypond for leadsheets
Hello Andrew, thanks for Your help! And I like to thank for all the other answers that helped me very well. Last problem I have, if I like to transpose a pattern to all 12 keys, like to have 12. lines of notes how I should do it best? Sorry for my english! wish you all the very best and thanks again for all the solutions! Peter [..] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
using lilypond for leadsheets
Hello, ufortuaneletey I lost all my Sheets I create with Lilypond in 2006 and therefore I not really use Lilypond since 2006 I need to learn all things new. I have some questions about: mostly I like to have a single staff with chords and, maybe, lyrics. I preffer Aebersold notation about Standard so I really like to have C- insteed of Cm and so on... Is there a good starting point, maybe someone do Sheets with Lilypond already and can give me some advice or a template for using Lilypond. Need to transpose to 'C', 'Bb', 'Eb' and have treble and bass keys. thanls for advice, all the very best Peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
adding vertical space between systems
Hi, I have a problem with lilypond 2.10.33 on Debian Gnu 4.0 and LateX I like to add additional vertical space to my systems and used therefore \overrideProperty #"Score.NonMusicalPaperColumn" #'line-break-system-details #'((next-padding . 10)) this works fine if I used it on lilypond files but I have a LateX File with external lilyput files I "compile" with lilypond-book \large Rhythmuspatterns \vspace{1cm}\newline \lilypondfile[noindent]{durskalen2.ly} after I have the final TeX file and run pdflatex foo.tex all extra vertical space a lost :-( my LateX header is \documentclass[a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{palatino} % maybe I have to add more... or less? Can You please help me, thanks. all the best, Peter -- http://www.peterberlau.de ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user