Re: Tie at end of first repeat
Hi Nick, 2012/2/2 Nick Payne nick.pa...@internode.on.net: On 02/02/12 10:21, Thomas Morley wrote: Hi, 2012/2/2 Xavier Scheuerx.sche...@gmail.com: On 1 February 2012 22:54, Brent Annablebrentanna...@gmail.com wrote: Hello all, I'm typesetting a piece with repeats, for which I'm using the volta 2 construction with a first-time and second-time ending. My problem is that I have a note that is tied from the end of the first ending back to the start of the volta section. This doesn't seem to work with a normal tie, so I'm trying to use a \repeatTie and attach it to the right-hand side of the notehead, but I can't figure out how to do it. Here's what I've tried so far: \score { \relative c' { \override RepeatTie #'side-axis = #0 \override RepeatTie #'direction = #RIGHT c2 c2~ \repeat volta 2 { c2 c2 } \alternative { { c2 c2 \repeatTie} {d2 d2} } c2 c2 \bar |. } } I just can't get it to work, I would be really grateful if someone could explain where I'm going wrong. This is a workaround, but you could use \laissezVibrer instead of using \repeatTie . Hope that helps (a little). Cheers, Xavier -- Xavier Scheuerx.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user same suggestion as Xavier. I added a little function to tweak the LaissezVibrerTie, first created by Enternix from the german forum: http://www.lilypondforum.de/index.php?topic=1008.msg5637#msg5637 Of course there are other tweaking methods: via control-points or use the functions of the attached file containing possibilities to tweak Slur, Tie, PhrasingSlur, RepeatTie and LaissezVibrerTie (this is a collection of function from the list). \version 2.14.2 extendTie = #(define-music-function (parser location x) (pair?) #{ \once \override LaissezVibrerTie #'stencil = #(lambda (grob) (let* ((tie-stencil (laissez-vibrer::print grob)) (tie-ext (ly:stencil-extent tie-stencil X)) (tie-length (interval-length tie-ext)) (new-tie-length (+ tie-length (- (cdr $x)(car $x (scale-factor (/ new-tie-length tie-length)) (new-tie-stencil (ly:stencil-scale tie-stencil scale-factor 1)) (new-tie-ext (ly:stencil-extent new-tie-stencil X)) (x-corr (- (car tie-ext) (car new-tie-ext))) (x-shift (car $x))) (ly:stencil-translate-axis new-tie-stencil (+ x-corr x-shift) X))) #}) %--- test \score { \relative c' { c2 c2~ \repeat volta 2 { c2 c2 } \alternative { { c2 \extendTie #'(0 . 1.5) c2 \laissezVibrer } { d2 d2 } } c2 c2 \bar |. } } A slightly simpler function to extend a laissezvibrer tie: \version 2.15.25 extendLV = #(define-music-function (parser location further) (number?) #{ \once \override LaissezVibrerTie #'X-extent = #'(0 . 0) \once \override LaissezVibrerTie #'details #'note-head-gap = #(/ further -2) \once \override LaissezVibrerTie #'extra-offset = #(cons (/ further 2) 0) #}) \relative c' { c2\laissezVibrer \extendLV #3 c\laissezVibrer } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user of course! This is the upgraded LSR-snippet http://lsr.dsi.unimi.it/LSR/Search?q=extendLV And I forgot it. :( But have a second look at the function by Enternix. With very few changes you can adapt it to nearly all stencils. This might be useful sometimes. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Concert of LilyPond works
Mike, On 2 Feb 2012, at 00:18, m...@apollinemike.com m...@apollinemike.com wrote: Hey all, In case any of you on the list are not-too-far from the east of France, I'd like to invite you to a concert presented by the Ecole de Musique de Saint-Chamond featuring nine of my works: http://apollinemike.com/concertSolomon.pdf Seven of these pieces were composed using LilyPond. Only seven of them?! Bloody Judas! ;) James___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tie at end of first repeat
Hello, Hi Nick, of course! This is the upgraded LSR-snippet http://lsr.dsi.unimi.it/LSR/Search?q=extendLV And I forgot it. :( But have a second look at the function by Enternix. With very few changes you can adapt it to nearly all stencils. This might be useful sometimes. Well ties over Voltas is asked for quite regularly. If this is a good solution for this case then I suggest that a new LSR snippet is made showing an example with Voltas, then we could link to the snippet in the LSR from the NR. At the moment the snippet isn't obviously relevant for repeat sections and not everyone (including me) knows what a 'lassie-veebray' tie is let alone how to pronounce it! James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Text on slurs (faking bends etc)
Hello Pete, Am 01.02.2012 09:48, schrieb Pete Farmer: Hi Mark Hohl, Just wanted to let you know that I'm using your bend.ly file too, and to thank you for your generous contribution to the cause. Thanks! I'm glad to hear that this file is still of some use. I'm using LilyPond v2.14.2-1 on OSX Leopard 10.5.8, and have no errors. That's great! Regards, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tie at end of first repeat
Hi James, 2012/2/2 James pkx1...@gmail.com: Hello, Hi Nick, of course! This is the upgraded LSR-snippet http://lsr.dsi.unimi.it/LSR/Search?q=extendLV And I forgot it. :( But have a second look at the function by Enternix. With very few changes you can adapt it to nearly all stencils. This might be useful sometimes. Well ties over Voltas is asked for quite regularly. If this is a good solution for this case then I suggest that a new LSR snippet is made showing an example with Voltas, then we could link to the snippet in the LSR from the NR. At the moment the snippet isn't obviously relevant for repeat sections and not everyone (including me) knows what a 'lassie-veebray' tie is let alone how to pronounce it! James done. http://lsr.dsi.unimi.it/LSR/Item?u=1id=794 Please have a look on the description, I'm not convinced about my english. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie and/or slur
On 2/02/2012, at 10:35 pm, Mario Moles wrote: How i make this image?ihfcgccg.png As Urs said, the critical ingredient is tieWaitForNote. But even then it's tricky to get both hands tying as desired: \version 2.14.1 #( ly:set-option 'backend 'eps) \language english \header { tagline = ##f } \layout { indent = 0.0\cm } \new PianoStaff \new Staff = up { \time 3/16 \clef treble \set tieWaitForNote = ##t \override TupletBracket #'bracket-visibility = ##t \tupletUp\times 6/7 { ds''32 c''' \change Staff = down\stemUp fs' e'' fs'! \change Staff = up\stemDown c'''~ ds''!~ } \time 6/16 c''' ds''!4. } \new Staff = down { \clef treble \set tieWaitForNote = ##t \override TupletNumber #'stencil = ##f \hideNotes\times 6/7 {s32 s s e''~ fs'!~ s s }\unHideNotes \stemUpe'' fs'!4. } Tie.pdf Description: Adobe PDF document Note that the ties in the left hand are actually from the hidden demisemiquavers, not the printed ones. Best wishes, Matthew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Experimental Web-based Lilypond Editor
2012/2/1 trevordixon trevordi...@gmail.com: I've been working on something I think the LilyPond community may find very useful: a web-based editor. Before you check it out, keep in mind that it's at a pre-alpha stage. It's likely that certain things won't work as expected, and it will probably crash and be down at times. I've only tested it in Chrome 15 and Firefox 9. It should work in Internet Explorer 9 or 10, but will almost certainly not work in IE8 or earlier. ... See it at: http://lily.sytes.net It works in my Android 2.2.3 phone. Browser-about says Mozilla/5. Too small to be usable, but I managed to add a note and the preview shows it, so the whole thing works. Awesome! -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Experimental Web-based Lilypond Editor
It works very well with Safari 5.1.2 on the Mac, great stuff! Warm regards, Stefan On 01.02.2012, at 10:51, trevordixon wrote: I've been working on something I think the LilyPond community may find very useful: a web-based editor. Before you check it out, keep in mind that it's at a pre-alpha stage. It's likely that certain things won't work as expected, and it will probably crash and be down at times. I've only tested it in Chrome 15 and Firefox 9. It should work in Internet Explorer 9 or 10, but will almost certainly not work in IE8 or earlier. Saving will create a new URL that you can share with others. If they save, it will be saved as a new revision, preserving your original. This could be useful for: • Posting example code that you'd like others to look at and mess with. • Quick projects when you don't have access to your regular development environment. • Perhaps as your main editor someday. Future features might include: • Ability to open and save to your hard drive. • Ability to open and save to Dropbox. • Open to suggestions. See it at: http://lily.sytes.net Let me know how it works for you! View this message in context: Experimental Web-based Lilypond Editor Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: voll...@nf.mpg.de http://www.nf.mpg.de smime.p7s Description: S/MIME cryptographic signature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: V.S. on page turns
On Wed, Feb 01, 2012 at 09:12:00PM -0800, Shevek wrote: Xavier Scheuer wrote: You could ask to add this to the tracker as a new feature request. http://lilypond.org/bug-reports.html Cheers, Xavier I may do that. What should a feature request look like? What information do I need to include? If you have an example engraving then just include an image of that, and describe the feature in words. If you know what Lilypond syntax you would like, include a made-up example of that too. There are examples enhancement requests on the issue tracker. http://code.google.com/p/lilypond/issues/list Send your request to the bug report list as Xavier outlined above. Cheers, Colin. -- Colin Hall ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Horizontal shifting
Hello Nick. I need to reduce space between notes.. (and between a note and a barline) It appears very strange to me that there's not a feature or a way for doing that in Lilypond. Are there feedbacks? Thanks Paolo --- Mer 1/2/12, Nick Payne nick.pa...@internode.on.net ha scritto: Da: Nick Payne nick.pa...@internode.on.net Oggetto: Re: Horizontal shifting A: lilypond-user@gnu.org Data: Mercoledì 1 febbraio 2012, 22:02 On 02/02/12 05:21, Paolo Prete wrote: Hi, is there an easy way to shift notes in a way similar to the png example attached to this mail? A way to do that could be using NoteColumn #'force-hshift with an invisible additional voice... but I wonder if is there an easier solution. You can increase the spacing between notes without an additional voice by changing the Stem X-extent, but this approach doesn't work to reduce the spacing: \version 2.15.25 stemspace = #(define-music-function (parser location extent) (pair?) #{ \once \override Staff.Stem #'X-extent = #extent #}) \relative c' { c4 c \stemspace #'(0 . 4) f e } -Segue allegato- ___ 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: Horizontal shifting
On 1 February 2012 19:21, Paolo Prete p4olo_pr...@yahoo.it wrote: Hi, is there an easy way to shift notes in a way similar to the png example attached to this mail? A way to do that could be using NoteColumn #'force-hshift with an invisible additional voice... but I wonder if is there an easier solution. Instead of using NoteColumn #'force-hshift you could override NoteColumn #'X-offset . At least it does not require an invisible additional voice. \once \override NoteColumn #'X-offset = #2 On 2 February 2012 12:48, Paolo Prete p4olo_pr...@yahoo.it wrote: I need to reduce space between notes.. (and between a note and a barline) It appears very strange to me that there's not a feature or a way for doing that in Lilypond. Are there feedbacks? LilyPond implements the complex rules of horizontal spacing of engraved score. It handles tricky polyphonic rhythms and uncommon notes durations remarkably well. You could play with SpacingSpanner #'spacing-increment and/or SpacingSpanner #'shortest-duration-space to modify the horizontal spacing, as explained in NR 4.5 Horizontal spacing . http://lilypond.org/doc/v2.15/Documentation/notation/horizontal-spacing.html You could also change Staff.Barline #'space-alist table. http://lilypond.org/doc/v2.15/Documentation/internals/barline Snippet \version 2.15.27 \relative c' { c4 c f \once \override NoteColumn #'X-offset = #2 e | \once \override Score.SpacingSpanner #'shortest-duration-space = #3 \newSpacingSection c4 \newSpacingSection c f e | } End of snippet Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tie at end of first repeat
Perhaps this is impertinent of me, but I would suggest the following phrasing: A LaissezVibrer tie can be used to tie a note from the end of the first repeat back to the start of the repeated section. The length of the tie can be tweaked using LSR-snippet 715 as shown. Brent. On 2 February 2012 10:16, Thomas Morley thomasmorle...@googlemail.comwrote: Hi James, 2012/2/2 James pkx1...@gmail.com: Hello, Hi Nick, of course! This is the upgraded LSR-snippet http://lsr.dsi.unimi.it/LSR/Search?q=extendLV And I forgot it. :( But have a second look at the function by Enternix. With very few changes you can adapt it to nearly all stencils. This might be useful sometimes. Well ties over Voltas is asked for quite regularly. If this is a good solution for this case then I suggest that a new LSR snippet is made showing an example with Voltas, then we could link to the snippet in the LSR from the NR. At the moment the snippet isn't obviously relevant for repeat sections and not everyone (including me) knows what a 'lassie-veebray' tie is let alone how to pronounce it! James done. http://lsr.dsi.unimi.it/LSR/Item?u=1id=794 Please have a look on the description, I'm not convinced about my english. Cheers, Harm ___ 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
wish: more midi-functionality
dear composers and programmers, i need more functions for midi with lilypond. i know - lilypond is NOT a sequencer, but i try to tell you, what i want (and i read this wish in a forum, too) i work often with the linuxsampler, frescobaldi, lilypond and jack. for my first piano concert i need more samples than 15. i try to explain with an example: on midi-channel 12 there is the violin. in the linuxsampler is loaded the sound for violin-sustain. this is ok for the first 4 measures. but then, i need staccato-violins. and later some other articulations of the violins. i can load all these sounds into the linuxsampler, but i am running out of midi-channels. now my suggestion: create one command, that can not only change the instrument name. create a command, that tells every staff (or even every voice) to change the midi channel AND the port. perhaps it can work as follows: linuxsampler (1) on port 128:0 with all sustain-sounds linuxsampler (2) on port 129:0 with all staccato-sounds linuxsampler (3) on port 130:0 with all solo-sounds perhaps the command can look like this: c4 d e f\midiChannelPort #12 #128 g a h c\midiChannelPort #12 #129 so you can change each channel with additional the port. so, the number of midi-channels are no problem any more! AND: with this feature lilypond goes into the future. so, lilypond will have a GREAT functionality like rosegarden. musical regards Markus W. Kropp aka Musix PS Lilypond is very, very great! i love to write my music with it. - Musix-Blog - Über meine Kompositionen - http://www.musix-de.blogspot.com Musix-Wiki - Den Computer zum Komponieren einrichten - http://www.musix-wiki.org Klavierunterricht in Köln - http://www.koelnklassik.de/klavierunterricht.htm Markus W. Kropp Buchholzstr. 36 51061 Köln Tel.:0221-4719703 kr...@koelnklassik.de ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tie at end of first repeat
On Feb 2, 2012, at 2:50 AM, James wrote: Hello, Hi Nick, of course! This is the upgraded LSR-snippet http://lsr.dsi.unimi.it/LSR/Search?q=extendLV And I forgot it. :( But have a second look at the function by Enternix. With very few changes you can adapt it to nearly all stencils. This might be useful sometimes. Well ties over Voltas is asked for quite regularly. If this is a good solution for this case then I suggest that a new LSR snippet is made showing an example with Voltas, then we could link to the snippet in the LSR from the NR. At the moment the snippet isn't obviously relevant for repeat sections and not everyone (including me) knows what a 'lassie-veebray' tie is let alone how to pronounce it! Seems to me the simplest thing would be to just duplicate the engraver for the laissez vibrer tie and call it the endVoltaTie. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using other NoteHeads with \harmonicByFret?
No, unfortunately it doesn't have the desired effect. First, there was a $ missing before fret in the \override TabNoteHead line. But then, it does override the NoteHead for every following note, that does NOT have \mixedHarmonicByFret in front of it. All \mixedHarmonicByFret notes still have harmonic NoteHeads. I then added a \revert NoteHead #'style after the other \revert line, but then it works like the normal \harmonicByFret, so no harmonic-mixed anywhere. I'm trying to figure this out, but don't have more ideas right now… -- Peter Crighton | (mainly) Progressive Rock musician based in Mainz/Wiesbaden, Germany http://www.petercrighton.de 2012/1/30 Marc Hohl m...@hohlart.de: Am 29.01.2012 15:54, schrieb Peter Crighton: Hello y'all, Is there an easy way to use other NoteHeads (I need harmonic-mixed) with \harmonicByFret, other than overriding the NoteHead right after every use of \harmonicByFret? I guess I could write my own \harmonicByFret function, but I can't even find the existing one to look how it is written. \harmonicBy... is defined in ly/music-functions-init.ly; based on this definition, something like mixedHarmonicByFret = #(define-music-function (parser location fret music) (number? ly:music?) (_i Convert @var{music} into mixed harmonics; the resulting notes resemble harmonics played on a fretted instrument by touching the strings above @var{fret }.) (let* ((fret (number-string fret)) (pitch (fret-pitch fret))) (make-sequential-music (list #{ \override TabNoteHead #'stencil = #(tab-note-head::print-custom-fret-label fret) \override NoteHead #'style = #'harmonic-mixed #} (make-harmonic (calc-harmonic-pitch pitch music)) #{ \revert TabNoteHead #'stencil #} should do the job, but I didn't test this. HTH, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using other NoteHeads with \harmonicByFret?
Peter Crighton petecrigh...@googlemail.com writes: No, unfortunately it doesn't have the desired effect. First, there was a $ missing before fret in the \override TabNoteHead line. Not if you are using a version of LilyPond from about 2.15.18 onward. It gets along with a lot less $ inside of #{ ... #} while allowing you to use $ outside of it as well. So basing this on Marc's comment \harmonicBy... is defined in ly/music-functions-init.ly; based on this definition, something like you should likely pick up the respective code from _your_ version of ly/music-functions-init.ly and try making analogous changes to it. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Concert of LilyPond works
On 2-2-2012 9:41, James wrote: Mike, On 2 Feb 2012, at 00:18, "m...@apollinemike.com" m...@apollinemike.com wrote: Hey all, In case any of you on the list are not-too-far from the east of France, I'd like to invite you to a concert presented by the Ecole de Musique de Saint-Chamond featuring nine of my works: http://apollinemike.com/concertSolomon.pdf Seven of these pieces were composed using LilyPond. Only seven of them?! Bloody Judas! ;) James As if Mike can help it that he only found out about computer-engraving with Lilypond after hand-engraving his first two pieces. East of France is a little too far from here, so I'll skip the concert. Hans ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unable to find file ice-9/boot-9.scm in load path
On Tue, Jan 31, 2012 at 2:03 AM, Helge Kruse helge.kruse-nos...@gmx.netwrote: I think this is better in the bug mailing list. Thererfore I sent it here again. I try to follow the instructions on this page: http://lilypond.org/doc/v2.14/**Documentation/extending/** scheme-sandbox.htmlhttp://lilypond.org/doc/v2.14/Documentation/extending/scheme-sandbox.html Unfortunately I get an error message, when I try to start guile.exe: ERROR: In procedure primitive-load-path: ERROR: Unable to find file ice-9/boot-9.scm in load path The PATH contains the path to Lilypond: C:\Program Files (x86)\LilyPond\usr\bin. So I am sure that I use this copy of Lilypond. The documentation mentions that I have to add an environment variable C:\ set GUILE_LOAD_PATH=../usr/shr/**guile/1.8 -- same error The same appears with each of these settings: GUILE_LOAD_PATH=../usr/shr/**guile/1.8 GUILE_LOAD_PATH=C:/Program Files (x86)/LilyPond/usr/shr/guile/**1.8 GUILE_LOAD_PATH=C:/Program Files (x86)/LilyPond/usr/share/**guile/1.8 GUILE_LOAD_PATH=C:\Program Files (x86)\LilyPond\usr\share\**guile\1.8 Let's check if the directory in GUILE_LOAD_PATH is valid: C:\ dir /b %GUILE_LOAD_PATH%\ice-9\bo* boot-9.scm Now I am convinced that the GUILE_LOAD_PATH is correct. But I failed to start the GUILE prompt. Is there something that I have missed? Is there a way to learn Scheme with my Lilypond 2.14.2? I am running Lilypond on Windows-7 (64bit) German. Regards, Helge Greetings, Helge - I am running LilyPond 1.14.2 under Windows XP SP3. I can run LY, and cannot duplicate your error. I've copied it back to the user list, since I cannot confirm the problem as a bug. Can anyone out there help Helge? Take care, Ralph ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tie at end of first repeat
Hi Brent, 2012/2/2 Brent Annable brentanna...@gmail.com: Perhaps this is impertinent of me, but I would suggest the following phrasing: A LaissezVibrer tie can be used to tie a note from the end of the first repeat back to the start of the repeated section. The length of the tie can be tweaked using LSR-snippet 715 as shown. not at all. I changed it to your suggestion. Thanks, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: syntax highlighting in the doc, call for testers
Il 02/01/2012 15:58, Thomas Morley ha scritto: I tested a file with a large scheme-definition. In the attached file you may notice some inconsequences: Hi Thomas, I have fixed the error in the scheme definition, so your file is highlighted correctly now. I've done also some other improvements. Anyone wishing to test it again is welcomed to do so, see files attached. Tip for quick testing: 1) copy all the .ly files you want to test in a directory along with the attached files 2) create the html subdirectory 3) run ./srchilite.sh 4) open all the .html files at once and check tab by tab I think that I'll submit the files upstream within saturday/sunday. We'll fix next bugs when we find them :-) (I'm aware of some minor bugs in markup blocks) Thanks, Federico java = java.lang moc = cpp.lang cpp = cpp.lang c = c.lang C = cpp.lang cc = cpp.lang cs = csharp.lang csharp = csharp.lang h = cpp.lang hh = cpp.lang H = cpp.lang hpp = cpp.lang javascript = javascript.lang js = javascript.lang prolog = prolog.lang pl = prolog.lang perl = perl.lang pm = perl.lang php3 = php.lang php4 = php.lang php5 = php.lang php = php.lang ctp = php.lang protobuf = proto.lang proto = proto.lang python = python.lang py = python.lang ruby = ruby.lang rb = ruby.lang flex = flex.lang lex = flex.lang l = flex.lang ll = flex.lang bison = bison.lang yacc = bison.lang y = bison.lang yy = bison.lang changelog = changelog.lang lua = lua.lang ml = caml.lang caml = caml.lang mli = caml.lang sml = sml.lang sig = sml.lang syslog = log.lang log = log.lang pas = pascal.lang pascal = pascal.lang fortran = fortran.lang free-fortran = fortran.lang fixed-fortran = fixed-fortran.lang html = html.lang htm = html.lang tex = latex.lang latex = latex.lang cls = latex.lang sty = latex.lang dtx = latex.lang lgt = logtalk.lang logtalk = logtalk.lang diff = diff.lang patch = diff.lang lang = langdef.lang langdef = langdef.lang outlang = outlang.lang style = style.lang ps = postscript.lang eps = postscript.lang postscript = postscript.lang kcfg = xml.lang ui = xml.lang kdevelop = xml.lang rc = xml.lang docbook = xml.lang kidl = xml.lang xml = xml.lang xhtml = xml.lang bash = sh.lang sh = sh.lang csh = sh.lang ksh = sh.lang tcsh = sh.lang shell = sh.lang tcl = tcl.lang tk = tcl.lang txt = nohilite.lang sql = sql.lang bib = bib.lang makefile = makefile.lang am = makefile.lang in = makefile.lang css = css.lang m4 = m4.lang ac = m4.lang autoconf = m4.lang sl = slang.lang slsh = slang.lang slang = slang.lang properties = properties.lang desktop = desktop.lang ini = desktop.lang conf = conf.lang lsm = lsm.lang spec = spec.lang haxe = haxe.lang hx = haxe.lang ldap = ldap.lang ldif = ldap.lang glsl = glsl.lang xorg = xorg.lang scala = scala.lang ada = ada.lang adb = ada.lang pc = pc.lang pkgconfig = pc.lang oz = oz.lang texinfo = texinfo.lang texi = texinfo.lang hs = haskell.lang hs = haskell.lang lhs = haskell_literate.lang haskell = haskell.lang manifest = manifest.lang mf = manifest.lang asm = asm.lang s = asm.lang applescript = applescript.lang scpt = applescript.lang vbscript = vbscript.lang vbs = vbscript.lang awk = awk.lang bat = bat.lang batch = bat.lang clipper = clipper.lang prg = clipper.lang cbl = cobol.lang cobol = cobol.lang dmd = d.lang d = d.lang errors = errors.lang erl = erlang.lang erlang = erlang.lang vala = vala.lang lisp = lisp.lang el = lisp.lang scm = scheme.lang scheme = scheme.lang po = po.lang pot = po.lang opa = opa.lang javalog = javalog.lang upc = upc.lang tml = tml.lang ly = lilypond.lang # LilyPond v2.14.2 string delim \ \ multiline environment scheme delim '#\'?\(' ) multiline nested begin environment scheme delim ( ) multiline nested begin include url.lang end end scheme_value = '##(t|f)', '#{1,2}\'?[[:alnum:]\.:+-]+' comment delim %{ %} multiline nested comment start % # Symbols cbracket = {|}|| symbol = (|)|~|^|_ dynamic = '\\(||!|f{1,5}|p{1,5}|m(f|p)|fp|(r|s)fz|s(f|p){1,2})(?!\w)' # Numbers specialchar = '(?!#)-[1-5]\b', '\\[0-9]\b' # strings and fingerings note_duration = '(?=[a-zR\',!?])(1|2|4|8|16|32|64|128)(\.+|\b)' value = '[[:digit:]/\*]+' # Markup commands markup_command = '\\((left-|center-|right-|general-)?align|arrow-head', 'beam|bold|(left-|right-)brace|(filled-|rounded-)?box|(h)?bracket', 'caps|char|circle|combine|concat|(left-|center-|right-|dir-)?column', 'dynamic|dot|draw(-circle|-hline|-line)|eyeglasses|epsfile', 'fill-with-pattern|finger|(double|semi|sesqui)?flat|fontCaps|(abs-)?fontsize', '(auto-)?footnote|fraction|fret-diagram(-terse|-verbose)?|fromproperty', 'halign|harp-pedal|hcenter-in|hspace|huge|italic|justify(-field|-string)?', '(justified-|fill-)?line|large(r)?|lookup', 'magnify|mark(alphabet|letter)|markup(list|lines)?|medium', 'musicglyph|natural|normal-size(-super|-sub)|normalsize', 'normal-text|note(-by-number)?|null|number', 'override-lines|pad(-around|-markup|-to-box|-x)', 'page(-link|-ref)|parenthesize|path|pattern',
Re: V.S. on page turns
On Wed, 1 Feb 2012 21:14:00 -0800 (PST) Shevek s...@saultobin.com wrote: Thanks for the references! I believe the break-visibility property concerns only line breaks at the moment, unfortunately. I wonder if it's a limitation of an interface or something more fundamental (e.g. page breaking is not decided at that point). In the first case, it should be relatively easy to fix. -- Regards, Pavel Roskin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using other NoteHeads with \harmonicByFret?
Hi, 2012/2/2 David Kastrup d...@gnu.org: Peter Crighton petecrigh...@googlemail.com writes: No, unfortunately it doesn't have the desired effect. First, there was a $ missing before fret in the \override TabNoteHead line. Not if you are using a version of LilyPond from about 2.15.18 onward. It gets along with a lot less $ inside of #{ ... #} while allowing you to use $ outside of it as well. So basing this on Marc's comment \harmonicBy... is defined in ly/music-functions-init.ly; based on this definition, something like you should likely pick up the respective code from _your_ version of ly/music-functions-init.ly and try making analogous changes to it. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user to avoid confusions about $ and other complications depending on the used version, you should always post your version-number and a short example. Based on Marc's work I come up with the code below. \version 2.14.2 mixedHarmonicByFret = #(define-music-function (parser location fret music) (number? ly:music?) (_i Convert @var{music} into mixed harmonics; the resulting notes resemble harmonics played on a fretted instrument by touching the strings above @var{fret }.) (let* ((fret (number-string fret)) (pitch (fret-pitch fret))) (make-sequential-music (list #{ \override TabNoteHead #'stencil = #(tab-note-head::print-custom-fret-label $fret) \override NoteHead #'stencil = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed) (ly:note-head::print grob)) #} (make-harmonic (calc-harmonic-pitch pitch music)) #{ \revert TabNoteHead #'stencil \revert NoteHead #'stencil #} music = { \mixedHarmonicByFret #5 d,16\4 \mixedHarmonicByFret #4 d,16\4 \mixedHarmonicByFret #3 d,8\4 \mixedHarmonicByFret #5 g,\3 b,\22. c'4 d' e' f' g'1 } \score { \new Staff { \clef G_8 \music } \new TabStaff { \music } } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Experimental Web-based Lilypond Editor
This is very good..! I like it..I was searching for something like this for days back.. I tryed it with jumnji-git and it works perfect..! On Thu, Feb 2, 2012 at 12:05 PM, Stefan Vollmar voll...@nf.mpg.de wrote: It works very well with Safari 5.1.2 on the Mac, great stuff! Warm regards, Stefan On 01.02.2012, at 10:51, trevordixon wrote: I've been working on something I think the LilyPond community may find very useful: a web-based editor. Before you check it out, keep in mind that it's at a pre-alpha stage. It's likely that certain things won't work as expected, and it will probably crash and be down at times. I've only tested it in Chrome 15 and Firefox 9. It should work in Internet Explorer 9 or 10, but will almost certainly not work in IE8 or earlier. Saving will create a new URL that you can share with others. If they save, it will be saved as a new revision, preserving your original. This could be useful for: • Posting example code that you'd like others to look at and mess with. • Quick projects when you don't have access to your regular development environment. • Perhaps as your main editor someday. Future features might include: • Ability to open and save to your hard drive. • Ability to open and save to Dropbox. • Open to suggestions. See it at: http://lily.sytes.net Let me know how it works for you! View this message in context: Experimental Web-based Lilypond Editor Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: voll...@nf.mpg.de http://www.nf.mpg.de ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- *Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. Izreke 12:18* ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Experimental Web-based Lilypond Editor
Maybe it would be a cool feature if you could import saved file as a config..maybe http://lily.sytes.net/configfile.ly..i don't know if this would be possible..just an idea.. On Thu, Feb 2, 2012 at 9:50 PM, Stjepan Horvat zvanste...@gmail.com wrote: This is very good..! I like it..I was searching for something like this for days back.. I tryed it with jumnji-git and it works perfect..! On Thu, Feb 2, 2012 at 12:05 PM, Stefan Vollmar voll...@nf.mpg.de wrote: It works very well with Safari 5.1.2 on the Mac, great stuff! Warm regards, Stefan On 01.02.2012, at 10:51, trevordixon wrote: I've been working on something I think the LilyPond community may find very useful: a web-based editor. Before you check it out, keep in mind that it's at a pre-alpha stage. It's likely that certain things won't work as expected, and it will probably crash and be down at times. I've only tested it in Chrome 15 and Firefox 9. It should work in Internet Explorer 9 or 10, but will almost certainly not work in IE8 or earlier. Saving will create a new URL that you can share with others. If they save, it will be saved as a new revision, preserving your original. This could be useful for: * Posting example code that you'd like others to look at and mess with. * Quick projects when you don't have access to your regular development environment. * Perhaps as your main editor someday. Future features might include: * Ability to open and save to your hard drive. * Ability to open and save to Dropbox. * Open to suggestions. See it at: http://lily.sytes.net Let me know how it works for you! View this message in context: Experimental Web-based Lilypond Editor Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: voll...@nf.mpg.de http://www.nf.mpg.de ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- *Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. Izreke 12:18* -- *Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. Izreke 12:18* ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: syntax highlighting in the doc, call for testers
Hi Federico, 2012/2/2 Federico Bruni fedel...@gmail.com: Il 02/01/2012 15:58, Thomas Morley ha scritto: I tested a file with a large scheme-definition. In the attached file you may notice some inconsequences: Hi Thomas, I have fixed the error in the scheme definition, so your file is highlighted correctly now. I've done also some other improvements. Anyone wishing to test it again is welcomed to do so, see files attached. Tip for quick testing: 1) copy all the .ly files you want to test in a directory along with the attached files 2) create the html subdirectory 3) run ./srchilite.sh 4) open all the .html files at once and check tab by tab I think that I'll submit the files upstream within saturday/sunday. We'll fix next bugs when we find them :-) (I'm aware of some minor bugs in markup blocks) Thanks, Federico 1. Am I right you resigned of every highlighting within scheme? 2. I noticed that the number 1 in R1 is in a different color than in R1*8 (see the attached small file) I found nothing more to worry about, but I hope there will be more testers, I'm not the best to do this sort of work. HTH, Harm \version "2.14.2" % % Vertical space skip! % % Usage: \vspace #2 % #(define-markup-command (vspace layout props amount) (number?) "This produces a invisible object taking vertical space." (let ((amount (* amount 3.0))) (if ( amount 0) (ly:make-stencil "" (cons -1 1) (cons 0 amount)) (ly:make-stencil "" (cons -1 1) (cons amount amount) %### Melody _One_ = { R1*8 } %## 2. Stimme ## Two = { R1 R1 R1 R1 R1 R1 R1 R1 \bar "|." } %## Akkorde akkorde = \chords { c2. g4 | c2 g2 | c4 g4 d4:m d4 | g2 r2 | c2 f4 c4 | f1 | c2 d4:m g4 | c2. r4 | } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
horizontal line separator in column markup (as in fraction or polychord)
Hi, I'm trying to write a polychord markup that looks like a mathematical fraction. May be I've overlooked something, but I didn't found a way to draw a horizontal line between to text lines of a column. I'm using: \markup {\override #`(direction . ,UP) \dir-column { C \draw-line #'(3 . 0) Db } } But then I have too many vertical space between Db and the separator and I have to hardcode the length of the line. Any suggestion? Thanks ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: horizontal line separator in column markup (as in fraction or polychord)
On 2 February 2012 22:23, Jean-Alexis Montignies j...@montignies.info wrote: Hi, I'm trying to write a polychord markup that looks like a mathematical fraction. May be I've overlooked something, but I didn't found a way to draw a horizontal line between to text lines of a column. I'm using: \markup {\override #`(direction . ,UP) \dir-column { C \draw-line #'(3 . 0) Db } } But then I have too many vertical space between Db and the separator and I have to hardcode the length of the line. Any suggestion? Why not simply \chords { c1:/des } ? Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using other NoteHeads with \harmonicByFret?
You're right, I should have included an example. I'm sorry. I now have: \version 2.14.2 mixedHarmonicByFret = #(define-music-function (parser location fret music) (number? ly:music?) (_i Convert @var{music} into mixed harmonics; the resulting notes resemble harmonics played on a fretted instrument by touching the strings above @var{fret }.) (let* ((fret (number-string fret)) (pitch (fret-pitch fret))) (make-sequential-music (list #{ \override TabNoteHead #'stencil = #(tab-note-head::print-custom-fret-label $fret) \override NoteHead #'stencil = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed) (ly:note-head::print grob)) #} (make-harmonic (calc-harmonic-pitch pitch music)) #{ \revert TabNoteHead #'stencil \revert NoteHead #'stencil #} music = { \override StringNumber #'transparent = ##t \ottava #1 \mixedHarmonicByFret #12 e,8\6 \mixedHarmonicByFret #12 g\3 b\2 e'\18. \mixedHarmonicByFret #7 g\3 b\2 e'\1 \mixedHarmonicByFret #5 g\3 b\2 e'\1 \mixedHarmonicByFret #7 g\3 b\2 e'\1 \mixedHarmonicByFret #12 g\3 b\2 e'\18 | } \score { \new Staff { \clef G_8 \key e\major \music } \new TabStaff { \tabFullNotation \music } } It looks quite good so far, only the dots are not shown in the Staff and some of the accidentals overlap with the notehead. (In this example only the lower G, but at the piece I'm working on it is also the D.) -- Peter Crighton | (mainly) Progressive Rock musician based in Mainz/Wiesbaden, Germany http://www.petercrighton.de 2012/2/2 Thomas Morley thomasmorle...@googlemail.com: Hi, 2012/2/2 David Kastrup d...@gnu.org: Peter Crighton petecrigh...@googlemail.com writes: No, unfortunately it doesn't have the desired effect. First, there was a $ missing before fret in the \override TabNoteHead line. Not if you are using a version of LilyPond from about 2.15.18 onward. It gets along with a lot less $ inside of #{ ... #} while allowing you to use $ outside of it as well. So basing this on Marc's comment \harmonicBy... is defined in ly/music-functions-init.ly; based on this definition, something like you should likely pick up the respective code from _your_ version of ly/music-functions-init.ly and try making analogous changes to it. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user to avoid confusions about $ and other complications depending on the used version, you should always post your version-number and a short example. Based on Marc's work I come up with the code below. \version 2.14.2 mixedHarmonicByFret = #(define-music-function (parser location fret music) (number? ly:music?) (_i Convert @var{music} into mixed harmonics; the resulting notes resemble harmonics played on a fretted instrument by touching the strings above @var{fret }.) (let* ((fret (number-string fret)) (pitch (fret-pitch fret))) (make-sequential-music (list #{ \override TabNoteHead #'stencil = #(tab-note-head::print-custom-fret-label $fret) \override NoteHead #'stencil = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed) (ly:note-head::print grob)) #} (make-harmonic (calc-harmonic-pitch pitch music)) #{ \revert TabNoteHead #'stencil \revert NoteHead #'stencil #} music = { \mixedHarmonicByFret #5 d,16\4 \mixedHarmonicByFret #4 d,16\4 \mixedHarmonicByFret #3 d,8\4 \mixedHarmonicByFret #5 g,\3 b,\22. c'4 d' e' f' g'1 } \score { \new Staff { \clef G_8 \music } \new TabStaff { \music } } HTH, Harm ___ 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: Tie at end of first repeat
On 2/2/12 11:54 AM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi Brent, 2012/2/2 Brent Annable brentanna...@gmail.com: Perhaps this is impertinent of me, but I would suggest the following phrasing: A LaissezVibrer tie can be used to tie a note from the end of the first repeat back to the start of the repeated section. The length of the tie can be tweaked using LSR-snippet 715 as shown. not at all. I changed it to your suggestion. We won't want the reference to LSR snippet 715 in the docs, and I don't think we are going to want to maintain a linkage between the two, so I think that we should not have the reference to 715 in the descriptive text. I'd prefer A LaissezVibrer tie can be used to tie The length of the tie can be tweaked. Thanks, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tie at end of first repeat
Hi Carl, 2012/2/3 Carl Sorensen c_soren...@byu.edu: On 2/2/12 11:54 AM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi Brent, 2012/2/2 Brent Annable brentanna...@gmail.com: Perhaps this is impertinent of me, but I would suggest the following phrasing: A LaissezVibrer tie can be used to tie a note from the end of the first repeat back to the start of the repeated section. The length of the tie can be tweaked using LSR-snippet 715 as shown. not at all. I changed it to your suggestion. We won't want the reference to LSR snippet 715 in the docs, and I don't think we are going to want to maintain a linkage between the two, so I think that we should not have the reference to 715 in the descriptive text. I'd prefer A LaissezVibrer tie can be used to tie The length of the tie can be tweaked. Thanks, Carl I changed as you proposed. But I let the code of 715 in the code of the new snippet. Shall I use another tweaking.method? But may I ask: what's the problem with 715? Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: syntax highlighting in the doc, call for testers
Il 02/02/2012 22:22, Thomas Morley ha scritto: 1. Am I right you resigned of every highlighting within scheme? Yes, almost. I know nothing about Scheme. The only highlighting within Scheme that I'd like to preserve are the strings . I've just edited the scheme definition and it works. Is there any other highlghting within Scheme that I'm missing? Can you provide some example? source-highlight has already a scheme language and I might easily include it, but I don't think that it's desirable: you would get what you see in the attached file. 2. I noticed that the number 1 in R1 is in a different color than in R1*8 (see the attached small file) this is fixed now, thanks \version "2.14.2" % % Vertical space skip! % % Usage: \vspace #2 % #(define-markup-command (vspace layout props amount) (number?) "This produces a invisible object taking vertical space." (let ((amount (* amount 3.0))) (if ( amount 0) (ly:make-stencil "" (cons -1 1) (cons 0 amount)) (ly:make-stencil "" (cons -1 1) (cons amount amount) %### Melody _One_ = { R1*8 } %## 2. Stimme ## Two = { R1 R1 R1 R1 R1 R1 R1 R1 \bar "|." } %## Akkorde akkorde = \chords { c2. g4 | c2 g2 | c4 g4 d4:m d4 | g2 r2 | c2 f4 c4 | f1 | c2 d4:m g4 | c2. r4 | } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using other NoteHeads with \harmonicByFret?
Hi Peter, 2012/2/2 Peter Crighton petecrigh...@googlemail.com: You're right, I should have included an example. I'm sorry. [...] It looks quite good so far, only the dots are not shown in the Staff and some of the accidentals overlap with the notehead. (In this example only the lower G, but at the piece I'm working on it is also the D.) harmonicDots are not shown by default, you have to enable this with \set harmonicDots = ##t I've not a clue why this happens sometimes, would have expected that's all good or all bad. Anyway using another property ('after-line-breaking) seems to solve it. If not recall. \version 2.14.2 \paper { ragged-right = ##t } mixedHarmonicByFret = #(define-music-function (parser location fret music) (number? ly:music?) (_i Convert @var{music} into mixed harmonics; the resulting notes resemble harmonics played on a fretted instrument by touching the strings above @var{fret }.) (let* ((fret (number-string fret)) (pitch (fret-pitch fret))) (make-sequential-music (list #{ \override TabNoteHead #'stencil = #(tab-note-head::print-custom-fret-label $fret) \override NoteHead #'after-line-breaking = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed) (ly:note-head::print grob)) #} (make-harmonic (calc-harmonic-pitch pitch music)) #{ \revert TabNoteHead #'stencil \revert NoteHead #'after-line-breaking #} music = { \override StringNumber #'transparent = ##t \set harmonicDots = ##t \ottava #1 % I added several accidentals!! \mixedHarmonicByFret #12 e,\68 \mixedHarmonicByFret #12 g\3 b!\2 e'!\18. \mixedHarmonicByFret #7 g!\3 b!\2 e'!\1 \mixedHarmonicByFret #5 g!\3 b!\2 e'!\1 \mixedHarmonicByFret #7 g!\3 b!\2 e'!\1 \mixedHarmonicByFret #12 g!\3 b!\2 e'!\18 | } \score { \new Staff { \clef G_8 \key e\major \music } \new TabStaff { \tabFullNotation \music } } Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: horizontal line separator in column markup (as in fraction or polychord)
Hi, 2012/2/2 Xavier Scheuer x.sche...@gmail.com: On 2 February 2012 22:23, Jean-Alexis Montignies j...@montignies.info wrote: Hi, I'm trying to write a polychord markup that looks like a mathematical fraction. May be I've overlooked something, but I didn't found a way to draw a horizontal line between to text lines of a column. I'm using: \markup {\override #`(direction . ,UP) \dir-column { C \draw-line #'(3 . 0) Db } } But then I have too many vertical space between Db and the separator and I have to hardcode the length of the line. Any suggestion? Why not simply \chords { c1:/des } ? Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user an idea: \version 2.14.2 #(define-markup-command (custom-column layout props args) (markup-list?) ;#:properties ((direction) ;(baseline-skip)) (let* ((args-length-ls (sort (map (lambda (x) (interval-length (ly:stencil-extent (interpret-markup layout props x) X))) args) )) ; baseline-skip is hard-coded! ; if you change this don't forget to change 0.65 ; in: #:translate (cons 0 (* 0.65 baseline-skip)) (baseline-skip 1.2) (ln-mrkp (markup #:translate (cons 0 (* 0.65 baseline-skip)) #:draw-line (cons (car args-length-ls) 0))) (new-args (list (car args) ln-mrkp (cadr args ; direction is hard-coded! (stack-lines -1 ;(if (number? direction) direction -1) 0.0 baseline-skip (interpret-markup-list layout props new-args \markup { \custom-column { C Db } \custom-column { Ees Disis } \custom-column { a Whatsever } } HTH, Harm attachment: atest-09.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using other NoteHeads with \harmonicByFret?
Thanks, that fixed the issue with the accidentals, but it's now harmonic again and not harmonic-mixed… the \override NoteHead line seems to just be ignored. (I also don't see how overriding after-line-breaking should alter the noteheads…) But as long as the harmonicDots are shown it's good enough. At least eigth notes and dotted eigth notes are now distinguishable. Ah, no… not good enough – quarter notes and half notes still look the same, of course. -- Peter Crighton | (mainly) Progressive Rock musician based in Mainz/Wiesbaden, Germany http://www.petercrighton.de 2012/2/3 Thomas Morley thomasmorle...@googlemail.com: Hi Peter, 2012/2/2 Peter Crighton petecrigh...@googlemail.com: You're right, I should have included an example. I'm sorry. [...] It looks quite good so far, only the dots are not shown in the Staff and some of the accidentals overlap with the notehead. (In this example only the lower G, but at the piece I'm working on it is also the D.) harmonicDots are not shown by default, you have to enable this with \set harmonicDots = ##t I've not a clue why this happens sometimes, would have expected that's all good or all bad. Anyway using another property ('after-line-breaking) seems to solve it. If not recall. \version 2.14.2 \paper { ragged-right = ##t } mixedHarmonicByFret = #(define-music-function (parser location fret music) (number? ly:music?) (_i Convert @var{music} into mixed harmonics; the resulting notes resemble harmonics played on a fretted instrument by touching the strings above @var{fret }.) (let* ((fret (number-string fret)) (pitch (fret-pitch fret))) (make-sequential-music (list #{ \override TabNoteHead #'stencil = #(tab-note-head::print-custom-fret-label $fret) \override NoteHead #'after-line-breaking = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed) (ly:note-head::print grob)) #} (make-harmonic (calc-harmonic-pitch pitch music)) #{ \revert TabNoteHead #'stencil \revert NoteHead #'after-line-breaking #} music = { \override StringNumber #'transparent = ##t \set harmonicDots = ##t \ottava #1 % I added several accidentals!! \mixedHarmonicByFret #12 e,\68 \mixedHarmonicByFret #12 g\3 b!\2 e'!\18. \mixedHarmonicByFret #7 g!\3 b!\2 e'!\1 \mixedHarmonicByFret #5 g!\3 b!\2 e'!\1 \mixedHarmonicByFret #7 g!\3 b!\2 e'!\1 \mixedHarmonicByFret #12 g!\3 b!\2 e'!\18 | } \score { \new Staff { \clef G_8 \key e\major \music } \new TabStaff { \tabFullNotation \music } } Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Experimental Web-based Lilypond Editor
Now allows for compiling with either the latest stable version or latest unstable version. Click the arrow next to the preview button to choose the version. trevordixon wrote: I've been working on something I think the LilyPond community may find very useful: a web-based editor. Before you check it out, keep in mind that it's at a pre-alpha stage. It's likely that certain things won't work as expected, and it will probably crash and be down at times. I've only tested it in Chrome 15 and Firefox 9. It should work in Internet Explorer 9 or 10, but will almost certainly not work in IE8 or earlier. Saving will create a new URL that you can share with others. If they save, it will be saved as a new revision, preserving your original. This could be useful for: Posting example code that you'd like others to look at and mess with. Quick projects when you don't have access to your regular development environment. Perhaps as your main editor someday. Future features might include: Ability to open and save to your hard drive. Ability to open and save to Dropbox. Open to suggestions. See it at: http://lily.sytes.net http://lily.sytes.net Let me know how it works for you! -- View this message in context: http://old.nabble.com/Experimental-Web-based-Lilypond-Editor-tp33242123p33254183.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unable to find file ice-9/boot-9.scm in load path
Am 02.02.2012 19:18, schrieb Ralph Palmer: On Tue, Jan 31, 2012 at 2:03 AM, Helge Krusehelge.kruse-nos...@gmx.netwrote: I think this is better in the bug mailing list. Thererfore I sent it here again. I try to follow the instructions on this page: http://lilypond.org/doc/v2.14/**Documentation/extending/** scheme-sandbox.htmlhttp://lilypond.org/doc/v2.14/Documentation/extending/scheme-sandbox.html Unfortunately I get an error message, when I try to start guile.exe: ERROR: In procedure primitive-load-path: ERROR: Unable to find file ice-9/boot-9.scm in load path The PATH contains the path to Lilypond: C:\Program Files (x86)\LilyPond\usr\bin. So I am sure that I use this copy of Lilypond. The documentation mentions that I have to add an environment variable C:\ set GUILE_LOAD_PATH=../usr/shr/**guile/1.8 -- same error The same appears with each of these settings: GUILE_LOAD_PATH=../usr/shr/**guile/1.8 GUILE_LOAD_PATH=C:/Program Files (x86)/LilyPond/usr/shr/guile/**1.8 GUILE_LOAD_PATH=C:/Program Files (x86)/LilyPond/usr/share/**guile/1.8 GUILE_LOAD_PATH=C:\Program Files (x86)\LilyPond\usr\share\**guile\1.8 Let's check if the directory in GUILE_LOAD_PATH is valid: C:\ dir /b %GUILE_LOAD_PATH%\ice-9\bo* boot-9.scm Now I am convinced that the GUILE_LOAD_PATH is correct. But I failed to start the GUILE prompt. Is there something that I have missed? Is there a way to learn Scheme with my Lilypond 2.14.2? I am running Lilypond on Windows-7 (64bit) German. Regards, Helge Greetings, Helge - I am running LilyPond 1.14.2 under Windows XP SP3. I can run LY, and cannot duplicate your error. I've copied it back to the user list, since I cannot confirm the problem as a bug. Can anyone out there help Helge? Take care, Ralph Hello Ralph, thanks for trying to reproducing the bug. Well, it's still a bug. When I run guile.exe as administrator it succeeds. But running guile.exe as a user without administrative rights it fails to load boot-9.scm. You can see here what happens when the GUILE_LOAD_PATH is set to SHARE\GUILE\1.8 This is intentionally in capital letters. The windows O/S doesn't care but you can see, when this variable has been used. Administrator: CreateFile C:\Program Files (x86)\LilyPond\usr\share\guile\1.8 -- SUCCESS There are some additional file open operations but you can see, that the variable GUILE_LOAD_PATH has *not* been used to resolve the valid load path. Non-adminstrative user (Helge): CreateFile C:\Users\Helge\SHARE\GUILE\1.8\ -- PATH NOT FOUND CreateFile C:\usr\share\guile\site\ -- PATH NOT FOUND CreateFile C:\usr\share\guile\1.8\ -- PATH NOT FOUND CreateFile C:\usr\share\guile\ -- PATH NOT FOUND CreateFile C:\Users\Helge\share\guile\1.8\ -- PATH NOT FOUND CreateFile C:\Users\Helge\SHARE\GUILE\1.8\ice-9\ -- PATH NOT FOUND So the bug is: GUILE_LOAD_PATH is appended to the home directory of the non-adminstrative user instead of either append it to the directory where guile.exe is started or using it as an absolute path. Workaround: When you set GUILE_LOAD_PATH to the following value, you can run guile.exe as non-administrative user: ..\..\PROGRAM FILES (x86)\LILYPOND\USR\SHARE\GUILE\1.8 (must not be surrounded by ) Regards, Helge ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user