Re: acciaccatura "slurs" are getting canceled with hide Slur
Dear Valentin, Most excellent thank you very much for this! Adam On Mon, Nov 29, 2021 at 2:57 PM Valentin Petzel wrote: > Hi Adam, > > hide overrides the specified grobs to be transparent (they will still > affect > spacing!) > One option would be doing something like the appended example, which > overrides > appoggiatura to tweak the slur to that transparent is #f. > > A better way would be the use \omit Slur, which sets Slur.stencil to #f > (and > thus prevents any graphics to be created). In that case appoggiatura needs > to > tweak the stencil back to ly:slur::print. > > Cheers, > Valentin > > > Am Montag, 29. November 2021, 19:55:13 CET schrieb Adam Good: > > Hi Everyone, > > Could someone help me please. Using... > > > > \hide Slur > > > > ...I would like to cancel my slur markings yet retain the small slur in > my > > acciaccatura. On a bit of a deadline and would appreciate any help! > > > > Thank you in advance. > > Adam > > > > %%% > > \relative c' { > > c8 (d e f) g (a b c) > > \acciaccatura d8 c4 > > } > > > > \layout { > > \context { \Score \remove "Bar_number_engraver" %\hide Slur > > } > > } > > > > %%% > > \relative c' { > > c8 (d e f) g (a b c) > > \acciaccatura d8 c4 > > } > > > > \layout { > > \context { \Score \remove "Bar_number_engraver" \hide Slur > > } > > }
acciaccatura "slurs" are getting canceled with hide Slur
Hi Everyone, Could someone help me please. Using... \hide Slur ...I would like to cancel my slur markings yet retain the small slur in my acciaccatura. On a bit of a deadline and would appreciate any help! Thank you in advance. Adam %%% \relative c' { c8 (d e f) g (a b c) \acciaccatura d8 c4 } \layout { \context { \Score \remove "Bar_number_engraver" %\hide Slur } } %%% \relative c' { c8 (d e f) g (a b c) \acciaccatura d8 c4 } \layout { \context { \Score \remove "Bar_number_engraver" \hide Slur } }
Re: Lyrics above staff height inconsistent
Aaron, Thank you for your informative and helpful reply! This, for the win: \with { \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((basic-distance . 1.0)) } Looks fantastic, problem solved. Adam On Wed, Nov 10, 2021 at 12:22 PM Aaron Hill wrote: > On 2021-11-10 7:46 am, Adam Good wrote: > > Dear List, > > > > Here's a question I'm sure has been asked and answered often. I much > > prefer > > lyrics below the staff but if I had to, in the example below, what is > > causing the lyrics on the 2nd and 3rd stafflines to be higher than > > staffline 1? Playing with: > > > > \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding > > > > ...doesn't quite deliver for me. > > Padding is only one element of spacing. You need to consider > basic-distance and minimum-distance, perhaps also stretchability. > > LilyPond will try to accommodate basic-distance though it does not force > it to be exact, as it may compress or stretch vertical spacing when > fitting music to the page. While minimum-distance does define a strict > lower bound for the spacing, elements still could be stretched apart. > Both basic- and minimum-distance are measured from baseline-to-baseline, > whereas padding factors in the skylines of the content to ensure a > specified distance between "ink". > > The default spacing for Lyrics is a basic-distance of 5.5, padding of > 0.5, and stretchability of 1. minimum-distance is unspecified, which I > believe defaults to zero. > > In your example, LilyPond could not accommodate the 5.5 basic-distance > for the top line of Lyrics and reduced it to the minimum; however, > factoring in padding results in it being a little further away. Since > there seems to be quite a bit of paper space available, it is odd that > the basic-distance could not be satisfied. Perhaps there is a subtle > bug in the layout logic. > > The easy fix is to specify minimum-distance as well. If you like 5.5 as > a basic-distance, just match that value. > > > -- Aaron Hill >
Lyrics above staff height inconsistent
Dear List, Here's a question I'm sure has been asked and answered often. I much prefer lyrics below the staff but if I had to, in the example below, what is causing the lyrics on the 2nd and 3rd stafflines to be higher than staffline 1? Playing with: \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding ...doesn't quite deliver for me. Any insight is appreciated! Adam %%% \version "2.23.0" \score { << \new Staff = "staff" { \new Voice = "melody" { \relative { \repeat unfold 3 { f'4 g a b c d e d \break } } } } \new Lyrics \with { alignAboveContext = "staff" } \with { %\override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #-0.5 } { \lyricsto "melody" { \repeat unfold 6 { Here are the words } } } >> }
Re: Persian music package
Hi Everyone, I just had a chance to look at this thread today. Thomas I downloaded and ran persian-smufl and it seems to work great. Seems like the main thing holding up a persian.ly is the absence of two glyphs. I'd be happy to help sponsor the creation of koron and sori symbols...anyone else? Adam On Tue, Aug 3, 2021 at 12:19 PM Thomas Morley wrote: > Am Di., 3. Aug. 2021 um 18:18 Uhr schrieb Thomas Morley > : > > > > Am Di., 3. Aug. 2021 um 17:03 Uhr schrieb Kees van den Doel < > kvd...@gmail.com>: > > > > > > Looks good. For testing just compare output as gotten from my package > with old LP version. I haven't run all regression on the new persian.ly > (that works with current LP version) yet. > > > > Ok, then you may be interested in the attached .zip. > > Now attached ... >
Re: Black borders with table using \markuplist and please center
Hi Pierre, Thank you very much for this solution. My numbers were just thrown in for an example and in reality I have varying strings on text so line length would need to be played with. Adam On Sun, Feb 21, 2021 at 3:46 PM Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > Oops, forget the 'baseline-skip... > Again: > > \version "2.22.0" > > cell = \markup > \override #'(line-join-style . miter) > \override #'(line-cap-style . square) > \path #.3 #'((moveto -1.5 -1.5)(lineto -1.5 3)(lineto 3 3)(lineto 3 > -1.5)) > > > \markup \fill-line { > \column > \override #'(padding . -.3) > \table #'(0 0 0) > { > %\underline { right-aligned center-aligned left-aligned } > { \combine\cell "1" }{ \combine\cell "3" }{ \combine\cell "3" } > { \combine\cell "4" }{ \combine\cell "" }{ \combine\cell "6" } > { \combine\cell "7" }{ \combine\cell "8" }{ \combine\cell "6" } > { \combine\cell "10" }{ \combine\cell "" }{ \combine\cell "12" } > \with-dimensions-from\null > \override #'(line-cap-style . square) > \path #.3 #'((moveto -2.25 1.8)(lineto 11.25 1.8)) > } > } > > Cheers, > Pierre > > Le dim. 21 févr. 2021 à 21:43, Pierre Perol-Schneider < > pierre.schneider.pa...@gmail.com> a écrit : > >> Hi Adam, >> Here's my attempt: >> >> \version "2.22.0" >> >> cell = \markup >> \override #'(line-join-style . miter) >> \override #'(line-cap-style . square) >> \path #.3 #'((moveto -1.5 -1.5)(lineto -1.5 3)(lineto 3 3)(lineto 3 >> -1.5)) >> >> >> \markup \fill-line { >> \column >> \override #'(baseline-skip . -.3) >> \override #'(padding . -.3) >> \table #'(0 0 0) >> { >> %\underline { right-aligned center-aligned left-aligned } >> { \combine\cell "1" }{ \combine\cell "3" }{ \combine\cell "3" } >> { \combine\cell "4" }{ \combine\cell "" }{ \combine\cell "6" } >> { \combine\cell "7" }{ \combine\cell "8" }{ \combine\cell "6" } >> { \combine\cell "10" }{ \combine\cell "" }{ \combine\cell "12" } >> \with-dimensions-from\null >> \override #'(line-cap-style . square) >> \path #.3 #'((moveto -2.25 1.3)(lineto 11.25 1.3)) >> } >> } >> >> Cheers, >> Pierre >> >> Le dim. 21 févr. 2021 à 21:03, Adam Good a >> écrit : >> >>> Harm thank you very much! I feel centered. >>> >>> If anyone could come up with a solution for borders it would be a nice >>> option. >>> >>> best, >>> Adam >>> >>> On Sun, Feb 21, 2021 at 11:57 AM Thomas Morley >>> wrote: >>> >>>> Am So., 21. Feb. 2021 um 17:24 Uhr schrieb Adam Good < >>>> goodadamg...@gmail.com>: >>>> > >>>> > Hi Everyone, >>>> > I can make this pretty little table, see below but could someone >>>> please help me add borders / gridlines around the cells? And, I'd like to >>>> be able to center the table to the middle of the page. >>>> > >>>> > Thank you in advance! >>>> > Adam >>>> > >>>> > %%% >>>> > \markuplist { >>>> > \override #'(padding . 4) >>>> > \table #'(0 0 0) >>>> > { >>>> > %\underline { right-aligned center-aligned left-aligned } >>>> > "1" "2" "3" >>>> > "4" "" "6" >>>> > "7" "8" "" >>>> > "10" "" "12" >>>> > } >>>> > } >>>> >>>> Borders / gridlines are not yet coded for \table, maybe I should have >>>> done so, at least as an option. >>>> Currently I've no time to delve into it maybe someone else can step in. >>>> >>>> If you don't mind loosing the page breaking option, centering is as >>>> simple as: >>>> >>>> \markup \fill-line { >>>> \column >>>> \override #'(padding . 4) >>>> \table #'(0 0 0) >>>> { >>>> %\underline { right-aligned center-aligned left-aligned } >>>> "1" "2" "3" >>>> "4" "" "6" >>>> "7" "8" "" >>>> "10" "" "12" >>>> } >>>> } >>>> >>>> Cheers, >>>> Harm >>>> >>>
Re: Black borders with table using \markuplist and please center
Harm thank you very much! I feel centered. If anyone could come up with a solution for borders it would be a nice option. best, Adam On Sun, Feb 21, 2021 at 11:57 AM Thomas Morley wrote: > Am So., 21. Feb. 2021 um 17:24 Uhr schrieb Adam Good < > goodadamg...@gmail.com>: > > > > Hi Everyone, > > I can make this pretty little table, see below but could someone please > help me add borders / gridlines around the cells? And, I'd like to be able > to center the table to the middle of the page. > > > > Thank you in advance! > > Adam > > > > %%% > > \markuplist { > > \override #'(padding . 4) > > \table #'(0 0 0) > > { > > %\underline { right-aligned center-aligned left-aligned } > > "1" "2" "3" > > "4" "" "6" > > "7" "8" "" > > "10" "" "12" > > } > > } > > Borders / gridlines are not yet coded for \table, maybe I should have > done so, at least as an option. > Currently I've no time to delve into it maybe someone else can step in. > > If you don't mind loosing the page breaking option, centering is as simple > as: > > \markup \fill-line { > \column > \override #'(padding . 4) > \table #'(0 0 0) > { > %\underline { right-aligned center-aligned left-aligned } > "1" "2" "3" > "4" "" "6" > "7" "8" "" > "10" "" "12" > } > } > > Cheers, > Harm >
Black borders with table using \markuplist and please center
Hi Everyone, I can make this pretty little table, see below but could someone please help me add borders / gridlines around the cells? And, I'd like to be able to center the table to the middle of the page. Thank you in advance! Adam %%% \markuplist { \override #'(padding . 4) \table #'(0 0 0) { %\underline { right-aligned center-aligned left-aligned } "1" "2" "3" "4" "" "6" "7" "8" "" "10" "" "12" } }
Re: ly:pitch-alteration
Hans, If I'm not mistaken turkish-makam.ly is currently only in the development release? Or is that not the case? Sorry it's not easy for me to check, I'm out of town and only on an OSX 64-bit machine. Adam On Fri, Jul 17, 2020 at 4:13 PM Hans Åberg wrote: > > > On 17 Jul 2020, at 22:02, Freeman Gilmore > wrote: > > > > Using ly:pitch-alteration with makam.ly, if I play {ck}, how would i > > use ly:pitch-alteration to see the alteration inside makam.ly? > > Adam Good has made new file called turkish-makam.ly, which is in the > distribution. > >
Re: Search inside LilyPond
Gottit sorry for the misunderstanding. If you haven't figured it out yet how about this: https://www.howtogeek.com/99406/how-to-search-for-text-inside-of-any-file-using-windows-search/ Pretty straight forward. Basically you'll add an ly extension to what files are searchable. Then head to the ly directory in File Explorer, in the search field, type in for example: content:scale ...and that will show you all of the files that have the word "scale" I'm not great with Windows so, very happy you brought this up! Hopefully I'm not further misunderstanding, please let me know. best, Adam
Re: Search inside LilyPond
Freeman see below... On Sat, Apr 25, 2020 at 8:52 PM Freeman Gilmore wrote: > David: > Sorry but i am lost, I do not understand how to get to the file were, > \makamGlyphs > is define with this. > Thank you, ƒg > On a Windows machine your path is (most likely)... C:\Program Files (x86)\LilyPond\usr\share\lilypond\current\ly to find makam.ly I would like to ask however, are you having an issue with makam.ly? Or question? There's some work being done on Turkish makam support and things have come a ways since. best, Adam Good
Re: A request on behalf of Turkish Music
Hi everyone, I'm finally chiming in here... On Wed, Apr 8, 2020 at 8:38 AM Werner LEMBERG wrote: > > Well, here's the question: Shall we add such glyphs at all? A > cautionary and a digit can easily be combined on the macro level... > In my opinion, the best solution is create glyphs for the accidentals used in Turkish folk music. These accidentals get used in key signatures: http://www.turkuler.com/nota/ezgi_uzun_ince_bir_yoldayim.html Learning how to create glyphs usable for Lilypond is very much far back on my bucket list but I can think of a million uses once I'd acquire it! Does anyone here want to help me or point me in the right direction for learning this?? ATTN: Hans... Going by the chart Emre shared with us, good news, I'm figuring this is not using a (near) Pythagorean tuning like AEU 53 ET. I'd call it 48 ET. Once we have the glyphs ready this is very easy to put together. Adam
Re: Remote Ensemble Playing
My friend in California and I (in Brooklyn, NY) had some pretty decent luck with Jactrip: https://ccrma.stanford.edu/software/jacktrip/ Not the easiest to get set up and we need to try a few more times to troubleshoot but, give it a try and please report back! best, Adam On Sat, Mar 28, 2020 at 7:01 AM Peter Gentry < peter.gen...@sunscales.myzen.co.uk> wrote: > I appreciate this is off topic but in these times of social isolation does > anyone have any tips. Clearly latency is the main issue – I wonder could > this be reduced by say hosting a Zoom meeting on a private router – maybe > only one video for a conductor. Experience suggests that a latency of 25ms > is not low enough. > > Regards Peter > > >
Re: Writing notes in Pythagorean tuning in microlily
Hi Everyone, Here's Adam Good. My apologies for arriving late to the party I wasn't aware of this thread! From what I can see this looks to be the most updated version of turkish-makam.ly in the dev channel. https://github.com/lilypond/lilypond/blob/master/ly/turkish-makam.ly This has been the most practical solution from my view, until we can get regular.ly involved. Best, Adam On Sun, Nov 24, 2019 at 5:02 PM Hans Åberg wrote: > > > On 24 Nov 2019, at 22:40, David Kastrup wrote: > > > > Hans Åberg writes: > > > >>> On 24 Nov 2019, at 22:20, David Kastrup wrote: > >>> > >>> Hans Åberg writes: > >>> > >>>>> On 24 Nov 2019, at 16:39, kupirijo > wrote: > >>>>> > >>>>> So the turkish-makam.ly that I downloaded earlier requires a file > >>>>> called definitions.ily . Is this provided somewhere? > >>>> > >>>> It is from OpenLilyLib. And the Bravura font is from SMuFL > >>>> <https://www.smufl.org>; it must be installed so that lilypond sees > >>>> it. I’ll send them to you together with Helmholtz-Ellis in E53. > >>>> > >>>>> Also where can I download the latest version of turkish-makam.ly? > >>>> > >>>> It looked like it was in the LilyPond source archive, otherwise from > Adam. > >>> > >>> And requires OpenLilyLib to run? > >> > >> Just the file definitions.ily. I’ll send you a sample, so you can try. > > > > No, I am not really interested. But we shouldn't distribute stuff as > > part of LilyPond that requires OpenLilylib to run. > > The development version, that is, not the one submitted. The components > are slowly moving becoming a part of LilyPond. > > > >
Fine bar line \break before repeat sign
Hi List, I'm baffled by bar lines. In the example below, I would like for the f1 bar to use a "final" bar line as in \bar "|." the \break then on the next line begin with a repeat sign. The manual doesn't hint at this http://lilypond.org/doc/v2.19/Documentation/notation/bars#bar-lines Am I missing something? \relative { f'1 \bar ".|:-||" \break \repeat volta 2 {g1} \break a1 b1 \bar "|." } Thanks in advance, Adam ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Turkish percussion notation and changing stem direction for always
Hi Everyone, I'm working on some Turkish usul percussion notation and the standard is, rather oddly, to have the low pitched "dum" sound on the top line and highest pitch "tek" sound on the low. See the snippet below. Problem that I can't solve: stem direction needs to be the reverse of what it is showing. Top line needs to point up, bottom line needs to point down. Without adding \stemUp or \stemDown , could anyone help me and my lack of coding skills? btw have a look at a couple simple rhythms in turkish music here: https://compmusic.upf.edu/examples-usul-mmt Thank you very much in advance. Adam drumPitchNames = #'((dum . kdl) (tek . kdh) ) #(for-each (lambda (k-v) (module-define! (current-module) (car k-v) (alist->hash-table (cdr k-v))) ) '((kudum-style . ((kdl () #f 5) (kdh () #f -5) )) )) nam = \lyricmode { dum4 tek tek dum } mus = \drummode { dum4 tek tek dum } << \new DrumStaff \with { \remove "Bar_engraver" drumStyleTable = #kudum-style \override StaffSymbol #'line-positions = #'(5 -5) \remove "Time_signature_engraver" \autoBeamOff } \mus \new Lyrics { \override LyricText.font-family = #'typewriter \nam } >> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Omitting specific symbols from key signatures
On Wed, Oct 31, 2018 at 10:48 AM Torsten Hämmerle wrote: > Yes, I'm on the dev list. > And I'll appreciate a co-operation regarding makam issues. > After all, you and Hans can provide valuable practical examples, and one > important point after finally having added my new accidental glyphs, all > the > non-standard accidental combinations in key signatures music currently > suffer from several spacing problems, because currently, for obvious > reasons, the focus had been solely on standard western accidentals. Excellent let's bring it over there! I'll come up with a couple basic examples. And my apologies for not immediately recognizing your name from the thread RE: glyphs. Thank you for all of this! Adam ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Omitting specific symbols from key signatures
Torsten that's GREAT! Very very nice and works so well. But it's working a little too well for my purposes :) Are you on the dev list? If you'd be willing to help me out some more I can send you a couple of files that are under development and we can address specifically the two makams that have this issue. Let me know and thanks ahead!! Adam On Wed, Oct 31, 2018 at 9:08 AM Torsten Hämmerle wrote: > Adam Good-3 wrote > > Thank you Torsten, unfortunately this doesn't satisfy the criteria of #3 > > request, working across transpositions. If I ask for: > > \key c \KeySig > > > > ...it prints a ces in the key signature. […] > > Hi Adam, > > Yes, unfortunately, my trickery only works for keys with a "sharp" tonic. > In > other cases, e.g. starting with a C, the artificially lowered first step in > the scale will get a flat in the key signature, which is not what you asked > for… > > > The consequence of all this simply is that we need a *flexible* key > signature dynamically reacting on the current tonic: > If the tonic does not take any accidental (as in your C example), do > nothing. > If, however, the tonic has an accidental (no matter if it's a sharp, a > flat, > a semi-sharp or whatever) just leave it away. > > So, we can't get away with just specifying a fixed, well defined key > signature, but we have to look for the current tonic and, if there's an > accidental in the key sig, remove it. > > Unfortunately, the grob does not know the tonic and we have to read it from > the context. > To make it even worse, everything may change if we apply transposition. > > So, based on the naturalize-pitch snipped, I've defined a \makamKey > function > that reads all the music and eventually kicks out tonic accidentals from > the > key signature (i.e. pitch-alist). > That way, a fis or bes tonic will never be displayed in the key signature > but will be printed each time as an individual accidental. > But a c tonic, for instance, will have no influence on the key signature > (i.e. no superfluous unwanted accidentals). > > %%% > \version "2.18.2" > > #(define (makam-alist tonic alist) >(let ((tonic-step (ly:pitch-notename tonic)) > (tonic-alt (ly:pitch-alteration tonic))) > (if (eqv? tonic-alt 0) > alist > (filter (lambda (s) (not (eqv? tonic-step (car s > alist > > #(define (makam-key music) >(let ((es (ly:music-property music 'elements)) > (e (ly:music-property music 'element)) > (tonic (ly:music-property music 'tonic)) > (pitch-alist (ly:music-property music 'pitch-alist))) > (if (pair? es) > (ly:music-set-property! > music 'elements > (map makam-key es))) > (if (ly:music? e) > (ly:music-set-property! > music 'element > (makam-key e))) > (if (pair? pitch-alist) > (ly:music-set-property! > music 'pitch-alist (makam-alist tonic pitch-alist))) > music)) > > makamKey = > #(define-music-function (parser location m) >(ly:music?) >(makam-key m)) > > testmusic = \makamKey \relative c' { > \key fis \locrian fis4 g a b c d e fis > } > > { \testmusic } > \transpose fis c \testmusic > \transpose fis dis \testmusic > \transpose fis bes, \testmusic > > > <http://lilypond.1069038.n5.nabble.com/file/t3887/special-makam-keysig.png> > > > HTH, > Torsten > > a > > > > -- > Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html > > ___ > 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: Omitting specific symbols from key signatures
Thank you Torsten, unfortunately this doesn't satisfy the criteria of #3 request, working across transpositions. If I ask for: \key c \KeySig ...it prints a ces in the key signature. Although irrelevant, the example I'm giving is much much simpler than my actual needs which involves key signatures for Turkish makams and microtonality. So far I'm only running across two makams that have this issue. Anyway, being able to solve my simple locrian example will show me the way. Basically I want to suppress output of that one lonely accidental. Thanks again! Adam On Tue, Oct 30, 2018 at 12:50 PM Torsten Hämmerle wrote: > Hi Adam, > > the KeySig you've defined is nothing but \locrian. > > If you don't want the F# to be shown (that's the tonic in F# locrian), you > just need to define a ,FLAT for step 0 (the tonic), because this will lower > the tonic and thus eliminate the F# from your key signature. > That way, the F# will not be printed in the key signature, but it will show > up each time as an accidental in the music: > > % > \version "2.18.2" > KeySig = #`((0 . ,FLAT)(1 . ,FLAT)(2 . ,FLAT)(3 . 0)(4 . ,FLAT)(5 . > ,FLAT)(6 > . ,FLAT)) > > \relative c' { > \key fis \KeySig > fis4 g a b c d e fis > } > % > > > An alternative solution without defining a custom key signature would be > abusing the \lydian mode and setting the tonic a half step lower: ;) > > % > \relative c' { > \key f \lydian > fis4 g a b c d e fis > } > % > > (This works because our custom key signature now has flats everywhere > except > on step 3 and this is basically a shifted lydian mode which has just a > sharp > on step 3). > Yes, that's confusing, but, after all, you can add a comment. That's the > good thing about text-based formats. > > HTH, > Torsten > > > > > -- > Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html > > ___ > 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
Omitting specific symbols from key signatures
Hi everyone, I would greatly appreciate any help assistance. In the snippet below, I define a key signature that gives accidentals for a locrian mode and then show this mode as if the tonic = fis (F#). I would like three things... 1. to suppress printing of the "fis" in the key signature (yet still have it considered in the scale pitch definitions). 2. to have the score (music) always print fis. 3. have this work across transpositions so, if I want \key cis \KeySig the cis will be suppressed from the key signature, etc. Thank you ahead!! Adam Good % \version "2.18.2" KeySig = #'((0 . 0)(1 . -1/2)(2 . -1/2)(3 . 0)(4 . -1/2)(5 . -1/2)(6 . -1/2)) \relative c' { \key fis \KeySig fis4 g a b c d e fis } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Scheme for rhythmic transposition
Hi All, A few years ago I believe a Lilypond user offered some Scheme code to give transposed rhythms, for example to transpose every rhythmic value to print half of its entered duration. It was awesome and nifty and would be very useful to me at this moment :) I've searched high and low in the archives and online! Embarrassed to say I can't find it. Nor am I slick enough to code something like this on my own. If anyone has any leads please let me know. Thanks!!! Adam ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Scheme for rhythmic transposition
Thank you so much James On Fri, Nov 18, 2011 at 2:48 PM, James pkx1...@gmail.com wrote: hello, http://lsr.dsi.unimi.it/LSR/Item?id=305 ? -- -- James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Roman numerals in my number sequence
Carl thank you for the input! Unfortunately I get an error that I don't know how to do anything with. Below is my input and output. If you or anyone can help this would be a nice help to me. Thanks! Adam @@@ \version 2.12.3 #(define sequence-number 0) #(define-markup-command (score-sequence layout props sequence-number) (number?) (interpret-markup layout props (markup #:circle (number-string sequence-number #(set! sequence-number (1+ sequence-number)) \markup { \score-sequence #(fancy-format #f ~@r sequence-number) } (-- output --) GNU LilyPond 2.12.3 Processing `Roman_numeral_count.ly' Parsing...Roman_numeral_count.ly:8:21: In procedure number-string in expression (number-string sequence-number): Roman_numeral_count.ly:8:21: Wrong type argument in position 1: I ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Roman numerals in my number sequence
Completely awesome. Thank you guys so much for your help. Long live Lilyponders!! On Thu, Mar 17, 2011 at 9:48 AM, Dmytro O. Redchuk brownian@gmail.com wrote: On Thu 17 Mar 2011, 09:13 Adam Good wrote: Carl thank you for the input! Unfortunately I get an error that I don't know how to do anything with. Below is my input and output. If you or anyone can help this would be a nice help to me. Thanks! Adam @@@ \version 2.12.3 #(define sequence-number 0) #(define-markup-command (score-sequence layout props sequence-number) (number?) (interpret-markup layout props (markup #:circle (number-string sequence-number #(set! sequence-number (1+ sequence-number)) \markup { \score-sequence #(fancy-format #f ~@r sequence-number) } (-- output --) GNU LilyPond 2.12.3 Processing `Roman_numeral_count.ly' Parsing...Roman_numeral_count.ly:8:21: In procedure number-string in expression (number-string sequence-number): Roman_numeral_count.ly:8:21: Wrong type argument in position 1: I fancy-format feeds I instead of 1 (II instead of 2 etc) to \score-sequence; since it's what you need (i believe) --- just remove number-string conversion: %-8--- #(define sequence-number 0) % I've renamed sequence-number to sequence-string % inside score-sequence definition, % since it's not a number so far: #(define-markup-command (score-sequence layout props sequence-string) (string?) (interpret-markup layout props (markup #:circle sequence-string))) #(set! sequence-number (1+ sequence-number)) \markup { \score-sequence #(fancy-format #f ~@r sequence-number) } #(set! sequence-number (1+ sequence-number)) \markup { \score-sequence #(fancy-format #f ~@r sequence-number) } %-8--- -- Dmytro O. Redchuk Bug Squad ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Roman numerals in my number sequence
Another tree to bark up and on a similar note, how to set roman numerals in Score.markFormatter as rehearsal marks via \mark \default ... \version 2.12.3 \relative c' { \set Score.markFormatter = #(fancy-format #f ~@r. 1) \mark \default a b c d \mark \default a b c d } gives: warning: type check for `markFormatter' failed; value `I.' must be of type `procedure' ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Roman numerals in my number sequence
Hello, Considering that fretboard diagrams can use (number-type . roman-lower) how can I get scheme to print Roman numerals in place of Arabic numbers in the following sequence? Thanks Adam @@@ \version 2.12.3 #(define sequence-number 0) #(define-markup-command (score-sequence layout props sequence-number) (number?) (interpret-markup layout props (markup #:circle (number-string sequence-number #(set! sequence-number (1+ sequence-number)) \markup { \score-sequence #sequence-number } #(set! sequence-number (1+ sequence-number)) \markup { \score-sequence #sequence-number } #(set! sequence-number (1+ sequence-number)) \markup { \score-sequence #sequence-number } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Counter in Markup
Francisco (and Carl) thank you very much for your help! It's working great for me. best, Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Counter in Markup
Hi All, I'm wanting to use this great counter markup code: Implementing a counter in markup text http://lsr.dsi.unimi.it/LSR/Snippet?id=543 though I would like to use it with \mark for example: \mark \markup {\counter #mycounter} But it gives results I don't expect and I'm having difficulty understanding why. Can anyone help me? Thanks! Here's a snippet... #(define counter-alist '()) #(define-markup-command (counter layout props name) (string?) Increases and prints out the value of the given counter named @var{name}. If the counter does not yet exist, it is initialized with 1. (let* ((oldval (assoc-ref counter-alist name)) (newval (if (number? oldval) (+ oldval 1) 1))) (set! counter-alist (assoc-set! counter-alist name newval)) (interpret-markup layout props (markup (number-string newval) \relative c' { \mark \markup {\counter #mycounter (why not 1?)} c2^\markup {\counter #mycounter } d e^\markup {\counter #mycounter } f g^\markup {\counter #mycounter } a } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tweaking Jedit LilyPondTool?
On Wed, Dec 22, 2010 at 2:59 PM, Valentin Villenave valen...@villenave.net wrote: On Wed, Dec 22, 2010 at 2:37 PM, Adam Good adamg...@adamgood.com wrote: Carl, can you elaborate on that? I just installed 2.13.43 and still see deutsch.ly , english.ly etc in lilypond/usr/share/lilypond/current/ly If you look inside these files, you'll see that they are now empty. The note names are defined in scm/define-note-names.scm. By golly thanks Valentin for pointing it out, honestly the only file I opened up was my beloved makam.ly file and it's still full of the same. Maybe it's been addressed somewhere but if you don't mind me asking how will deutsch or nederlands languages be called up in the future? Will the .ly files fall away? Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tweaking Jedit LilyPondTool?
Carl, can you elaborate on that? I just installed 2.13.43 and still see deutsch.ly , english.ly etc in lilypond/usr/share/lilypond/current/ly thanks! Adam On Tue, Dec 21, 2010 at 4:58 PM, Carl Sorensen c_soren...@byu.edu wrote: P.S. this changes in 2.13.4x; the note names are all in the file scm/define-note-names.scm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tweaking Jedit LilyPondTool?
Bertalan, Thanks for writing. So there's no way for me to use a midi keyboard for note entry while using makam.ly to get those pitch names correct? Best, Adam On Mon, Dec 20, 2010 at 6:43 PM, Bertalan Fodor (LilyPondTool) lilypondt...@organum.hu wrote: Currently LilyPondTool doesn't support custom note names in the wizard and the piano input. On Mon, Dec 20, 2010 at 4:32 PM, Adam Good adamg...@adamgood.com wrote: Hi All, I'm just now checking out LilyPondTool and have a couple of newbie questions regarding midi input. It looks like the Score Setup Wizard is the place to set up which language you would like the pitches to be notated as (cis vs. cs, etc). Ok fine but I would like to use my own pitch names since I'm marking up Turkish notation on a regular basis (as c# would be notated as cb). So, is there any place handy I can get in to add my own pitch naming system? And midi input will use that naming system? I've snooped around but can't find any plugin config files. Hmmm. Frescobaldi does a great thing with Rumor Settings/Guile scripts to load...there I've been able to create my own names. As always thanks in advance for any advice. Adam ___ 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
Tweaking Jedit LilyPondTool?
Hi All, I'm just now checking out LilyPondTool and have a couple of newbie questions regarding midi input. It looks like the Score Setup Wizard is the place to set up which language you would like the pitches to be notated as (cis vs. cs, etc). Ok fine but I would like to use my own pitch names since I'm marking up Turkish notation on a regular basis (as c# would be notated as cb). So, is there any place handy I can get in to add my own pitch naming system? And midi input will use that naming system? I've snooped around but can't find any plugin config files. Hmmm. Frescobaldi does a great thing with Rumor Settings/Guile scripts to load...there I've been able to create my own names. As always thanks in advance for any advice. Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
equal height for markup
Hi, This should be very simple but I can't find a hint. Could someone please offer a suggestion...in the snippet below for some percussion notation I would like for the texts attached to each note to be horizontally aligned with one another. Now it seems the height is based on rhythmic value. Thanks Adam % \version 2.12.3 \paper { indent = 0\mm ragged-right = ##f line-width = 180.0\mm } \layout { } #(define mydrums '((ridebell default #t 3) (cowbell default #t -3))) bellstaff = { \override DrumStaff.StaffSymbol #'line-positions = #'(-3 3.2) \set DrumStaff.drumStyleTable = #(alist-hash-table mydrums) \override Staff.BarLine #'bar-size = #2.2 \set DrumStaff.instrumentName = # \override Stem #'length = #7.5 } \new DrumStaff { \bellstaff \drummode { \autoBeamOff \time 10/8 \stemUp rb8^Dum \stemDown cb16_te cb_ke cb8_tek cb_ka cb16_te cb_ke \stemUp rb16^Du \stemDown cb_me \stemUp rb8^Dum \stemDown cb4_tek cb16_te cb_ke \bar | } } % ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Transposing my custom key signature
On Wed, Mar 17, 2010 at 1:11 AM, Neil Puttock n.putt...@gmail.com wrote: On 16 March 2010 23:11, Adam Good adamg...@adamgood.com wrote: Greetings, I searched through the list archives and didn't see much of a discussion regarding this. Maybe one reference that it's not possible to transpose a key signature that uses \set Staff.keySignature = True? If not, hopefully someone can tell me otherwise. Afraid so. When you set keySignature, there's no music for \transpose to work with. What you could do is copy your custom key signature alist into an identifier, customKey = #'((3 . -1/2) (6 . 1/2)) then you can use \key c \customKey which should get transposed properly. Neil thank you for the confirmation and quick reply. What I did leave out in my message was that I'm trying to get my transpositions while using the makam.ly file for Turkish music. What I get often are warnings that glyphs don't exist for such and such alteration for example one warning says: no glyph found for alteration: 7/18 I'm not even savvy enough to figure out how lilypond came up with that number (in this case it's asking for the glyph that shows a 4 koma sharp character...4/9). By the way, transposing Turkish music on paper in general is irrelevant for most Turkish classical musicians since transposing by sight is very common. However a highly practical application for transposing Turkish music would be to make it readable for Arabic classical musicians...Arabic music in general is written a 5th below where Turkish notation sits. Any more thoughts from anyone? Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Transposing my custom key signature
Greetings, I searched through the list archives and didn't see much of a discussion regarding this. Maybe one reference that it's not possible to transpose a key signature that uses \set Staff.keySignature = True? If not, hopefully someone can tell me otherwise. Thanks! % \version 2.12.2 notes={ \set Staff.keySignature = #'((3 . -1/2)(6 . 1/2)) g' a bis c d e fes g } \relative c' { \time 8/4 \notes } %%%Pitches move but Key sig does not \transpose g c \relative c' { \time 8/4 \notes } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Note names above pitches
I'm Looking to have pitch names marked up above notated pitches and I vaguely remember an example in the Lily manual that showed a hint or, showed pitch names in the noteheads...but, I didn't see it online. Or am I imagining? Anyone have a hint for me? Thanks Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Note names above pitches
Robin thanks for the quick reply... And now that I've seen that I've noticed something even cooler : \aikenHeads c8 d4 e8 a2 g1 \sacredHarpHeads c8 d4. e8 a2 g1 This is really more what I'm looking for. But where are these guys defined so I can see what they look like? Background, I would like to try to work out some basic support for Hamparsum notation (old system for notating Armenian church music and Turkish music pre-western note style...each pitch has its own symbol, ultimately no staff necessary). Adam On Fri, Jul 17, 2009 at 4:11 PM, Robin Bannisterr...@dataway.ch wrote: Adam Good wrote: I vaguely remember an example That would be the 'easy play' noteheads mentioned in NR 1.1.4. But you probably want something more like this: cabbage = { c a b b a g e } \score { \new NoteNames \cabbage \new Staff { \clef bass \cabbage } } Cheers, Robin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: microtones for makkam music notation
Hi Dimitris, You are welcome to get get in touch with me in regards to using Lilypond to notate Turkish makam music. I'm very busy with it these days notating Peşrevs and Saz Semaisis and some vocal repertoire though i hope to do more of that soon. All key sigs for any makams are possible, especially with my handy- dandy include file. Technically I suppose Turkish makam theory and notation are supported while Arabic maqam notation is not. But all accidental characters for basic Arabic notion already existed in Lilypond even before Han-Wen went to work on the Turkish stuff. Probably it's just handy for me to send you some examples and you take it from there but do keep in touch, it's nice to know that there are others out there that are interested! also it's very nice you suggest it, you are welcome to contribute financially to the project. It's already paid for but I can put you in touch with the guy who fronted the most. He's a very good friend of mine and actually I'm living on his couch this week in Vienna. I think you'll be very pleased with how Lilypond is working for this music. Hope to hear from you, Adam Good ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
help with relative mode
Hi everyone, Seems like there is a fairly simple solution but I couldn't even think of how to search the manual or email archives for what I'm looking for. in the snippet below I'm using \relative mode and defined one and two. When I compile i want the second occurrence of one to be in the same octave as the first occurrence. How can I do this using relative mode? something like: \octaveshift down \one ?? but how would I define that? % \version 2.11.33 one = {c4 d e f g a b c} two = {d, e f g a b c d} \relative { \one \two \one } % ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
distance between lines in custom markup
Hi everyone, in the markup below, two lines of text will be printed in a column so, one on top of the other. How can I decrease/increase the vspace between them? Thanks all Adam Good % custommark = #(define-music-function (parser location marktext) (string?) (make-music 'TextScriptEvent 'direction 1 'text (markup #:column (#:line (#:small #:italic Some Text) #:small #:italic #:line (marktext) % ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
ConTeXt table of contents tweak
Hi everyone, This may be a bit off-topic but I figure others here may be using ConTeXt to make books out of Lilypond files. I signed up for the ConTeXt mailing list a couple days ago but still need to get approved, impatient as always me. I believe I asked the same question about LaTeX a couple of months ago but I can't seem to replicate it in ConTeXt . I want to add something like a section of chapter to the Table of Contents in my file without having it print in the pdf on that page. If that sounds cryptic, here's what I do in LaTeX: \addcontentsline{toc}{section}{Blah blah lah lah} and voila it shows up in the TOC. Thanks all Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
metric modulation?
Hello, Is there any handy dandy method to do the following: let's say I wrote out a piece in 7/8. What if I wanted to see what it looked like in 7/16 without having to change every note value of what I already wrote say: a4. b4 c b8 a g a4 b8 a etc... but what gets printed is: a8. b8 c b16 a g a8 b16 a can anyone come up with a quick and dirty method? thanks Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: auto beaming strangeness
Thanks Neil. I should have paid more attention to the manual when learning this...here's the fix I was looking for: %%% \time 9/8 %%% revert default values in scm/auto-beam.scm regarding 9/8 time 3+3 +3+2 #(revert-auto-beam-setting '(end * * 9 8) 3 8) #(revert-auto-beam-setting '(end * * 9 8) 6 8) %%% new values #(override-auto-beam-setting '(end 1 8 9 8) 2 8) #(override-auto-beam-setting '(end 1 8 9 8) 4 8) #(override-auto-beam-setting '(end 1 8 9 8) 6 8) %%% On Jun 30, 2007, at 1:56 PM, Neil Puttock wrote: So you need to change your revert to the following: #(revert-auto-beam-setting '(end * * 9 8) 3 8) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
looking for Turkish key sig workaround
Hello everyone, I'm working on a piece using Turkish characters in the key signature and ran into a minor problem. The key signature I must use can be found in this piece: http://www.adamgood.com/turkish_nota/nota/Suzidil/ suzidil_p_tanburi_ali01.gif and here's what I use in Lilypond to show that key signature: \override Accidental #'glyph-name-alist = \makamGlyphs \override Staff.KeySignature #'glyph-name-alist = \makamGlyphs \set Staff.keySignature = #'( (1 . 4/9)(-3 . 4/9)(3 . 1/9)) where (-3 . 4/9) will indicate that all pitches of g will get a western looking flat (you can see that in the key sig in the .gif above) Problem is, in the melodies the g on the space just above the last line of the staff get printed with a sharp sign in front of them. If i put (4 . 4/9) in the key signature then melodies look good without the printed # symbol. but then I have a sharp sign on the G space above the staff printing in the key sig which i don't want. is it possible to have this as my key signature: \override Accidental #'glyph-name-alist = \makamGlyphs \override Staff.KeySignature #'glyph-name-alist = \makamGlyphs \set Staff.keySignature = #'( (1 . 4/9)(4 . 4/9)(-3 . 4/9)(3 . 1/9)) but have the (4 . 4/9) invisible? I can't even begin to think how to do that. do i need to post a longer example for this all to make sense? I can always make a {\killaccident gb} markup but that begins to be a pain. thanks for any help Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
auto beaming strangeness
Hi I'm using Dev version 2.11.27-1 I would expect the following example with 9/8 time sig to be grouped and auto beamed in 2+2+2+3 % \version 2.11.17-1 \relative a' { \time 9/8 #(override-auto-beam-setting '(end * * * *) 2 8) #(override-auto-beam-setting '(end * * * *) 4 8) #(override-auto-beam-setting '(end * * * *) 6 8) a8 b c d e f g4. g8 f e d c b a4. } % but it outputs a grouping of 2+1+1+2+3 in other words the 2nd and 3rd 8th notes should be beamed together automatically but they're not. What's going on there? Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: auto beaming strangeness
On Jun 29, 2007, at 7:44 PM, Bainos wrote: by default there is a division at 3/8.. try using revert-auto-beam.. I did try that actually...am I doing something wrong here? % \version 2.11.17-1 \relative a' { \time 9/8 #(revert-auto-beam-setting '(end * * * *) 3 8) #(override-auto-beam-setting '(end * * * *) 2 8) #(override-auto-beam-setting '(end * * * *) 4 8) #(override-auto-beam-setting '(end * * * *) 6 8) a8 b c d e f g4. g8 f e d c b a4. } % ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: beginning-of-measure padding value?
On Jun 18, 2007, at 11:26 AM, Joe Neeman wrote: I'll attach a PNG of the new output on an example that was provided by Kieren elsewhere in this thread. Joe test2.preview.png Joe would you mind to post your code for this fix? Looks better indeed. thanks adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
centering numbers in time signature
Hey all, In the example below I want a time signature of 32/4 to show but I'm having a hard time getting the 4 to be centered under the 32 thanks! Adam % % create 32/4 tsMarkup =\markup { \override #'(baseline-skip . 2) \number { \column { 32 4 } } } \relative a' { \override Staff.TimeSignature #'stencil = #ly:text-interface::print \override Staff.TimeSignature #'text = #tsMarkup \time 4/4 c,4 d e f g a b c, d e } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
setting systems per page in lilypond-book
Hi, How do I specify how many systems per page when I'm using Lilypond- book? I've read the manual (Integrating LaTeX and music) and have tried examples but I can't get it working, I'm not sure what I'm doing wrong. in the very simple example below there are 6 systems total. what sort of \def\betweenLilyPondSystem can I use to say that there must be 3 systems, then a page break? thank you SOO much! Adam %% \documentclass[a4paper]{book} \begin{document} \begin[fragment]{lilypond} \relative c' {c1 d e f \break g a b c, \break d e f g \break a b c, d \break e f g a \break b c d} \end{lilypond} \end{document} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: setting systems per page in lilypond-book
That'll define how many systems will be used in the entire piece but not how many systems there should be before a page break. Here's what I've been doing in lilypond-book: \newcommand{\betweenLilyPondSystem}[1]{\\[Xpt]} \lilypondfile[indent=1.5\cm]{mypiece.ly} for each piece I'm working on (which are anywhere from 11 lines of music to say 40 lines of music and anywhere from 1 to 3 pages) I adjust X in the \betweenLilyPondSystem line to where I get the number of systems on the first page that looks good to me. but i must make so many guesses before I find what I like. It would be much handier if I could specify how many systems I want before there's a page break. hopefully that makes sense? On Jun 10, 2007, at 2:25 PM, Damian leGassick wrote: i think what you need is in the \paper block something like \paper { system-count = #3 } D On 10 Jun 2007, at 12:30, Adam Good wrote: Hi, How do I specify how many systems per page when I'm using Lilypond- book? I've read the manual (Integrating LaTeX and music) and have tried examples but I can't get it working, I'm not sure what I'm doing wrong. in the very simple example below there are 6 systems total. what sort of \def\betweenLilyPondSystem can I use to say that there must be 3 systems, then a page break? thank you SOO much! Adam %% \documentclass[a4paper]{book} \begin{document} \begin[fragment]{lilypond} \relative c' {c1 d e f \break g a b c, \break d e f g \break a b c, d \break e f g a \break b c d} \end{lilypond} \end{document} ___ 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: setting systems per page in lilypond-book
at this point for pieces that I know will fit onto 1 page, \newcommand{\betweenLilyPondSystem}[1]{\linebreak\vfill} is an exciting discovery. But a different story when the piece should be 1+ pages another wish, tell lilypond-book how many times to do \vfill (like, 12 times to get 12 systems on a page then a pagebreak) On Jun 10, 2007, at 4:30 PM, Laura Conrad wrote: I've been using the \betweenLilyPondSystem hack that Adam describes in a later post, and I agree that it's a pain. But I doubt that anything else would be easy to implement. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Volta Brackets by hand
Hi everyone, I would like to add volta brackets by hand to my score, here's an example of what it should look like. At the very bottom of the page you see these brackets with the text 2.Haneye and 3-4.Hanelere http://www.adamgood.com/turkish_nota/nota/Sehnaz/sehnaz_p_ali_aga01.gif they are essentially ending variations depending on the next section coming up. no repeat signs are involved. thanks!! Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Volta Brackets by hand
Thanks Mats, I checked it out. Now there are a couple of things: 1. at the end of the bracket (the right side) it simply stops, how do i get it to to hook down like it does for \alternative endings? (if that makes sense) 2. also i understand needing to change the font for the text that will go into the bracket using markup but I don't understand how to do that without getting errors. ie: \set Score.repeatCommands = #'((volta \markup { \fontsize #-1.0 \italic 1st ending } )) doesn't work of course... %%% \version 2.10.0 \new Staff \relative { a'8 b c e d c b a g4 c8 b16 c d4 b8 a16 b c4 a8 g16 a b4 g8 f16 g a8 g16 b a8 g f8. e16 d4 \set Score.repeatCommands = #'((volta 1st ending )) c4 d2 d'8 e d8. c16 b8 c d2 \set Score.repeatCommands = #'((volta #f)) \bar || \set Score.repeatCommands = #'((volta 2nd ending )) c,4 d d a''8 b a g f g a4 r4 \set Score.repeatCommands = #'((volta #f)) \bar || } %%% On Jun 3, 2007, at 10:39 AM, Mats Bengtsson wrote: See the section on Manual repeat commands in the manual. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond-LaTeX + a4 paper size problem in TeXShop
Hi, I just did some updating of my computer, since then I've had to re-install apps like Lilypond + TeXShop with Lilypond-LaTeX . Thought that would go smoothly but I'm now getting weird things with paper sizing. I'm running: OSX 10.4.9 (just upgraded from OSX 10.3.9) TeXShop version 1.43 something as simple as this: %% \documentclass[11pt]{article} \usepackage{geometry} \geometry{a4paper} \begin{document} blah blah blah di blah \end{document} %% ...will give me a4 paper size when i use the LaTeX engine but when I use Lilypond-LaTeX.engine i constantly get letterpaper size in the output. I never had that before with my last setup, was always getting a4 by default somehow. Can anyone help? btw i've been to Nicola's page: http://www.dimi.uniud.it/~vitacolo/freesoftware.html and the page gives a Bad Gateway so I can't hunt around for some part of the installation I may have missed. Thanks! Adam Good ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
question about getting accidentals to print
This could be a real long shot but here goes: I'm making pieces that have long rhythm cycles like 28/4 , 32/4 and even 120/4 It's important for me to show how the 28/4 or whatever it is is broken up, ie: 6+4+4 + 6+4+4 so i use: \new Voice { \repeat unfold 8 { s4*6 \bar : s1 \bar : s1 \bar | s4*6 \bar : s1 \bar : s1 \bar || } } and it works great. problem is, Lilypond still thinks that 1 bar is 28 beats so my accidentals don't respect my \repeat unfold-ed bar lines and I must doctor pretty much each and every repeated accidental note within the 28 bar cycle. anything to do about this? would it help to make the time signature 6/4+4/4+4/4+6/4+4/4+4/4 , have it override that and print 28/4 at the beginning of the piece? thanks in advance Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: sponsorship request: minimum-measure-left-padding
Thanks Kieren for brining this up. I too would like to chip in some money for this. Let me know what I need to do. Adam On May 11, 2007, at 9:33 AM, Kieren MacMillan wrote: Therefore, I would like a quote on what it would cost to include a user-adjustable property to set the minimum space which must appear in every measure between the last prefatory item (i.e., bar line, key signature, time signature, clef; is that it?) and the first musical element (i.e., notehead, accidental, arpeggio or other attachment, etc.). -- Adam Good [EMAIL PROTECTED] www.adamgood.com 646.257.3797 ( US ) +31 642 58 90 42 (NL mobile) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
building TOC in LaTeX document
For my book that contains 20+ pieces what would be a handy way to make a Table of Contents if each of the pages of this book contains nothing but an include Lilypond file? Header info is in the included file which is handy for me. I have simply this: \lilypondfile[indent=1.5\cm]{piece_01.ly} \newpage \lilypondfile[indent=1.5\cm]{piece_02.ly} --- and what I would like to do is: \lilypondfile[indent=1.5\cm]{piece_01.ly} \section{Piece_01} \newpage \section{Piece_02} \lilypondfile[indent=1.5\cm]{piece_02.ly} where Piece_01 and Piece_02 don't actually get printed, but do show up in the TOC. I'm looking all over the internet for some hint but can't find anything. I'm sure it's easy to do. Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Can Lilypond export separate pdfs?
A question from a forever it seems newbie... When I compile a piece in Lilypond that turns out to be say, a 3 page pdf, I get one pdf file that has 3 pages. is it possible to have it instead compile 3 separate .pdf files? that could be extremely useful for making a book in LaTeX... thanks in advance for any help. Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond + LaTeX
Ok I have this working in my LaTeX file: \newcommand{\betweenLilyPondSystem}[1]{\linebreak} \begin {lilypond} etc... to put more space between score lines. actually i used {\linebreak\linebreak } to get even closer to what I needed but now the line spacing from one piece to another is inconsistent. Sometimes it looks like a lot, sometimes just right depending on the length of the piece. is there a way to set padding between lines? or just set the amount of distance that a \linebreak is equal to? adam On Apr 26, 2007, at 1:54 PM, Mats Bengtsson wrote: As you correctly have observed, lilypond-book does not cake between-system-space or between-system-padding into account when generating the scores. Instead, every score line is included into the LaTeX document as a separate EPS file and the only extra spacing between the lines is the same line spacing as is used in the rest of the document. One solution if you want to increase the spacing, is to define the LaTeX function \betweenLilyPondSystem which is called between each system. See the manual. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
getting rid of Time Sig change heads up at end of line
In the code below there are 3 bars of 4/4 followed by 3 bars of 10/8. It is important that the \break is at the end of the 3rd bar of 4/4. you'll see at the end of the 1st line there is a sort of warning that 10/8 is coming...how do I get rid of that? Without cancelling the 10/8 on the 2nd line? If I use: \once \override Staff.TimeSignature #'stencil = ##f ...that gets rid of any 10/8 sign altogether but then how do I get 10/8 to print on the next line? thanks! adam %% \new Voice { \relative a' { \override Staff.TimeSignature #'style = #'() \time 4/4 f'4. e8 f4 g8 a g8. f16 e8 f e4 d r4 e8 f e4 d4 \break \time 10/8 e8. d16 c8 b c4 r4 d8 e d c d4 a'16 g a8 g8. f16 e8 f e4 g16 f g8 f2 c4 } } %% \once \override Staff.TimeSignature #'stencil = ##f ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond + LaTeX
Hi, I just started trying to mess around with bringing Lilypond into LaTeX and so far the most frustrating thing is that my \paper settings are getting messed up. between-system-space and between-system-padding seem to get ignored altogether. anything to do about that? I have very scrunched up looking music notation now. thanks adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond + LaTeX
sure, below, it's not exactly a little bit of code but it shows my problem, at least to me. Adam On Apr 25, 2007, at 7:39 PM, Dominic Neumann wrote: could you please post a minimal examples meaning reduced to the minimum by still reproducing your error? begin--- %%!TEX TS-program = Lilypond-LaTeX \documentclass[a4paper] {book} \usepackage{graphics} \begin {document} %% \oddsidemargin -0.75in \evensidemargin -0.75in \textwidth=7.6in \headheight 0.0in \topmargin -1.0in \textheight=9.0in %% \begin {lilypond} \version 2.11.17-1 \paper { after-title-space = 15\mm % bottom-margin = 10\mm printallheaders = ##t % between-system-padding = 4\mm % between-system-space = 20\mm } \score { \new Staff \new Voice { \repeat unfold 4 { s4*6 \bar : s1 \bar : s1 \bar | s4*6 \bar : \break s1 \bar : s1 \bar || } } \new Voice { \relative a' { \time 28/4 \set Staff.keySignature = #'( ) f'4. e8 f4 g8 a g8. f16 e8 f e4 d r4 e8 f e4 d4 e8. d16 c8 bes c4 r4 d8 e d c d4 a'16 g a8 g8. f16 e8 f e4 g16 f g8 f2 c4 f4 f8 g f e e f e d e d c bes c4 d r4 c8 d c4 bes bes8 a a g f4 bes r8 a16 bes c8 bes a4 g8 a g8. f16 e8 f e4 g8 e f4. g'8 f4 g g8. f16 e8 f e4 f g r4 g8 a g f g a16 bes a8 g g f f e f4. a!8 g4 a! a8 bes! a g g a g f f g f e e f e d d16 c d! e d8 c c2 r4 bes8 c d e d c c d c bes c4 d r4 c8 d c4 bes bes8 a a g f4 bes r8 a16 bes c8 bes a4 g8 a g8. f16 e8 f e4 g8 e f4. a'8 g4 a } } \header{ title = \markup { \override #'(font-name . Times Bold) \fontsize #1.0 ACEM AŞÎRÂN PEŞREVİ} composer = \markup { \override #'(font-name . Times Bold) \fontsize #-1.0 MÜZİK : Neyzen Dede Salih Efendi (1818-1888)} meter = \markup { \override #'(font-name . Times Bold) \fontsize #-1.0 USÛLÜ : Devr-i Kebîr} tagline = copyright = } } \end{lilypond} \pagebreak \end {document} end- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond + LaTeX
Basically it comes down to something like this, if I take Lilypond code that works for me, then use the same code in LaTeX, my spacing gets all goofy. It seems that Latex is doing some automatic margin stuff that ends up kicking lilypond code out of place. how do I come up with something like a neutral Latex document that won't affect any of my Lily coding? any ideas would be so appreciated. The last code I stuck in is a perfect example. take out the lilypond code, compile it in Lilypond and compare to what gets compiled in Latex. You should see what I mean. Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
get an accidental to not print
Hi all, sorry if this has been addressed already, it's hard for me to find any reference in the archive. ! = print the accidental manually ? = print a cautionary accidental what about _don't_ print an accidental? like i write cis but don't want it to print the accidental? here's the situation... I'm notating a piece with a 32/4 time signature so Lilypond sees that as 32 beats to a bar. but, i have subdivisions in the piece, every 4 beats i'll have : to help clean stuff up, make it readable. i use this: \repeat unfold 4 { s1 \bar : s1 \bar : s1 \bar : s1 \bar | \break s1 \bar : s1 \bar : s1 \bar : s1 \bar || \break } ok so now my problem is that if I have a cis in one : bar : then in the next bar a c, it prints a natural sign to cancel out the sharp, but I don't need that sign there, Lilypond is respecting the time signature. what's the best way to handle this? I hope this all makes sense, I can't find anything in the manual that can help me. thanks! Adam Good ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
something strange with tuplets
Hi, I'm getting strange results when trying to make a tuplet grouping... the piece is in 12/8 i want four 16th notes within three 8th notes in the example below i have 2 staves. 1. the top is showing the proper rhythm and proper grouping of 8th notes. 2. bottom is a mirror of the above except i want to cram four 16th notes into the first three 8th notes of bar 1. but you can see how the barline is getting shoved over to the wrong place. it's interpreting two 16th notes as a full 8th notes for some reason? --- \relative \new Staff { \key c \major #(revert-auto-beam-setting '(end * * 12 8) 3 8) #(revert-auto-beam-setting '(end * * 12 8) 3 4) #(revert-auto-beam-setting '(end * * 12 8) 9 8) #(override-auto-beam-setting '(end 1 8 12 8) 3 8) #(override-auto-beam-setting '(end 1 8 12 8) 7 8) #(override-auto-beam-setting '(end 1 8 12 8) 10 8) \key e \minor \time 12/8 \repeat volta 2 { \mark \default c'8 d e d c b g a4. d,4 | c'4 b8 c d b g a4. a4 | c8 d e d c b g a4. d,4 | c'4 b8 c d b g a4. a4 } \break \repeat volta 2 { \mark \default \set tupletNumberFormatFunction = #fraction-tuplet-formatter \times 3/4 {b16 c d e} d8 c b g a4. d,4 | c'4 b8 c d b g a4. a4 | c8 d e d c b g a4. d,4 | c'4 b8 c d b g a4. a4 } \break } \version 2.8.1 % necessary for upgrading to future LilyPond versions. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: something strange with tuplets
Markus and Mats, Thank you both. it's working. although now, only thing missing for me is the fraction shows 4:6 when I think it's very common practice to write 4:3 i want to tell the musicians that this is four against three -- \repeat volta 2 { \mark \default \set tupletNumberFormatFunction = #fraction-tuplet-formatter \times 6/4 {b16 c d e} d8 c b g a4. d,4 | c'4 b8 c d b g a4. a4 | c8 d e d c b g a4. d,4 | c'4 b8 c d b g a4. a4 } \break ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
setting beams for odd time signatures
Hello, i would love some help with this! I'm trying to set the beams in a piece with a 12/8 time signature so that I don't have to manually put in [ ] brackets around note entries. the 8th notes in the 12 is grouped like: 3 4 3 2 so, in other words, rather than have to put in brackets like: d8 e e e4 b'8 [a] g [fis g] e4 i just wanna type: d8 e e e4 b'8 a g fis g e4 make sense? thanks for any help... adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: setting beams for odd time signatures
Mats, thanks for answering...interesting, that's what I was doing before as it seems logical but i'm not getting the results that I want, beams are not correct. code for the score is posted below. any ideas? No, not in that section but in the section on Setting automatic beam behavior. Try something like: #(override-auto-beam-setting '(end 1 8 12 8) 3 8) #(override-auto-beam-setting '(end 1 8 12 8) 7 8) #(override-auto-beam-setting '(end 1 8 12 8) 10 8) \chords { e4 } \relative \new Staff { \key e \minor \time 12/8 #(override-auto-beam-setting '(end 1 8 12 8) 3 8) #(override-auto-beam-setting '(end 1 8 12 8) 7 8) #(override-auto-beam-setting '(end 1 8 12 8) 10 8) \set Score.markFormatter = #format-mark-box-numbers \repeat volta 2 { \mark \default d8 e e e4 b'8 a g fis g e4 d8 e e e4 b'8 a g fis g e4 \break d8 e e e4 b'8 a g fis g e8 fis } \alternative { {g4 fis8 g a g d e4. e4} {g4 fis8 g a g d e4. e8 fis} } \break \repeat volta 2 { \mark \default g4. g8 fis e d d4.~ d4 d4. e8 fis g fis g4 fis8 e d } \alternative { {e4 fis8 g fis e d e4. e8 fis} {e4 fis8 g fis e d e4. e4} }\break \repeat volta 2 { \mark \default g8 a a a4 b8 c b4 g8 a4 g8 a a a4 b8 c b4 g8 a4 \break g8 a a a4 b8 c b4 g8 a4 d4. c8 b a g a4. a4 } \break \repeat volta 2 { \mark \default c8 d e d c b g a4. d,4 c'4 b8 c d b g a4. a4 } \break } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turkish music theory
Hi Ayhan, On Oct 7, 2005, at 4:13 AM, Ayhan Üretmen wrote: Sounds very good to my ears. it would be very nice if this could be done some day. i know a lot of people that would use lilypond if it would support turkish music notation. Hey nice that you are interested! I agree, I'd think that many people I know would use it if supported. It is difficult, as many people here probably know, to convince people of the virtues of Lilypond...everyone likes their drag and drop kinds of apps. (at the risk of sounding condescending). Do you play Ottoman or Turkish music? Or know of people in Germany or Holland? If so I'd like to be in touch with you...please let me know! does anybody know how to put a small number over a 'b' or a '#' in the key specifation (this shows which quarter (micro-) tones to use. (some code maybe?) Do you mean instead of using for example backwards flat symbols and other microtonal characters that are already supported? best, Adam Good ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Co-sponsoring Turkish notation support
Hi I'm Adam Good, musician of Balkan, Turkish, Eastern European music. I've been in contact with Han-Wen regarding some major support in Lilypond for Turkish music which can be considered a microtonal music. It would be fantastic to be able to create charts for Turkish Classical or Ottoman music. As it is now, Lilypond can get close but is still rather limited. As Han-Wen describes below there are some new accidental characters that need creating. Plus technical issues getting to the microtonal aspect that is so specific to Turkish music. Please read Han-Wen's message. If anyone has some musical questions RE: Turkish music theory please feel free to ask. Please let us know if you are interested in contributing financially to the work that needs to be done. all the best, Adam Good -- www.adamgood.com - (message from Han-Wen) Hi, I've been in contact with Adam Good. Adam would like to typeset Turkish music, which comes with its own set of microtones, and accompanying glyphs. Turkish music divides the whole tone in 9 equal parts, and has accidentals for 1, 4, 5 and 8 ninths of a tone. There are many systems for defining and printing microtones; for example, there has been recent discussion on Helmholtz-Ellis notation, which uses with many subdivisions of the whole tone. In my opinion, it would be best if Lily were extended with a generic mechanism for entering and printing microtones, so we can support arbitrary styles. This is possible, since all microtonal notation uses the diatonic scale as a basis, and adds different signs for microtonal alterations to that. With this in mind, I propose the following solution - replace the current alteration field of pitch (+2 = sharp, -4 = double flat), with a pitch-bend field (+100 = sharp, -200 = double flat, +50 quarter tone sharp, etc.) - replace the printing mechanisms of key signature and accidentals to support a microtonalAlteration property, which spells out which symbol to use for which microtonal pitch. - add syntax to change the pitch bend of every note, eg. c4\bend #50 (this make a quarter tone sharp C) - LilyPond already plays quarter tones through MIDI, and this functionality will remain for general microtones. With this in place, I add support for whichever glyphs people would like for their favorite microtonal notation in a simple manner. I don't think any other notation software supports microtones properly, so this functionality would make LilyPond the #1 program for microtonal music. For that reason, I would really like to add this. I've set the price for the above work (excluding glyphs) at 450 EUR (incl VAT or money transfer costs). I think that the implementation will be pretty straightforward, but since the change is pretty fundamental, I expect a lot of small fixes to get everything working again. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user