RE: Unstable Windows Version 2.19.81
Il giorno mar 5 giu 2018 alle 23:36, Brandon Wallace ha scritto: Hi all, I wanted to test out the Bending mod, but requires at least 2.19.X What is the "Bending mod"? Perhaps string bending in tablatures? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unstable Windows Version 2.19.81
On 2018-06-05 15:50, Federico Bruni wrote: Il giorno mar 5 giu 2018 alle 23:36, Brandon Wallace ha scritto: Hi all, I wanted to test out the Bending mod, but requires at least 2.19.X What is the "Bending mod"? Perhaps string bending in tablatures? I would presume Brandon is talking about `bending.ily` and this: http://lilypondblog.org/2017/03/the-story-of-string-bending-in-lilypond/ And that article has a familiar author. ;) -- Aaron Hill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar Tab / Bends
On Thu, Mar 11 2021 at 08:20:35 AM -0500, David Stocker wrote: Hello group, Some years ago, someone developed a capability for LilyPond to notate bending notes on Guitar Tab. Is anyone currently using this capability? Hi David We haven't seen you for a while. IIRC I started using LilyPond 12 years ago thanks to a post from you in a Tuxguitar forum :-) Do you know that guitar bending has been included in LilyPond 2.23.0? I'm not using LilyPond much these days, but I do have several scores using this new bending feature and it's working pretty good.
Guitar string bending
Hi all, What's the state of Lilypond's support for notating bends in guitar music? I've read ["The Story of 'String Bending' in Lilypond"][1] on the Lilypond blog, and that seemed promising, but it seems work on the new bend engraver has stopped. I'm interested specifically in the angled lines that indicate bends in the regular staff, more or less like what is shown in the attached PDF (from [issue 1196][2] mentioned in the blog post). If it's not there yet, I can always use some other notation to indicate bending---after all, I'm only using Lilypond to do some transcriptions and lead sheets for myself---but it would be a good feature. To me, it's also probably the only significant shortcoming of Lilypond. Hoping for good news! If there's anything I can do to help, I'll do what I can, although my coding skills are kinda basic. Regards, Randy [1]: http://lilypondblog.org/2017/03/the-story-of-string-bending-in-lilypond/ [2]: https://sourceforge.net/p/testlilyissues/issues/1196/ guitar-tab_1.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Guitar Tab / Bends
Hello group, Some years ago, someone developed a capability for LilyPond to notate bending notes on Guitar Tab. Is anyone currently using this capability?
Re: quarter-tone tablatures notation
Il giorno lun 26 ott 2015 alle 11:40, bart deruyter <bart.deruy...@gmail.com> ha scritto: > but it sure is possible to "bend" open strings using the tuning heads. On electric guitar bending open strings is easily done with the tremolo arm. On acoustic guitar you can produce a similar effect by bending the guitar neck: the truss rod inside is flexible and the pitch changes. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: call for italian users: translation of feathered beams and other terms
2013/4/11 Ian Hulin i...@hulin.org.uk: In English we use the Italian work portamento when singers or players want to scoop between notes. We use that word in Italian, too, with the same meaning. Aren't doit and fall forms of portamento without a define start/end note? Yes, they can be seen as forms of portamento without a defined end note. 2013/4/10 Federico Bruni fedel...@gmail.com: doit fall I think that it refers to bending. Yes, it can refer to string bending on guitars or similar instruments, but I think it can also refer to singers or other instruments. We don't have a term in italian. Maybe: piegatura della nota verso l'alto/basso (bending) Piegatura is the literal translation of bending, but I don't think that it has a musical meaning, and I can't remember anybody calling piegatura the string bending technique: I always heard the English term. I wrote maybe you could translate them like they did in German: glissando indeterminato verso l'alto/il basso or ... verso l'acuto/il grave. but know I would propose portamento indeterminato verso l'alto/il basso or ... verso l'acuto/il grave. The change from glissando to portamento should make the expression rather self-explanatory and unambiguous: in glissando indeterminato it is unclear if the indetermined note is the first, the last or both, while in portamento indeterminato I think it is clear that the indetermined note is the last. Maybe you could keep a reference to bending in brackets, but I would let it in the explanation of the term rather than in the entry name. Best wishes, Davide ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
bending and line breaks [WAS:Re: Guitar bend error]
Il giorno lun 20 giu 2016 alle 8:58, Federico Bruni <f...@inventati.org> ha scritto: But it's more a TODO: - How should this feature behave at line-break? - Until this is cleared disable line-breaks sufficiently. I've browsed my tablature books but could not find a bend over a line break. I've searched in the Eric Clapton "Unplugged" book (which was used as a reference when bend.ly was discussed) and could not find it. I would guess that other software try to avoid such a situation? (even though I think that this situation should be managed and not avoided) The closest example I found (in another book) is actually a bend-tie-release (see file attached). So not a good example. Blocked because too big. I've uploaded it here: https://postimg.org/image/adoxhwk75/ Anyway, I would expect it to behave similarly to ties: In the last measure of the system, where the bending starts, we should see the curved line ending with an arrow but without the steps (1/4, 1/2, 1, etc.) of the bending. In the next measure after line break we should see the curved line continuing until it reaches the pitch; the bending "step" should be printed there. I don't know how other software behaves. I think I'll try MuseScore as soon as I can. It seems like it supports bending: https://musescore.org/en/handbook/bends I'm trying MuseScore... but I'm not motivated to try to understand a software I'll never use. After a few tests I can only say that it's not a good reference at the moment. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar Tab / Bends
This is a great news! Yes, the development is still active. I guess you'd better subscribe to lilypond-devel for questions about development. Can I suggest something to work on? :-) You may remember that Marc Hohl bend.ly file had bending notation for both Staff and TabStaff. Harm's implementation is more powerful.. see this commit: https://gitlab.com/lilypond/lilypond/-/commit/376a8c362fea5b754ff383dd62f2664f8dea13bb but it lacks the bending notation on Staff. On Thu, Mar 11 2021 at 01:58:50 PM -0500, David Stocker wrote: Now I know that I will definitely fool around with 2.23! I ask because I've been away for a while because I've had a change of scenery from full-time transcription and publishing to full-time software developer (with some other stuff in between). I'm starting to think now about contributing to a project and I may want to dive into LilyPond if there are areas that need work that no one is working on currently. Naturally, I thought of Guitar capabilities since that was the area I worked in for publishers. So glad this community is still active and development continues. On 3/11/2021 11:26 AM, Federico Bruni wrote: On Thu, Mar 11 2021 at 08:20:35 AM -0500, David Stocker wrote: Hello group, Some years ago, someone developed a capability for LilyPond to notate bending notes on Guitar Tab. Is anyone currently using this capability? Hi David We haven't seen you for a while. IIRC I started using LilyPond 12 years ago thanks to a post from you in a Tuxguitar forum :-) Do you know that guitar bending has been included in LilyPond 2.23.0? I'm not using LilyPond much these days, but I do have several scores using this new bending feature and it's working pretty good.
Re: [openlilylib] Discuss restructuring
2014-07-04 12:23 GMT+02:00 Urs Liska u...@openlilylib.org: - I don't see yet what would go into »specific instruments/repertoire« For example shortcuts for staff changes in piano music. Snippets for specific bending techniques for guitar. Lute tablature. This way the bending techniques for guitar would belong to two categories (notation/ and specific-instruments/). But this is not possible if we use directories to tag each snippet. That's why I find the proposal of Paul much more scalable and effective. I would manage the tagging stuff separately. I see the benefit of Frescobaldi's autocompletion of include files if we keep organizing the snippets in different directories, but I think that in the long run Paul's proposal is better. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Guitar bend error
Add a line break before bar 25 r4 r8 e' g2 | \break % gradual bend on g2 towards a | % BAR 25 \bendGrace g8( a2) g2( | % gradual bend on g2 towards a | \bendGrace g8 a4 g8) e g2( | % gradual bend on g2 towards a | HTH Stephen It was written by Marc Hohl I just adapted it to have no tab since I don't use tab see https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending Line breaks over bending notes are not supported and they are currently disabled, because otherwise the file would not compile as soon as page formatting decisions create such a situation. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
Il giorno ven 23 ott 2015 alle 21:49, Thomas Morley <thomasmorle...@gmail.com> ha scritto: I recently made some code offering the possibility that TabStaff accepts quarter-tones. Harm, should I enter an issue in the tracker for this? So if/when you have time to include it in LilyPond (as you said you'd like to do one day) we'll know it. Bernardo, can I ask you how do you use quarter tone tablature notation? Do you need it for bending, right? Or something else? I'm trying to maintain the bending stuff here: https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending I just update the repository with code written by others, mainly Thomas recently. I'd like to include his file which would allow to have quarter tone bendings and I want to know what's the scope of this feature. Quarter tones in tablature are for people who want to use bending and play guitar or any string instrument. Is it correct? Eventually I may try to move it to the new openlilylib library infrastructure (but didn't have time to have a close look at it yet, I don't think that it will be easy for me): https://github.com/openlilylib/openlilylib/tree/master/ly Finally to Simon: this is a very important feature for guitar players (mostly). Only 5 persons offered a bounty, but I guess that this is also due to the fact that some users may be not aware of it: https://sourceforge.net/p/testlilyissues/issues/1196/ Bernardo, add a comment to the issue if you want to add your offer and I'll update the table in the issue description. I took the liberty of changing the currency of all bounties to euro (without caring for exact conversion, given the relatively small amounts). I hope that it's fine and people subbscribed to the issue will receive the notification of the change. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar string bending
Hi Randy Would you mind starting a new thread instead of replying to the existing thread? Gmail users like you don't see the problem but everybody else gets mixed threads this way. Thank you Federico Il giorno mar 3 set 2019 alle 14:58, Randy Josleyn ha scritto: Hi all, What's the state of Lilypond's support for notating bends in guitar music? I've read ["The Story of 'String Bending' in Lilypond"][1] on the Lilypond blog, and that seemed promising, but it seems work on the new bend engraver has stopped. I'm interested specifically in the angled lines that indicate bends in the regular staff, more or less like what is shown in the attached PDF (from [issue 1196][2] mentioned in the blog post). If it's not there yet, I can always use some other notation to indicate bending---after all, I'm only using Lilypond to do some transcriptions and lead sheets for myself---but it would be a good feature. To me, it's also probably the only significant shortcoming of Lilypond. Hoping for good news! If there's anything I can do to help, I'll do what I can, although my coding skills are kinda basic. Regards, Randy [1]: <http://lilypondblog.org/2017/03/the-story-of-string-bending-in-lilypond/> [2]: <https://sourceforge.net/p/testlilyissues/issues/1196/> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar Tab / Bends
I will look into this and read back up on the contributing docs. It's been a while, but since I do software every day now, I hope learning will be quicker! (probably not ) On 3/11/2021 5:50 PM, Federico Bruni wrote: This is a great news! Yes, the development is still active. I guess you'd better subscribe to lilypond-devel for questions about development. Can I suggest something to work on? :-) You may remember that Marc Hohl bend.ly file had bending notation for both Staff and TabStaff. Harm's implementation is more powerful.. see this commit: https://gitlab.com/lilypond/lilypond/-/commit/376a8c362fea5b754ff383dd62f2664f8dea13bb but it lacks the bending notation on Staff. On Thu, Mar 11 2021 at 01:58:50 PM -0500, David Stocker wrote: Now I know that I will definitely fool around with 2.23! I ask because I've been away for a while because I've had a change of scenery from full-time transcription and publishing to full-time software developer (with some other stuff in between). I'm starting to think now about contributing to a project and I may want to dive into LilyPond if there are areas that need work that no one is working on currently. Naturally, I thought of Guitar capabilities since that was the area I worked in for publishers. So glad this community is still active and development continues. On 3/11/2021 11:26 AM, Federico Bruni wrote: On Thu, Mar 11 2021 at 08:20:35 AM -0500, David Stocker wrote: Hello group, Some years ago, someone developed a capability for LilyPond to notate bending notes on Guitar Tab. Is anyone currently using this capability? Hi David We haven't seen you for a while. IIRC I started using LilyPond 12 years ago thanks to a post from you in a Tuxguitar forum :-) Do you know that guitar bending has been included in LilyPond 2.23.0? I'm not using LilyPond much these days, but I do have several scores using this new bending feature and it's working pretty good.
Re: Text on slurs (faking bends etc)
Il 25/05/2012 07:53, Pete Farmer ha scritto: I'm will try to extend your work on bend.ly to include a few new cases. I'm in the process of laying out some material by The Hellecasters and as you can imagine I'm encountering many instances which require rather exotic representations of bending techniques; double-stops, behind-the-nut bends, bending harmonics, etc. Great news! I really do care for this feature 1. I want to make sure that I'm working with the latest-and-greatest copy of bend.ly. I recently proposed to put the updated version of bend.ly in the tracker issue about bends: http://code.google.com/p/lilypond/issues/detail?id=1196 Now you can find the latest version working with 2.14.2 It doesn't work well with recent 2.15.x versions: there's a programming error printed in the output and maybe something else. Marc promised me an update version as soon as 2.16 is out. He'll reply to the other questions. Thanks! Federico ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: call for italian users: translation of feathered beams and other terms
2013/4/10 Davide Liessi dal...@gmail.com direct I can't understand this glossary entry, since there isn't enough context. I don't think it is specifically a musical term, and I couldn't find occurrences of direct in NR with a different meaning from the usual, literal, common one. Why is direct in the glossary? Why is it related to custos? no idea, I'll leave it untranslated doit fall Don't know an Italian term for these; maybe you could translate them like they did in German: glissando indeterminato verso l'alto/il basso or ... verso l'acuto/il grave. I think that it refers to bending. We don't have a term in italian. Maybe: piegatura della nota verso l'alto/basso (bending) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE:strange phenomenon from guitar bends snippet Vol 145 issue 124
Il giorno lun 16 feb 2015 alle 20:05, Stephen MacNeil classicalja...@gmail.com ha scritto: I noticed in a past post Vol 145 issue 124 you were trying to remove tab from the guitar bends. Anyway I don't ever use tab myself and modified the ily file so there is no tab. if you still need it or find it helpful here it is. Let me know if it was helpful or if you found a better solution. cheers Stephen \version 2.16.2 % absolutely necessary! \header { snippet-title = Guitar string bending notation snippet-author = Marc Hohl snippet-source = http://code.google.com/p/lilypond/issues/detail?id=1196; Hi Stephen You know that the new home of the old bend.ly is this one? https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending I think that a diff file of your changes compared to that version would be more useful. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
pls <p...@philomelos.net> writes: > David Kastrup <d...@gnu.org> writes: > >> Thomas Morley <thomasmorle...@gmail.com> writes: >> >>> Ok. I found a problem: you can't bend an open string ... >> >> When you "bend" with a bottleneck, it might be feasible. So not sure >> whether this would not warrant at least an option. >> >> And I'm not sure whether fretlass basses are on-topic for "bending". >> >> Basically I have no idea at all but like throwing them around and see if >> something sticks. > > I can't think of a way to "bend" an *open* string with a bottleneck I thought of placing the bottleneck at half-fret position without pressing down. I mean, it's a glissando device, right? > but it sure is possible to "bend" open strings using the tuning heads. That would more be like a permanent change of tuning I think. Depending on the guitar's setup, "bending" beyond the nut may be an option for open strings. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
David Kastrup <d...@gnu.org> writes: > pls <p...@philomelos.net> writes: > >> David Kastrup <d...@gnu.org> writes: >> >>> Thomas Morley <thomasmorle...@gmail.com> writes: >>> >>>> Ok. I found a problem: you can't bend an open string ... >>> >>> When you "bend" with a bottleneck, it might be feasible. So not sure >>> whether this would not warrant at least an option. >>> >>> And I'm not sure whether fretlass basses are on-topic for "bending". >>> >>> Basically I have no idea at all but like throwing them around and see if >>> something sticks. >> >> I can't think of a way to "bend" an *open* string with a bottleneck > > I thought of placing the bottleneck at half-fret position without > pressing down. I mean, it's a glissando device, right? Yes of course! Sorry for being slow. > >> but it sure is possible to "bend" open strings using the tuning heads. > > That would more be like a permanent change of tuning I think. No, no, I meant a quick detuning and retuning of a string. > Depending > on the guitar's setup, "bending" beyond the nut may be an option for > open strings. Yep. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unable to attach a bend to an \afterGrace note with the bend spanner
Am Mo., 14. Sept. 2020 um 13:39 Uhr schrieb Kevin Nowaczyk : > > Andrew, > Here is a link to the output that is currently being produced. > > https://imgur.com/gallery/hJtl1eG > > The first three bends are what I want, but I cannot make the final one look > the same. This is because I am bending to a grace note on the note that > follows the note I want decorated. For this incorrect note, the grace would > be in the following measure, so I have to use \afterGrace To keep everything > together. However, as you can see, Lilypond renders two of these notes when > the bend is used. I have not figured out how to hide these \afterGrace notes. > > Kevin Hi Kevin, the bend-engraver-thingies are not part of core LilyPond. Please post at least the link where you got it, otherwise you'll not get a lot of help ... That said, using the bending-code on my machine, with mus = { \afterGrace c''1\startBend { \once \hideNotes cih''16\stopBend } } << \new Staff \mus \new TabStaff \mus >> renders properly. Thus please post a minimal compiling code-example, only demonstrating the problem. Cheers, Harm
Re: Guitar bends
On Sun, 20/4/14, Thomas Morley thomasmorle...@gmail.com wrote: see: https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending Thanks very much... the improvements that have been done in that seem to be sufficient for my needs. I'm glad to see it is still being worked on (or at least was reasonably recently). Martyn ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
To the question of bending/detuning etc. Please have a look at Michael Manring https://www.youtube.com/watch?v=LWPHrRwQqVE explaining his "hyperbass" where he can change tuning with the levers of his special tuning pegs and levers at the bridge. May be that does not meet the point of this discussion? Then sorry. On 26.10.2015 11:40, bart deruyter wrote: > but it sure is possible to "bend" open strings using the tuning heads. On electric guitar bending open strings is easily done with the tremolo arm. I've seen it in some transcriptions of guitar-solo's in popular music, but I can't recall where I've seen it. grtz, Bart http://www.bartart3d.be/ On Twitter <https://twitter.com/#%21/Bart_Issimo> On Identi.ca <http://identi.ca/bartart3d> On Google+ <https://plus.google.com/u/0/b/116379400376517483499/> 2015-10-26 11:07 GMT+01:00 David Kastrup <d...@gnu.org <mailto:d...@gnu.org>>: pls <p...@philomelos.net <mailto:p...@philomelos.net>> writes: > David Kastrup <d...@gnu.org <mailto:d...@gnu.org>> writes: > >> Thomas Morley <thomasmorle...@gmail.com <mailto:thomasmorle...@gmail.com>> writes: >> >>> Ok. I found a problem: you can't bend an open string ... >> >> When you "bend" with a bottleneck, it might be feasible. So not sure >> whether this would not warrant at least an option. >> >> And I'm not sure whether fretlass basses are on-topic for "bending". >> >> Basically I have no idea at all but like throwing them around and see if >> something sticks. > > I can't think of a way to "bend" an *open* string with a bottleneck I thought of placing the bottleneck at half-fret position without pressing down. I mean, it's a glissando device, right? > but it sure is possible to "bend" open strings using the tuning heads. That would more be like a permanent change of tuning I think. Depending on the guitar's setup, "bending" beyond the nut may be an option for open strings. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org <mailto: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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
Thomas Morley <thomasmorle...@gmail.com> writes: > Ok. I found a problem: you can't bend an open string ... When you "bend" with a bottleneck, it might be feasible. So not sure whether this would not warrant at least an option. And I'm not sure whether fretlass basses are on-topic for "bending". Basically I have no idea at all but like throwing them around and see if something sticks. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BendSpanner-engraver
Thomas Morley <thomasmorle...@gmail.com> writes: >> warning: no notes to start a bend from found. If you want to bend >> an open string, consider override/tweak like: TabNoteHead.bend-me = ##t > > Hm, this text needs fixing, per current default open strings can't > serve as start _or_ end of a bend. What about bending from behind the nut? And of course, on a number of electric guitars you have the infamous whammy bar... -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Unstable Windows Version 2.19.81
Hi all, I wanted to test out the Bending mod, but requires at least 2.19.X I'm having trouble figuring out how to download the unstable Windows versions as all the links i've found to this point have given this error: I'm new to this so apologies if I'm making a stupid mistake. Thanks in advance. branwall ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custom engraver to modify bent grace notes
Le 07/01/2023 à 18:41, Nate Whetsell a écrit : Hi, I have a question about using a custom engraver to modify how grace notes appear when LilyPond’s new string bending is applied to them. This is the first custom engraver I’ve attempted to write, so I think I’ve overlooked something rather basic. The repository for the engraver is at https://github.com/nwhetsell/lilypond-bending-additions, and the current engraver is at https://github.com/nwhetsell/lilypond-bending-additions/blob/0bbfdaa9a76bef10c4b23cc97b1edede8fde2f2a/bending-additions.ily Conceptually, I’m trying to do three things: 1. If a string bend starts on a grace note, don’t reduce the size of the fret number in a TabStaff. 2. If, in addition, the bent grace note is a pre-bend, put the notehead in parentheses, and don’t draw ledger lines, flags, or stems. 3. If a string bend ends on a grace note, don’t draw the notehead, ledger lines, accidentals, flags, or stems (don’t draw anything, basically). I'm ignorant about guitar techniques, but is this note really a grace note? Wouldn't you be better off getting rid of graces, and creating a grob like TrillPitchHead from your engraver? Assuming that grace notes are what you want in the first place ... Bearing in mind that there’s a lot about writing engravers that I don’t know, Maybe it will help to read https://extending-lilypond.readthedocs.io/en/latest/translation.html#writing-an-engraver where I think I’m having difficulty is determining whether a note is a grace note. In short, I’m getting a notehead grob using an acknowledger and then checking the value of its ly:moment-grace <https://lilypond.org/doc/v2.24/Documentation/internals/scheme-functions#index-ly_003amoment_002dgrace> in the engraver’s stop-translation-timestep method. However, this doesn’t work directly. In stop-translation-timestep, the moment of a notehead created in that timestep appears to always be null. Yes, it's not set up yet. Basically, grob::when is meant to be used in the backend (grob callbacks). During translation (in engravers), there is no need. By definition, all note heads that arrive in the same time step are grace notes iff that time step is a grace time step, and you can get the moment of the current time step in the engravers using (ly:context-current-moment context) HTH OpenPGP_signature Description: OpenPGP digital signature
Bend
Hello friends, I thought this was recently covered, but I haven't been able to find what I need. I'm looking for an articulation to add that will indicate a note is supposed to bend down, before bending back up again. Usually I see it looking something like an upside-down fermata, without the dot. I can do this in Musescore easily, but I've never found a satisfactory bend like this in Lilypond. I have a script for a scoop, and I know about \bendBefore, but not this one. Thanks! Brian
Strange problem with guitar bends
I've been using the string bending snippets as found on the following link: https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending ... and have just produced a strange error that I don't understand. The error says: Drawing systems./../benddefs.ily:203:24: In procedure ly:event-property in expression (ly:event-property (event-cause right-bound) (quote pitch)): ../../benddefs.ily:203:24: Wrong type argument in position 1 (expecting Stream_event): #f I've no idea what this means - and I can only reproduce it with quite a large excerpt from my score. The following produces the error, but if I remove any one of the bars everything functions fine. This seems rather strange to me. Any ideas what is causing this or what I should do? Martyn CODE THAT PRODUCES ERROR- \version 2.18.2 \include definitions.ily % Load guitar bending definitions file \language english \layout { \context { \Staff \override VerticalAxisGroup #'default-staff-staff-spacing = #'((padding . 4)) } } music = { \set restrainOpenStrings = ##t \set TabStaff.minimumFret = #12 \relative a' { r2 c16 ( \glissando b ) \bendOn \bendGrace g' ( a8 ) ( \bendGrace g ) ( a ) \bendGrace g ( a ) | \bendGrace g ( a4 ) \bendGrace \preBendHold g ( a16 ) ( g8 ) \bendGrace g ( \holdBend a16 ) ~ a8 ( g16 ) e d ( e ) g \bendGrace \preBendHold d ( e ) ( | d8 ) \bendOff c16 ( \hideNotes \grace d ) \unHideNotes \bendOn d ( e ) g \bendGrace \preBendHold d ( e ) ( d ) c4 \bendGrace \preBendHold a ( c16 ) ( a ) \bendOff g ( \hideNotes \grace a ) \unHideNotes a | } } \score { \new Staff { \clef treble_8 \key a \minor \numericTimeSignature \time 4/4 \tempo 4 = 58 \music } \new TabStaff { \clef moderntab \music } }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
> but it sure is possible to "bend" open strings using the tuning heads. On electric guitar bending open strings is easily done with the tremolo arm. I've seen it in some transcriptions of guitar-solo's in popular music, but I can't recall where I've seen it. grtz, Bart http://www.bartart3d.be/ On Twitter <https://twitter.com/#%21/Bart_Issimo> On Identi.ca <http://identi.ca/bartart3d> On Google+ <https://plus.google.com/u/0/b/116379400376517483499/> 2015-10-26 11:07 GMT+01:00 David Kastrup <d...@gnu.org>: > pls <p...@philomelos.net> writes: > > > David Kastrup <d...@gnu.org> writes: > > > >> Thomas Morley <thomasmorle...@gmail.com> writes: > >> > >>> Ok. I found a problem: you can't bend an open string ... > >> > >> When you "bend" with a bottleneck, it might be feasible. So not sure > >> whether this would not warrant at least an option. > >> > >> And I'm not sure whether fretlass basses are on-topic for "bending". > >> > >> Basically I have no idea at all but like throwing them around and see if > >> something sticks. > > > > I can't think of a way to "bend" an *open* string with a bottleneck > > I thought of placing the bottleneck at half-fret position without > pressing down. I mean, it's a glissando device, right? > > > but it sure is possible to "bend" open strings using the tuning heads. > > That would more be like a permanent change of tuning I think. Depending > on the guitar's setup, "bending" beyond the nut may be an option for > open strings. > > -- > David Kastrup > > ___ > 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
Guitar string bends
Hi all, (Sorry for the duplicate, I didn't know how I replied created issues for others.) What's the state of Lilypond's support for notating bends in guitar music? I've read ["The Story of 'String Bending' in Lilypond"][1] on the Lilypond blog, and that seemed promising, but it seems work on the new bend engraver has stopped. I'm interested specifically in the angled lines that indicate bends in the regular staff, more or less like what is shown in the attached PDF (from [issue 1196][2] mentioned in the blog post). If it's not there yet, I can always use some other notation to indicate bending---after all, I'm only using Lilypond to do some transcriptions and lead sheets for myself---but it would be a good feature. To me, it's also probably the only significant shortcoming of Lilypond. Hoping for good news! If there's anything I can do to help, I'll do what I can, although my coding skills are kinda basic. Regards, Randy [1]: http://lilypondblog.org/2017/03/the-story-of-string-bending-in-lilypond/ [2]: https://sourceforge.net/p/testlilyissues/issues/1196/ -- Sent from my Android device with K-9 Mail. Please excuse my brevity. guitar-tab_1.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar string bends
Il giorno mar 3 set 2019 alle 15:36, Randy Josleyn ha scritto: Hi all, (Sorry for the duplicate, I didn't know how I replied created issues for others.) What's the state of Lilypond's support for notating bends in guitar music? I've read ["The Story of 'String Bending' in Lilypond"][1] on the Lilypond blog, and that seemed promising, but it seems work on the new bend engraver has stopped. As far as I know, there's only one person, Harm, who worked on this stuff in the last few years. I guess he will reply to this thread and let us know if there's any progress to be expected in the future. I'm interested specifically in the angled lines that indicate bends in the regular staff, more or less like what is shown in the attached PDF (from [issue 1196][2] mentioned in the blog post). If it's not there yet, I can always use some other notation to indicate bending---after all, I'm only using Lilypond to do some transcriptions and lead sheets for myself---but it would be a good feature. To me, it's also probably the only significant shortcoming of Lilypond. Hoping for good news! If there's anything I can do to help, I'll do what I can, although my coding skills are kinda basic. The angled lines in the staff were present in the old implementation by Marc Hohl. IIRC Harm told me that porting that portion of Marc's code into his implementation shouldn't be too difficult. Well, if you can code and know Scheme. You may test your coding skills and try? ;-) Regards, Randy [1]: http://lilypondblog.org/2017/03/the-story-of-string-bending-in-lilypond/ [2]: https://sourceforge.net/p/testlilyissues/issues/1196/ -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar Tab / Bends
Now I know that I will definitely fool around with 2.23! I ask because I've been away for a while because I've had a change of scenery from full-time transcription and publishing to full-time software developer (with some other stuff in between). I'm starting to think now about contributing to a project and I may want to dive into LilyPond if there are areas that need work that no one is working on currently. Naturally, I thought of Guitar capabilities since that was the area I worked in for publishers. So glad this community is still active and development continues. On 3/11/2021 11:26 AM, Federico Bruni wrote: On Thu, Mar 11 2021 at 08:20:35 AM -0500, David Stocker wrote: Hello group, Some years ago, someone developed a capability for LilyPond to notate bending notes on Guitar Tab. Is anyone currently using this capability? Hi David We haven't seen you for a while. IIRC I started using LilyPond 12 years ago thanks to a post from you in a Tuxguitar forum :-) Do you know that guitar bending has been included in LilyPond 2.23.0? I'm not using LilyPond much these days, but I do have several scores using this new bending feature and it's working pretty good.
Re: quarter-tone tablatures notation
Hi Federico, No, it's not quarter-tone bending. Certain strings themselves are tuned in quarter-tones. Let's say the first string would be eeh' instead of e so when you write notes on that string, the tablature has to be able to interpret those quarter-tones and return the right fret. As I understood the errors occur because those numbers are rounded up. On Sat, Oct 24, 2015 at 4:12 AM, Federico Bruni <f...@inventati.org> wrote: > Il giorno ven 23 ott 2015 alle 21:49, Thomas Morley < > thomasmorle...@gmail.com> ha scritto: > >> I recently made some code offering the possibility that TabStaff >> accepts quarter-tones. >> > > Harm, should I enter an issue in the tracker for this? So if/when you have > time to include it in LilyPond (as you said you'd like to do one day) we'll > know it. > > Bernardo, can I ask you how do you use quarter tone tablature notation? Do > you need it for bending, right? Or something else? > I'm trying to maintain the bending stuff here: > > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending > > I just update the repository with code written by others, mainly Thomas > recently. > > I'd like to include his file which would allow to have quarter tone > bendings and I want to know what's the scope of this feature. Quarter tones > in tablature are for people who want to use bending and play guitar or any > string instrument. Is it correct? > > Eventually I may try to move it to the new openlilylib library > infrastructure (but didn't have time to have a close look at it yet, I > don't think that it will be easy for me): > https://github.com/openlilylib/openlilylib/tree/master/ly > > Finally to Simon: this is a very important feature for guitar players > (mostly). Only 5 persons offered a bounty, but I guess that this is also > due to the fact that some users may be not aware of it: > https://sourceforge.net/p/testlilyissues/issues/1196/ > > Bernardo, add a comment to the issue if you want to add your offer and > I'll update the table in the issue description. > I took the liberty of changing the currency of all bounties to euro > (without caring for exact conversion, given the relatively small amounts). > I hope that it's fine and people subbscribed to the issue will receive the > notification of the change. > > > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > -- Bernardo Barros NYU, GSAS PhD cand Music Composition 24 Waverly Place, Room 268 New York, NY 10003 http://bernardobarros.com http://babelscores.com/bernardobarros http://soundcloud.com/bernardobarros ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
Thank you, I will revisit this material, I would need to check everything to report the situation. On Sat, Oct 24, 2015 at 11:55 AM, Bernardo Barros <bernardo.bar...@nyu.edu> wrote: > Hi Federico, > > No, it's not quarter-tone bending. Certain strings themselves are tuned in > quarter-tones. Let's say the first string would be eeh' instead of e so > when you write notes on that string, the tablature has to be able to > interpret those quarter-tones and return the right fret. As I understood > the errors occur because those numbers are rounded up. > > > On Sat, Oct 24, 2015 at 4:12 AM, Federico Bruni <f...@inventati.org> > wrote: > >> Il giorno ven 23 ott 2015 alle 21:49, Thomas Morley < >> thomasmorle...@gmail.com> ha scritto: >> >>> I recently made some code offering the possibility that TabStaff >>> accepts quarter-tones. >>> >> >> Harm, should I enter an issue in the tracker for this? So if/when you >> have time to include it in LilyPond (as you said you'd like to do one day) >> we'll know it. >> >> Bernardo, can I ask you how do you use quarter tone tablature notation? >> Do you need it for bending, right? Or something else? >> I'm trying to maintain the bending stuff here: >> >> https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending >> >> I just update the repository with code written by others, mainly Thomas >> recently. >> >> I'd like to include his file which would allow to have quarter tone >> bendings and I want to know what's the scope of this feature. Quarter tones >> in tablature are for people who want to use bending and play guitar or any >> string instrument. Is it correct? >> >> Eventually I may try to move it to the new openlilylib library >> infrastructure (but didn't have time to have a close look at it yet, I >> don't think that it will be easy for me): >> https://github.com/openlilylib/openlilylib/tree/master/ly >> >> Finally to Simon: this is a very important feature for guitar players >> (mostly). Only 5 persons offered a bounty, but I guess that this is also >> due to the fact that some users may be not aware of it: >> https://sourceforge.net/p/testlilyissues/issues/1196/ >> >> Bernardo, add a comment to the issue if you want to add your offer and >> I'll update the table in the issue description. >> I took the liberty of changing the currency of all bounties to euro >> (without caring for exact conversion, given the relatively small amounts). >> I hope that it's fine and people subbscribed to the issue will receive the >> notification of the change. >> >> >> >> >> >> ___ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user >> > > > > -- > Bernardo Barros > > NYU, GSAS > PhD cand Music Composition > 24 Waverly Place, Room 268 > New York, NY 10003 > > http://bernardobarros.com > http://babelscores.com/bernardobarros > http://soundcloud.com/bernardobarros > > -- Bernardo Barros NYU, GSAS PhD cand Music Composition 24 Waverly Place, Room 268 New York, NY 10003 http://bernardobarros.com http://babelscores.com/bernardobarros http://soundcloud.com/bernardobarros ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: NR 3
On Thu, 17 Jul 2008 09:17:31 +0100 Trevor Daniels [EMAIL PROTECTED] wrote: NR 3.5 MIDI output I think 3.5.7 is unnecessary. Just add , in any MIDI player which supports pitch bending to the item in 3.5.2. I'm not certain if we need a separate subsubsection for instrument names. Why not merge that with 3.5.3? I'm not certain about the order of .2 and .3. IMO, there's three parts of MIDI: - basic setup (including tempo and instrument name) - what's included in MIDI - special cases (\unfoldRepeats, dynamics) I don't mind having multiple subsections for each item in the above list, but IMO they should still be found next to each other. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
why is there no \bendBefore?
I am transcribing some saxophone jazz themes, and revising them my teacher drew by hand in my score what you would call \bendBefore. That notation seems natural to me, because the saxophonist is not doing an appoggiatura or anything like that, he attacks the measure by bending the first note upwards. I have seen a few snippets online searching for \bendBefore, but I wonder... why it is not builtin? Is there a reason or is just that nobody wrote it? Xavier PS: I have seen a few solutions to this, do you guys prefer any in particular? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond vs Score
After seeing that output, I'm curious: has anybody played around in Lilypond with making the staff curve around (like forming a circle, or just bending down the page or something)? I'd like to be able to do that. Best, Jonathan This is exactly why I 'm so glad that Lilypond can produce SVG output. Import the SVG into Inkscape 0.47 and you can do ABSOLUTELY ANYTHING with your score. I've said it before - SVG output from Lilypond can be imported into Inkscape, where the graphical elements can be manipulated in any way you want. No restrictions on placement of notes, spacing, text, pictures, grob sizes, bend staves, stems, etc. The LilyPond/LilyPondTool/Inkscape combination is OUTSTANDING. Gerard ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar bends
2014-04-20 22:24 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: I've found an old file kicking around on the internet which allows the typesetting of bends in guitar tablature. This is fine for simple bends, but it doesn't handle a pre-bend/release sequence very well. Has there been an update or further work on the bend input file? Hi Martyn, see: https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: perfect major thirds
- Original Message - From: David Olson dadadha...@dslextreme.com To: lilypond-user@gnu.org Sent: Tuesday, July 01, 2014 9:31 PM Subject: perfect major thirds what should I write to actually do this? http://lsr.di.unimi.it/LSR/Item?id=786 The arrows represent the alteration that changes a Pythagorean major third to a perfect major third. And MIDI will output this, right? Thanks in advance, David Olson Culver City, California Without trying it out, I can't be sure, but I can tell you that Lilypond does output altered midi based on pitch bending for microtonal notation. However, you are obviously restricted to a single note per voice. I suggest you try it out to be sure. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Strange problem with guitar bends
2014-07-31 9:56 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: The \hideNotes and \unHideNotes is to achieve the work-around for mixing bending strings with hammer-on and pull-offs (which are engraved using normal slurs). This is just an excerpt of what I was trying to engrave... and I think it is minimal, in the sense that if you remove any one part of it then Lilypond runs fine and produces what I expected. Ok, then I would write the last lines this way (this avoids the error, by the way): \bendOff \shape #'((-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 1)) Voice.Slur \shape #'((-0.3 . 0) (-0.3 . 0) (-0.3 . 0) (-0.5 . 0.5)) TabVoice.Slur \hideNotes \grace a( \unHideNotes g ) Adjust the values of \shape ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar Tab Quarter Tone Bends
Yes it uses the definitions.ily Thanks for that :) Stephen On Sat, May 2, 2015 at 1:07 PM, Marc Hohl m...@hohlart.de wrote: Hi Stephen, thanks for sharing! I see that you worked from scratch and used BendAfter stencil overrides – do you know the solution posted in https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending There I used slurs to fake bends – still not optimal, but at least lilypond calculates the arrows automatically. Cheers, Marc Am 02.05.2015 um 15:14 schrieb Stephen MacNeil: here Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
Il giorno sab 24 ott 2015 alle 17:55, Bernardo Barros <bernardo.bar...@nyu.edu> ha scritto: No, it's not quarter-tone bending. Certain strings themselves are tuned in quarter-tones. Let's say the first string would be eeh' instead of e so when you write notes on that string, the tablature has to be able to interpret those quarter-tones and return the right fret. As I understood the errors occur because those numbers are rounded up. Thanks, this is exactly what I needed to know. I had never heard of such a tunings before... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
Am 26.10.2015 um 08:12 schrieb David Kastrup: Thomas Morley <thomasmorle...@gmail.com> writes: Ok. I found a problem: you can't bend an open string ... Well, there is some "behind-the-nut" trickery ;-) Stanley Clarke bent a flageolet note (in his solo for "School Days" on a bass) by pressing the string behind the nut ... Marc When you "bend" with a bottleneck, it might be feasible. So not sure whether this would not warrant at least an option. And I'm not sure whether fretlass basses are on-topic for "bending". Basically I have no idea at all but like throwing them around and see if something sticks. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quarter-tone tablatures notation
David Kastrup <d...@gnu.org> writes: > Thomas Morley <thomasmorle...@gmail.com> writes: > >> Ok. I found a problem: you can't bend an open string ... > > When you "bend" with a bottleneck, it might be feasible. So not sure > whether this would not warrant at least an option. > > And I'm not sure whether fretlass basses are on-topic for "bending". > > Basically I have no idea at all but like throwing them around and see if > something sticks. I can't think of a way to "bend" an *open* string with a bottleneck but it sure is possible to "bend" open strings using the tuning heads. HTH Patrick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BendSpanner-engraver
Am 04.10.2016 um 10:58 schrieb David Kastrup: Thomas Morley <thomasmorle...@gmail.com> writes: warning: no notes to start a bend from found. If you want to bend an open string, consider override/tweak like: TabNoteHead.bend-me = ##t Hm, this text needs fixing, per current default open strings can't serve as start _or_ end of a bend. What about bending from behind the nut? And of course, on a number of electric guitars you have the infamous whammy bar... That's true, but I think that it is a sensible default setting to exclude open strins *if* there are ways to enable that feature. Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: AW: Custom Format
On 31/03/2021 20:20, Callum Cassidy-Nolan wrote: You are correct, there is no distinction between these two notes, because in terms of pitch they are the same. Actually, they're not ... If you're talking about "well-tempered" instruments - basically keyboard - then IN PRACTICE they are the same note, but the whole well-tempered system is a bodge to make sure instruments sound "okay" in any modern scale. As soon as you move to instruments capable of playing any pitch (the violin family, the trombone family, probably others I've missed) or "bending" notes - basically all the wind instruments - then you'll find they tend to play circle of fourths or fifths, and not well-tempered, and d# and eb are most definitely different notes (although very close). Cheers, Wol
Re: Custom engraver to modify bent grace notes
Thank you! > Wouldn't you be better off getting rid of graces, and creating a grob like > TrillPitchHead from your engraver? Probably, but I’m also trying to make this engraver something a person can just add to a LilyPond file without having to change anything else. I think most of the time people will input these kinds of bends as grace notes, so no matter what I’ll have to detect those. > you can get the moment of the current time step in the engravers using > > (ly:context-current-moment context) Thanks, this is a huge help. Thank you also for putting together the Extending LilyPond <https://extending-lilypond.readthedocs.io/> website; that website is the only reason I got as far as I did writing an engraver. > On Jan 7, 2023, at 1:04 PM, Jean Abou Samra wrote: > > Le 07/01/2023 à 18:41, Nate Whetsell a écrit : >> Hi, >> >> I have a question about using a custom engraver to modify how grace notes >> appear when LilyPond’s new string bending is applied to them. This is the >> first custom engraver I’ve attempted to write, so I think I’ve overlooked >> something rather basic. The repository for the engraver is at >> https://github.com/nwhetsell/lilypond-bending-additions, and the current >> engraver is at >> >> https://github.com/nwhetsell/lilypond-bending-additions/blob/0bbfdaa9a76bef10c4b23cc97b1edede8fde2f2a/bending-additions.ily >> >> Conceptually, I’m trying to do three things: >> >> 1. If a string bend starts on a grace note, don’t reduce the size of the >> fret number in a TabStaff. >> >> 2. If, in addition, the bent grace note is a pre-bend, put the notehead in >> parentheses, and don’t draw ledger lines, flags, or stems. >> >> 3. If a string bend ends on a grace note, don’t draw the notehead, ledger >> lines, accidentals, flags, or stems (don’t draw anything, basically). > > > I'm ignorant about guitar techniques, but is this note really a grace note? > Wouldn't you be better off getting rid of graces, and creating a grob like > TrillPitchHead from your engraver? > > Assuming that grace notes are what you want in the first place ... > >> Bearing in mind that there’s a lot about writing engravers that I don’t know, > > > Maybe it will help to read > https://extending-lilypond.readthedocs.io/en/latest/translation.html#writing-an-engraver > > <https://extending-lilypond.readthedocs.io/en/latest/translation.html#writing-an-engraver> > > >> where I think I’m having difficulty is determining whether a note is a grace >> note. In short, I’m getting a notehead grob using an acknowledger and then >> checking the value of its ly:moment-grace >> <https://lilypond.org/doc/v2.24/Documentation/internals/scheme-functions#index-ly_003amoment_002dgrace >> >> <https://lilypond.org/doc/v2.24/Documentation/internals/scheme-functions#index-ly_003amoment_002dgrace>> >> in the engraver’s stop-translation-timestep method. However, this doesn’t >> work directly. In stop-translation-timestep, the moment of a notehead >> created in that timestep appears to always be null. > > > Yes, it's not set up yet. Basically, grob::when is meant to be used in the > backend (grob callbacks). During translation (in engravers), there is no > need. By definition, all note heads that arrive in the same time step are > grace notes iff that time step is a grace time step, and you can get the > moment of the current time step in the engravers using > > (ly:context-current-moment context) > > HTH
RE: Bend
Not perfect but \lheel works.HTH,PaulSent from my Galaxy Original message From: gehent...@gmail.com Date: 4/20/24 1:39 PM (GMT-07:00) To: lilypond-user@gnu.org Subject: Bend Hello friends,I thought this was recently covered, but I haven't been able to findwhat I need.I'm looking for an articulation to add that will indicate a note issupposed to bend down, before bending back up again. Usually I see itlooking something like an upside-down fermata, without the dot. I cando this in Musescore easily, but I've never found a satisfactory bendlike this in Lilypond. I have a script for a scoop, and I know about\bendBefore, but not this one.Thanks!Brian
Re: Bend
I guess what you are looking for is the brassBend glyph (U+E5E3) in Am 20.04.2024 um 22:39 schrieb gehent...@gmail.com: Hello friends, I thought this was recently covered, but I haven't been able to find what I need. I'm looking for an articulation to add that will indicate a note is supposed to bend down, before bending back up again. Usually I see it looking something like an upside-down fermata, without the dot. I can do this in Musescore easily, but I've never found a satisfactory bend like this in Lilypond. I have a script for a scoop, and I know about \bendBefore, but not this one. Thanks! Brian
Re: hang --going backwards in time; insane spring distance requested
On 27 Nov 2007, at 19:15, Damian Legassick wrote: i can't immediately see how you'd play 3599/11748 but i'd be surprised if the math that got you there was so hard. The question is where the metric accents are. There are three different possibilities already for 9 = 4+2+3. I think the beaming used on this one used by Bartok might be wrong, if it is the common Romanian meter he implies. recently i've taken to defining such time signatures by what they're missing. eg 9/8 - 1/20 rather than 43/40. either way is really an aide-memoir and can't be 'read' as such, but in the example i'm thinking of 9/8 -1/20 is less stressful. The Bulgarian Eleno Mome can be written in say 13 = 4+4+2+3, order to indicate a time bending on the last beat. In reality, though, one may play something like 4+4+2+3.5. I think it is perhaps better to write it in 7 = 2+2+1+2, and indicate the time bending with other means than a complicated time signature. Sometimes it can be difficult to assign a meter notation at all. http://en.wikipedia.org/wiki/Bulgarian_dances http://en.wikipedia.org/wiki/Leventikos Hans Aberg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Text on slurs (faking bends etc)
deletia/ Hi Marc, I'm will try to extend your work on bend.ly to include a few new cases. I'm in the process of laying out some material by The Hellecasters and as you can imagine I'm encountering many instances which require rather exotic representations of bending techniques; double-stops, behind-the-nut bends, bending harmonics, etc. 1. I want to make sure that I'm working with the latest-and-greatest copy of bend.ly. 2. This will be my first crack at a Lilypond/Scheme hack, although I would describe myself as an old-school veteran software developer. I'm gladly accepting reading tips and recommendations -- anything which might help streamline/accelerate/flatten the Lilypond learning curve. 3. Of course the goal here is to a) build what I need to finish my own work and b) have something worth offering back our community. If this conversation is better off of the mailing list, please drop me a line at p-e-t-e.farmer -at--- gmail (after you strip all the dashes... and add '.com') -- View this message in context: http://old.nabble.com/Text-on-slurs-%28faking-bends-etc%29-tp31108179p33906023.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: Text on slurs (faking bends etc)
Hello Pete, Am 25.05.2012 07:53, schrieb Pete Farmer: deletia/ Hi Marc, I'm will try to extend your work on bend.ly to include a few new cases. I'm in the process of laying out some material by The Hellecasters and as you can imagine I'm encountering many instances which require rather exotic representations of bending techniques; double-stops, behind-the-nut bends, bending harmonics, etc. 1. I want to make sure that I'm working with the latest-and-greatest copy of bend.ly. I see that Federico posted a link to the most recent version. 2. This will be my first crack at a Lilypond/Scheme hack, although I would describe myself as an old-school veteran software developer. I'm gladly accepting reading tips and recommendations -- anything which might help streamline/accelerate/flatten the Lilypond learning curve. 3. Of course the goal here is to a) build what I need to finish my own work and b) have something worth offering back our community. If this conversation is better off of the mailing list, please drop me a line at p-e-t-e.farmer -at--- gmail (after you strip all the dashes... and add '.com') I think that the mailing list is a good place to discuss improvements! Thanks for joining in, Regards Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: call for italian users: translation of feathered beams and other terms
Hi Federico and Davide, In English we use the Italian work portamento when singers or players want to scoop between notes. Aren't doit and fall forms of portamento without a define start/end note? Doit (pron do-it) is a portamento up to the notated pitch, Fall is a portamento down from the notated pitch (hence falling off the note. HTH Cheers, Ian On 10/04/13 21:47, Federico Bruni wrote: 2013/4/10 Davide Liessi dal...@gmail.com mailto:dal...@gmail.com direct I can't understand this glossary entry, since there isn't enough context. I don't think it is specifically a musical term, and I couldn't find occurrences of direct in NR with a different meaning from the usual, literal, common one. Why is direct in the glossary? Why is it related to custos? no idea, I'll leave it untranslated doit fall Don't know an Italian term for these; maybe you could translate them like they did in German: glissando indeterminato verso l'alto/il basso or ... verso l'acuto/il grave. I think that it refers to bending. We don't have a term in italian. Maybe: piegatura della nota verso l'alto/basso (bending) ___ 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: Strange problem with guitar bends
2014-07-31 12:49 GMT+02:00 Federico Bruni fedel...@gmail.com: 2014-07-31 9:56 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: The \hideNotes and \unHideNotes is to achieve the work-around for mixing bending strings with hammer-on and pull-offs (which are engraved using normal slurs). This is just an excerpt of what I was trying to engrave... and I think it is minimal, in the sense that if you remove any one part of it then Lilypond runs fine and produces what I expected. Ok, then I would write the last lines this way (this avoids the error, by the way): \bendOff \shape #'((-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 1)) Voice.Slur \shape #'((-0.3 . 0) (-0.3 . 0) (-0.3 . 0) (-0.5 . 0.5)) TabVoice.Slur \hideNotes \grace a( \unHideNotes g ) Adjust the values of \shape And this is a full example of the workaround. I might add it to the README on Github: \version 2.18.0 \include notation-snippets/guitar-string-bending/definitions.ily music = \relative c' { \set TabStaff.minimumFret = 4 \set TabStaff.restrainOpenStrings = ##t \bendOn fis8( g)( fis) \bendOff \shape #'((-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 1)) Voice.Slur \shape #'((-0.5 . 0) (-0.5 . 0) (-0.5 . 0) (-0.5 . 0.3)) TabVoice.Slur \hideNotes \grace fis( \unHideNotes e) } \score { \new StaffGroup \new Staff { \new Voice { \clef treble_8 \music } } \new TabStaff { \new TabVoice { \clef moderntab \music } } \layout { indent = #0 \context { \StaffGroup \override StaffGrouper.staff-staff-spacing.padding = #3 } } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar bend at end of bar with linebreak [was: Strange problem with guitar bends]
Oh, that was tricky to find because there is no explicit line break. It's a known problem, mentioned in the Readme on github: Line breaks are not supported. If a bending is broken by a line break, the file won't compile: the workaround is using \noBreak Il 03/ago/2014 20:01 Martyn Quick martyn_qu...@yahoo.co.uk ha scritto: I've finally worked out what is causing the problem with the guitar bends. It is when the engraver is trying to implement a linebreak and bending up from one note to the other at the end of the bar. The following code gives a simple example of it going wrong. Any ideas how to fix this? - I guess manually inserting a \break the bar beforehand should at least avoid it! Martyn \version 2.18.2 \include definitions.ily \layout { \context { \Staff \override VerticalAxisGroup #'default-staff-staff-spacing = #'((padding . 4)) } } music = { \relative a' { \bendOn c4 c c c ( | d ) d d d ( | e ) e e e ( | f ) f f f ( | g ) g g g ( | a ) a a a ( | b ) b b b ( | c ) c c c ( | d ) d d d ( | e ) e e e | } } \score { \new Staff { \clef treble_8 \numericTimeSignature \time 4/4 \music } \new TabStaff { \music } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
strange phenomenon from guitar bends snippet
I'm trying to write out Alvin Lee's (phenomenal) guitar solo from his Woodstock performance of I'm going home with 10 Years After, and for the bends got the guitar-string-bending notation-snippet http://3.hidemyass.com/ip-1/encoded/czovL2dpdGh1Yi5jb20vb3BlbmxpbHlsaWIvb3BlbmxpbHlsaWIvYmxvYi9tYXN0ZXIvbm90YXRpb24tc25pcHBldHMvZ3VpdGFyLXN0cmluZy1iZW5kaW5nL2RlZmluaXRpb25zLmlseQ%3D%3D However, after invocation of the snippet (see .ly file attached) I get two TAB 'phenomena' in the pdf output file (see .pdf file attached). Can anyone guide me on how to prevent/remove those? Thanks, Joe \version 2.19.15 %\include bend.ly %\include notation-snippets/guitar-string-bending/definitions.ily \include notation-snippets_guitar-string-bending_definitions.ily \header { title = I'm going home composer = Alvin Lee, 10 Years After } melody = \relative c'' { \clef treble \key c \major \time 4/4 \partial 4. a8 c8. d16 | \once \override Glissando #'minimum-length = #5 \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods \once \override Glissando #'extra-dy = #-0.5 \times 2/3 { dis8\glissando d( c) } d8. a16 d8. a16 c8. d16 | c4 a8. g16 \autoBeamOff a8 a8 \autoBeamOn \times 2/3 {c8 e fis} | a8. a16 c8. dis16 d8. c16 \times 2/3 {d8 c a} c4 a8. g16 a4 c4 | \times 4/6 {dis8[ c d c a c]} \times 4/6 {dis[ c d c a c]} dis c gis g e g \times 2/3 {bis8\glissando b c} g2( a) a, \glissando b a~ a b d4( e\2) a( g) \bendOn a( g) \bendOff } \score { \melody %\new Staff % \layout { } % \midi { } } i_m_going_home.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar bend error
2016-04-24 17:13 GMT+02:00 Stephen MacNeil <classicalja...@gmail.com>: > Add a line break before bar 25 > > r4 r8 e' g2 | \break % gradual bend on g2 towards a | > > % BAR 25 > > \bendGrace g8( a2) g2( | % gradual bend on g2 towards a | > > \bendGrace g8 a4 g8) e g2( | % gradual bend on g2 towards a | > > > > HTH > Stephen > > It was written by Marc Hohl I just adapted it to have no tab since I don't > use tab > > > see > > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending > > Line breaks over bending notes are not supported and they are currently > disabled, because otherwise the file would not compile as soon as page > formatting decisions create such a situation. Manual inserting \noBreak or \break will probably not enough, without \layout { \autoLineBreaksOff } Opposed to what is claimed in the quote from openlilylib above, disabling line-breaks do not work sufficiently. See the out put from: \include "definitions.ily" \displayLilyMusic \relative c'' { \bendOn c1( d) c1( d) } It returns in terminal: { { \override Voice.Slur.stencil = #slur::draw-pointed-slur \override TabVoice.Slur.stencil = #slur::draw-bend-arrow c''1( \noBreak } d''1) c''1( d''1) } The overrides last until the end, but the \noBreak occurs only once!! Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar Tab / Bends
If you're into guitar stuff, there's something else you might be interested in cleaning up and getting working ... I wrote a capo feature, but it sort of fell by the wayside. If you're using chord notation, it puts "Capo G" or whatever at the start of the piece, and transposes the chord and puts it in brackets after the main chord. I think I can find it and pass it over to you - I'm sure I've got the patch files, and the feature branch is, I think, still there but moribund - if you search for "guitar capo" on the list, you might find it. As I remember it really just needs cleaning up - unfortunately my scheme-fu wasn't up to it. Cheers, Wol On 12/03/2021 02:56, David Stocker wrote: I will look into this and read back up on the contributing docs. It's been a while, but since I do software every day now, I hope learning will be quicker! (probably not ) On 3/11/2021 5:50 PM, Federico Bruni wrote: This is a great news! Yes, the development is still active. I guess you'd better subscribe to lilypond-devel for questions about development. Can I suggest something to work on? :-) You may remember that Marc Hohl bend.ly file had bending notation for both Staff and TabStaff. Harm's implementation is more powerful.. see this commit: https://gitlab.com/lilypond/lilypond/-/commit/376a8c362fea5b754ff383dd62f2664f8dea13bb but it lacks the bending notation on Staff.
Re: flats and double flats on a RhythmicStaff
On Sun, 22 Sep 2002 02:23:52 Rune Zedeler wrote: David Raleigh Arnold wrote: How do I get a flat on a rhythmic staff? \translator { \RhythmicStaffContext \consists Accidental_engraver } -Rune Worked perfectly. Thanks! It's a precise way of indicating bending, and by using lilypond syntax to type in the notes, there are fewer mistakes than typing in hole number and blow or draw. Not to mention midi. See the filter's test on the 4 c's, which is all there is so far. The point is, how would you like typing that out? :-) \time 4/4 c,4 c, cff,4 cff, c4 c cff4 cff c'4 c' cff'4 cff' c''4 c'' cff''4 cff'' \time 4/4 c,4^1^ c,^1^ cff,4^1^ cff,^1^ c4^4^ c^4^ cff4^4^ cff^4^ c'4^7^ c'^7^ cff'4^7^ cff'^7^ c''4^0^ c''^0^ cff''4^0^ cff''^0^ ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Quarter-tone notation with arrows
Kees van den Doel wrote: A given alteration results in one specific glyph. :-( Of course a -1/4 flat can be presented by numerous glyphs, anything you like, really, but you'll have to decide which one is the default and if you want another symbol at some point in the score (I can't imagine why you would want that) you'll have to override the glyph. Well, why I _want_ it is for much the same reason as why, if you want the note that is one semitone in-between C and D, sometimes you want it to be a C sharp and sometimes a D flat... :-) Another reason could be that if your quarter-tones are _approximate_ rather than precise, it can be helpful to know which of the 12 standard notes you are bending. Graham Breed wrote me a nice note suggesting defining some kind of override or tweak to redefine the symbol on the fly, but considering it I think I'll probably go with 'cheaty' definitions of pitch alterations, like +/- 101/400 (or 1001/4000 or whatever seems most appropriate:-) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Quarter-tone notation with arrows
Joseph Wakeling wrote: Another reason could be that if your quarter-tones are _approximate_ rather than precise, it can be helpful to know which of the 12 standard notes you are bending. If there's some intuitive reason for choosing different logical equivalents, perhaps that should be reflected in different pitch alterations anyway. Graham Breed wrote me a nice note suggesting defining some kind of override or tweak to redefine the symbol on the fly, but considering it I think I'll probably go with 'cheaty' definitions of pitch alterations, like +/- 101/400 (or 1001/4000 or whatever seems most appropriate:-) Yes, sorry that went privately. I forgot the shift-ctrl to reply. The idea is you can only have one set of quartertone symbols at a time, but you can use a \tweak or \override to switch between sets. I have proof of concept examples for pure/mixed Sagittal. The cheating looks fine until you want to do transpositions. Transposing C up-a-quartertone up by the same quartertone won't give C sharp, for example. If you think it should that's an indication you're treating quartertones equally, of course. Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Harmonica tablature notation
On Mon, Oct 26, 2009 at 4:12 PM, Robin Bannister r...@dataway.ch wrote: #(define* (draw hole #:optional (bends 0)) (markup (make-line-markup (make-list bends #:flat )) #:circle hole)) The make-list result is not itself a markup; for that, it must be passed to something like #:line. And then the restriction at the end of NR 6.4.1 applies. http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Markup-construction-in-Scheme When I try that (with something like (draw 4 1)), I still get: error: make-line-markup: Invalid argument in position 1. Expect: list of markups, found: (#:flat) I guess I could just hard-code the different degrees of bending, but it seems like there should be a way to do this. -- Bradford ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: NR 3
Graham Percival wrote Friday, July 18, 2008 1:28 AM On Thu, 17 Jul 2008 11:10:11 +0100 Trevor Daniels [EMAIL PROTECTED] wrote: Graham Percival wrote Thursday, July 17, 2008 9:37 AM I think 3.5.7 is unnecessary. Just add , in any MIDI player which supports pitch bending to the item in 3.5.2. I included this because the only mention of microtones in NR 1/NR 2 (AFAICS) is rather buried in Note names in other languages, with no heading to @ref to. They're covered in Accidentals. If the current material in there isn't sufficient, we could add more...? Anyway, @ref to Accidentals. OK, found it. I'll @ref to there and mention quarter tones, which is the index entry I missed. (As an aside, it's a pity we can't ref to index entries.) I'm not certain if we need a separate subsubsection for instrument names. Why not merge that with 3.5.3? Agreed it is too short to remain on its own, but it doesn't really belong in a section about \midi. Maybe merging it into 3.5.1 would be better? No objection here. Done Cheers, - Graham Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: creating a centred column of markups
left-aligning with a certain distance from the left border seems simple: \version 2.11.64 \markup { \hspace #35 \column { \fontsize #2 \override #'(font-family . medium) { When You Are Old and Grey } \left-align When you are old and grey and full of sleep, And nodding by the fire, take down this book, And slowly read, and dream of the soft look Your eyes had once, and of their shadows deep. How many loved your moments of glad grace And loved your beauty with love false or true, But one man loved the pilgrim soul in you, And loved the sorrows of your changing face. And bending down beside the glowing bars, Murmur, a little sadly, how Love fled And paced upon the mountain overhead And hid his face amid a crowd of stars. \hspace #20 — William Butler Yeats (1893) } } but now i'm suspicious you to want it really and automatically centered, isn't it?! Eluze note that you need an explicit blank for an empty line! -- View this message in context: http://www.nabble.com/creating-a-centred-column-of-markups-tp20702311p20703474.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi for orchestral scores
Shevek wrote: As I see it, the primary issue here from a user's perspective is that lilypond presents us with a choice between playback limited to 16 channels and going all the way to the other extreme and learning to use complicated sequencer software just to get all the instruments to sound. ... This reminds me to another 'old' idea: A new XML syntax file format which eleminates the most important restrictions of todays midi file: - unlimited number of voices (much more than 16) - unlimited number of instrument patches (more than 256) - microtonality without pitch bending (semitone pitch number as rational number) - true slur (active pitch1 becomes pitch2 instead of release key for pitch1 and press key for pitch2) - stereo (or more chanels) output definitions per voice I know, this would also require some programmers to implement such an 'extension' on the sequencers, e.g. timidity. So, I would say, this can only be a far goal for the future. -- View this message in context: http://old.nabble.com/midi-for-orchestral-scores-tp34083696p34090646.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: Note names in Midi Note Numbers?
2012/2/28 Jonghyun Kim agitato...@gmail.com: In both midi sequencers(muse2 and rosegarden), can I calculate the pitch and the other one? Ie: 48 + 50 = 98 It means: c + d = ?(i dont konw exactly..) I wanna calculate by half step also quartertones. Ie: 48.5 + 50 = 98.25 It means: c semi-sharp + d = ? Could you understand me? I don't think either Muse or Rosegarden can calculate pitches that way, although they do both support MIDI pitch bending to acquire microtones using continuous controller values. You might also be interested in Glasgow pitchtracker, which was recently integrated into Rosegarden: http://www.n-ism.org/Projects/microtonalism.php But I suggest you ask your question directly to the Rosegarden mailing lists rather than here. -- Brett W. McCoy -- http://www.brettwmccoy.com In the rhythm of music a secret is hidden; If I were to divulge it, it would overturn the world. -- Jelaleddin Rumi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond vs Score
On 2010-02-01, Jonathan Wilkes wrote: I'm also curious to hear from anyone who has had experience using Score, and comparing to Lilypond output. There are some wacky examples of Score output at: http://www.scoremus.com/ (especially that deer standing on the staff! There needs to be an Animal_engraver in lilypond!) After seeing that output, I'm curious: has anybody played around in Lilypond with making the staff curve around (like forming a circle, or just bending down the page or something)? I'd like to be able to do that. I've contemplated the possibility, and Jan apparently has too: http://lists.gnu.org/archive/html/lilypond-devel/2009-09/msg00505.html It would be quite awesome if LilyPond could do this. Here's another example: http://en.wikipedia.org/wiki/File:CordierColor.jpg We should probably add a feature request to the tracker. Thanks, Patrick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with LilyJAZZ.ily
2013/12/2 David Kastrup d...@gnu.org Wouldn't it make sense to integrate the bend stuff into LilyPond? That would make it easier to match versions and behavior. I think that it would be great. I've never used it much because of version conflicts and because I hoped that 1196 would have been solved sooner or later. Now since the work on 1196 seems stalling, integrating the bend stuff in lilypond sounds sensible to me. I'll have the chance to test it in real music examples in the coming weeks. Should I split issue 1196? I may create a new issue to integrate this stuff and rename 1196 as add an engraver for bending. Because AFAIK the bend stuff is experimental and it would work better if a specific engraver was created. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with LilyJAZZ.ily
2013/12/2 Federico Bruni fedel...@gmail.com 2013/12/2 David Kastrup d...@gnu.org Wouldn't it make sense to integrate the bend stuff into LilyPond? That would make it easier to match versions and behavior. I think that it would be great. I've never used it much because of version conflicts and because I hoped that 1196 would have been solved sooner or later. Now since the work on 1196 seems stalling, integrating the bend stuff in lilypond sounds sensible to me. I'll have the chance to test it in real music examples in the coming weeks. Should I split issue 1196? I may create a new issue to integrate this stuff and rename 1196 as add an engraver for bending. Because AFAIK the bend stuff is experimental and it would work better if a specific engraver was created. I've just added issue 3700: https://code.google.com/p/lilypond/issues/detail?id=3700 and updated 1196. Hope it's ok ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Guitar bend at end of bar with linebreak [was: Strange problem with guitar bends]
I've finally worked out what is causing the problem with the guitar bends. It is when the engraver is trying to implement a linebreak and bending up from one note to the other at the end of the bar. The following code gives a simple example of it going wrong. Any ideas how to fix this? - I guess manually inserting a \break the bar beforehand should at least avoid it! Martyn \version 2.18.2 \include definitions.ily \layout { \context { \Staff \override VerticalAxisGroup #'default-staff-staff-spacing = #'((padding . 4)) } } music = { \relative a' { \bendOn c4 c c c ( | d ) d d d ( | e ) e e e ( | f ) f f f ( | g ) g g g ( | a ) a a a ( | b ) b b b ( | c ) c c c ( | d ) d d d ( | e ) e e e | } } \score { \new Staff { \clef treble_8 \numericTimeSignature \time 4/4 \music } \new TabStaff { \music } }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: strange phenomenon from guitar bends snippet
2014-12-29 16:24 GMT+01:00 Federico Bruni fedel...@gmail.com: I think that it happens because it assumes that you want to use a TabStaff context. Also, Marc Hohl recommended me (in a private email) to use voice contexts or you may have some problems. I'll add it to the README on github. Finally, there are issues when a bend occurs at a line break. Very annoying because it happens all of a sudden as the page formatting changes. Harm sent me a modified version of the \bendOn function, which seems to work fine on my files. I intended to test it more but I think that I'd better push it to github so others (including you) can test and report any problem. I'll do it tonight. done: https://github.com/openlilylib/openlilylib/tree/267ea8df747289d8acd8418961156dd7de65aaa8/notation-snippets/guitar-string-bending Joe, please test the (slightly) new definition.ily file. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: bending: microtone TabNoteHeaded printed if in a chord
Thanks Harm :) just a note on your comment >>It's not hard to get and use a devel-version ;) >>I can't recommend to grab the code and patch v2.18.2 with it... Well it depends on your operating system! I would say that for me it is extremely hard. I compile my box from source using LFS as a base, and have so for many years. So what may seem easy to one is not for me, when you take into account all of the dependencies.. and dependencies of dependencies. etc. My computers usually take about 2 weeks or so to install everything needed. I would be better just to start a new install... and I may do shortly when I have 2 weeks or so free. But until then. 2.18.2 it is, I suppose I could see if the .sh file works. But in reality it doesn't bother me that much. The only bend requirements I need are for students, and as I said I never use tab so most of it already works, and if not I have always found a workaround. Cheers Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: openLilyLib
Il giorno mar 8 nov 2016 alle 9:50, Urs Liska <u...@openlilylib.org> ha scritto: So the first thing I would really like to see (and this is actually independent from GSoC) is getting more people involved in openLilyLib, and also that people from the one-digit commit count aspire to get to a two-digit count and those in the lower two-digit range try to somewhat narrow the gap to the top three contributors ;-) I see there are many open branches, and it would be good to work on reducing that by either dropping or merging work. I used and "contributed" to OLL only to keep track of the changes contributed by Harm to the old bend.ly. Now that Harm is working on a new bending engraver the whole tablature library¹ is going to be obsolete soon. So I guess that you won't see other commits from me. That said, I wish the best to openLilyLib. For me it remains the best place for creating and maintaining LilyPond snippets for the community. ¹ https://github.com/openlilylib/snippets/tree/master/ly/tablature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BendSpanner-engraver
Il giorno mar 1 nov 2016 alle 16:02, Thomas Morley <thomasmorle...@gmail.com> ha scritto: Federico, in a private mail you asked about Ties in interplay with bends. General excluding tied notes from being bend is possible but not a good idea (see some of the examples in bend-issues-02-excerpt.ly) These examples are different. In your example there's an already bent note which is then tied and this is made explicitly using \bendHold. In my example there's a pitch in a chord tied to the same pitch in the next chord. There's no intention to bend these notes, but they are bent because they are in a chord where there's a bending note. I think that excluding tied notes would be a good default. Just a user point of view, no idea about the complexity of implementation. Instead you could use (1) \tweak bend-me ##f which would need to be applied to both bounding NoteHeads of the Tie. (2) \override Tie.bend-me = ##f which is newly implemented Great, thank you ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Slurs inside a beam
While we’re on the topic of bending slurs to our will, I’d like for slurred, beamed eighth notes to have the slur printed below or inside the beam. This works with a simple ^~ for ties. How might I accomplish this? \version "2.19" \language "english" \new Staff \with { beamExceptions = #'() } << { e'8 ~ e'8 % Tie bends down e'8 ^~ e'8 % Tie bends up *below* or *inside* the beam e'8 ( a'8) % Bends down e'8 ^( a'8 ) % Bends up *above* or *outside* the beam \tuplet 3/2 { b'8 ( a'8 ) f'8 } % Bends down \tuplet 3/2 { b'8 ^( a'8 ) f'8 } % Bends up *above* or *outside* the beam }>> The behavior I am after can also be seen here: https://hymnary.org/hymn/SS4C1956/page/561 Thanks! David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurs inside a beam
Hi David, One way to do it: \version "2.19" { 8. 16 } >From the Changes page: A new command \=X has been added – where ‘X’ can be any non-negative integer or symbol – so that a specific ‘id’ can be assigned to the start and end of slurs and phrasing slurs. This is useful when simultaneous slurs are required or if one slur overlaps another or when nesting short slurs within a longer one. Andrew On Sun, 12 Aug 2018 at 06:31, David F. wrote: > While we’re on the topic of bending slurs to our will, I’d like for > slurred, beamed eighth notes to have the slur printed below or inside the > beam. This works with a simple ^~ for ties. How might I accomplish this? > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar string bends
On 2019-09-03 6:36 am, Randy Josleyn wrote: (Sorry for the duplicate, I didn't know how I replied created issues for others.) When replying to an email, clients are expected to insert the "In-Reply-To" header. This entry makes it possible for other clients to keep track of threads of discussion even when the subject line might change. So while you wanted to begin a new conversation, replying to an email rather than composing a new one unintentionally associated it with the existing thread. You can review the mailing list archive [1] to better see the effect this has. Note that "Guitar string bending" is nested underneath "Glyph sample sheet" whereas "Guitar string bends" stands alone as its own thread. [1]: https://lists.gnu.org/archive/html/lilypond-user/2019-09/threads.html I hope this helps to clear up any confusion. -- Aaron Hill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
bend before, increase disctance to accidental
Dear community, I found a working code for a bend-before command. I would like to know, how I could increase the distance between the bending-sign and the accidental. Thanks for your help. Stefan %% SNIPPPET % #(define (scp-stencil grob) (ly:stencil-combine-at-edge (ly:note-head::print grob) 0 -1 (grob-interpret-markup grob #{ \markup \with-dimensions-from \null \path #0.2 #'((moveto -2 -1.8)(curveto -1.2 -1.8 -.5 -1.28 -.3 -.3)) #} ) 0 )) scp = \once \override NoteHead.stencil = #scp-stencil { \clef F \key g\major bes4 \scp a g fis \repeat unfold 4 { r8 \scp gis' } \repeat unfold 3 { \scp g'!4 } \scp g' fis'! } %%% END %% (copied from https://lists.gnu.org/archive/html/lilypond-user/2020-06/msg0.html )
Custom engraver to modify bent grace notes
Hi, I have a question about using a custom engraver to modify how grace notes appear when LilyPond’s new string bending is applied to them. This is the first custom engraver I’ve attempted to write, so I think I’ve overlooked something rather basic. The repository for the engraver is at https://github.com/nwhetsell/lilypond-bending-additions, and the current engraver is at https://github.com/nwhetsell/lilypond-bending-additions/blob/0bbfdaa9a76bef10c4b23cc97b1edede8fde2f2a/bending-additions.ily Conceptually, I’m trying to do three things: 1. If a string bend starts on a grace note, don’t reduce the size of the fret number in a TabStaff. 2. If, in addition, the bent grace note is a pre-bend, put the notehead in parentheses, and don’t draw ledger lines, flags, or stems. 3. If a string bend ends on a grace note, don’t draw the notehead, ledger lines, accidentals, flags, or stems (don’t draw anything, basically). Bearing in mind that there’s a lot about writing engravers that I don’t know, where I think I’m having difficulty is determining whether a note is a grace note. In short, I’m getting a notehead grob using an acknowledger and then checking the value of its ly:moment-grace <https://lilypond.org/doc/v2.24/Documentation/internals/scheme-functions#index-ly_003amoment_002dgrace> in the engraver’s stop-translation-timestep method. However, this doesn’t work directly. In stop-translation-timestep, the moment of a notehead created in that timestep appears to always be null. As workaround, I’m saving the notehead and then getting its moment in the next call to stop-translation-timestep, at which point the notehead’s moment is no longer null. The issue here is that there are some properties that appear to only have an effect when they’re applied to a notehead in the same timestep in which it’s created. For example, setting no-ledgers to #t has no affect when applied to noteheads from a previous timestep. There’s some simplified code that attempts to illustrate this below. Is there another way for a custom engraver to determine whether a note is a grace note? Thanks in advance! Nate \version "2.24.0" #(define (Grace_reporting_engraver context) (let ( (current-note-head '()) (previous-note-head '())) (make-engraver (acknowledgers ((note-head-interface engraver grob source-engraver) (set! current-note-head grob))) ((stop-translation-timestep engraver) (if (not (null? current-note-head)) (let ( (moment (grob::when current-note-head))) (if (not (null? moment)) (if (not (eq? (ly:moment-grace moment) 0)) (begin (newline)(display "==> current-note-head is for a grace note"))) (begin (newline)(display "==> current-note-head has null moment") (if (not (null? previous-note-head)) (let ( (moment (grob::when previous-note-head))) (if (not (null? moment)) (if (not (eq? (ly:moment-grace moment) 0)) (begin (newline)(display "==> previous-note-head is for a grace note"))) (begin (newline)(display "==> previous-note-head has null moment") (set! previous-note-head current-note-head) (set! current-note-head '()) { \new Voice \with { \consists #Grace_reporting_engraver } { \grace c' \grace d' \grace e' } } #(define (Current_note_ledger_hider context) (let ( (current-note-head '())) (make-engraver (acknowledgers ((note-head-interface engraver grob source-engraver) (set! current-note-head grob))) ((stop-translation-timestep engraver) (if (not (null? current-note-head)) (ly:grob-set-property! current-note-head 'no-ledgers #t)) { \new Voice \with { \consists #Current_note_ledger_hider } { \grace c''' \grace c''' } } #(define (Previous_note_ledger_hider context) (let ( (current-note-head '()) (previous-note-head '())) (make-engraver (acknowledgers ((note-head-interface engraver grob source-engraver) (set! current-note-head grob))) ((stop-translation-timestep engraver) (if (not (null? previous-note-head)) (ly:grob-set-property! previous-note-head 'no-ledgers #t)) (set! previous-note-head current-note-head) (set! current-note-head '()) { \new Voice \with { \consists #Previous_note_ledger_hider } { \grace c''' \grace c''' } }
Re: Bend
Hi Brian, if you know \bendBefore, you're probably referring to the semi-finished improved bendAfter/bendBefore pair that I reposted recently. This supports an arbitrary contour for the bend line by giving a list of tone relations. See the examples that come with it. I'll not be at my computer for the rest of the day (German time zone), but maybe this pointer is already helpful? Lukas schrieb am Sa., 20. Apr. 2024, 22:39: > Hello friends, > > I thought this was recently covered, but I haven't been able to find > what I need. > > I'm looking for an articulation to add that will indicate a note is > supposed to bend down, before bending back up again. Usually I see it > looking something like an upside-down fermata, without the dot. I can > do this in Musescore easily, but I've never found a satisfactory bend > like this in Lilypond. I have a script for a scoop, and I know about > \bendBefore, but not this one. > > Thanks! > > Brian > >
Re: Bend
I guess what you are looking for is the brassBend glyph defined in SMuFL compliant fonts like Bravura or Ekmelos <http://www.ekmelic-music.org/en/extra/ekmelos.htm> with codepoint U+E5E3. And it is one of the few musical symbols which is also defined in Unicode with codepoint U+1D189. \version "2.24.0" #(define-markup-command (brassBend layout props) () #:properties ((font-size 0)) (interpret-markup layout (cons `((font-name . "Ekmelos") (font-size . ,(+ font-size 5))) props) (ly:wide-char->utf-8 #xE5E3))) { c'' ^ \markup \brassBend } Thomas Am 20.04.2024 um 22:39 schrieb gehent...@gmail.com: Hello friends, I thought this was recently covered, but I haven't been able to find what I need. I'm looking for an articulation to add that will indicate a note is supposed to bend down, before bending back up again. Usually I see it looking something like an upside-down fermata, without the dot. I can do this in Musescore easily, but I've never found a satisfactory bend like this in Lilypond. I have a script for a scoop, and I know about \bendBefore, but not this one. Thanks! Brian
Re: Guitar bend error
2016-04-25 0:18 GMT+02:00 Federico Bruni <f...@inventati.org>: > On Sun, Apr 24, 2016 at 11:38:31PM +0200, Thomas Morley wrote: >> 2016-04-24 17:13 GMT+02:00 Stephen MacNeil <classicalja...@gmail.com>: >> > >> > It was written by Marc Hohl I just adapted it to have no tab since I don't >> > use tab >> > >> > >> > see >> > >> > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending >> > > > For the records, this is the new home: > https://github.com/openlilylib/snippets/tree/master/ly/tablature > > (the file is the same as in the old one, but future updates will be > pushed to the new location.. unless Urs wants to keep the old > in sync) > >> > Line breaks over bending notes are not supported and they are currently >> > disabled, because otherwise the file would not compile as soon as page >> > formatting decisions create such a situation. >> >> >> >> Manual inserting \noBreak or \break will probably not enough, without >> \layout { \autoLineBreaksOff } >> >> Opposed to what is claimed in the quote from openlilylib above, >> disabling line-breaks do not work sufficiently. > > I can add this to the README on github. Please do. But it's more a TODO: - How should this feature behave at line-break? - Until this is cleared disable line-breaks sufficiently. Thanks, Harm > >> See the out put from: >> \include "definitions.ily" >> >> \displayLilyMusic >> \relative c'' { >> \bendOn >> c1( d) >> c1( d) >> } >> >> It returns in terminal: >> >> { { \override Voice.Slur.stencil = #slur::draw-pointed-slur >> \override TabVoice.Slur.stencil = #slur::draw-bend-arrow >> c''1( \noBreak } d''1) c''1( d''1) } >> >> The overrides last until the end, but the \noBreak occurs only once!! >> > > True. Better to avoid these (likely) errors and use manual breaks. > Minimal example reworked in the new openlilylib style: > > \version "2.19.40" > \include "openlilylib" > > \useLibrary Tablature > % Workaround for issue #136 at > % https://github.com/openlilylib/snippets/issues/136 > #(display "") > \useModule tablature.bending > > % Hack needed until issue #136 is fixed: > % https://github.com/openlilylib/openlilylib/issues/136 > #(ly:message "loaded") > > > music = \relative c'' { > \displayLilyMusic > \bendOn > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > } > > \new StaffGroup << > \new Voice \music > \new TabVoice \music >>> > % comment this line and it won't compile > \layout { \autoLineBreaksOff } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar bend error
On Sun, Apr 24, 2016 at 11:38:31PM +0200, Thomas Morley wrote: > 2016-04-24 17:13 GMT+02:00 Stephen MacNeil <classicalja...@gmail.com>: > > > > It was written by Marc Hohl I just adapted it to have no tab since I don't > > use tab > > > > > > see > > > > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending > > For the records, this is the new home: https://github.com/openlilylib/snippets/tree/master/ly/tablature (the file is the same as in the old one, but future updates will be pushed to the new location.. unless Urs wants to keep the old in sync) > > Line breaks over bending notes are not supported and they are currently > > disabled, because otherwise the file would not compile as soon as page > > formatting decisions create such a situation. > > > > Manual inserting \noBreak or \break will probably not enough, without > \layout { \autoLineBreaksOff } > > Opposed to what is claimed in the quote from openlilylib above, > disabling line-breaks do not work sufficiently. I can add this to the README on github. > See the out put from: > \include "definitions.ily" > > \displayLilyMusic > \relative c'' { > \bendOn > c1( d) > c1( d) > } > > It returns in terminal: > > { { \override Voice.Slur.stencil = #slur::draw-pointed-slur > \override TabVoice.Slur.stencil = #slur::draw-bend-arrow > c''1( \noBreak } d''1) c''1( d''1) } > > The overrides last until the end, but the \noBreak occurs only once!! > True. Better to avoid these (likely) errors and use manual breaks. Minimal example reworked in the new openlilylib style: \version "2.19.40" \include "openlilylib" \useLibrary Tablature % Workaround for issue #136 at % https://github.com/openlilylib/snippets/issues/136 #(display "") \useModule tablature.bending % Hack needed until issue #136 is fixed: % https://github.com/openlilylib/openlilylib/issues/136 #(ly:message "loaded") music = \relative c'' { \displayLilyMusic \bendOn c1( d) c1( d) c1( d) c1( d) c1( d) c1( d) c1( d) c1( d) c1( d) c1( d) c1( d) c1( d) } \new StaffGroup << \new Voice \music \new TabVoice \music >> % comment this line and it won't compile \layout { \autoLineBreaksOff } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Intervals enharmony question
On 04/05/18 00:48, Kieren MacMillan wrote: > I didn’t get that far into trumpet playing — I switched to trombone as soon > as I could, because it better suited my embouchure — but I got far enough to > realize that I could do a *lot* of "tuning" with those limited valves and > slides. Based on that experience, I feel sure that if I got [a lot?] better, > I would be able to play in equal or just temperament, as desired. You sound like me :-) I started on the cornet and switched to trombone. ... But I'm looking at it as a physicist. HOW do you tune all those notes to equal temperament on an instrument that does not have sufficient adjustable nobs to do so? It can't be done. What you CAN do, what I'm sure you've done, and what I see happen all the time in my band, is that players can adjust - "bend" - the tone with their embouchure. And that bending can be massive - I've heard of a trombone teacher who suddenly realised the boy he was teaching could only reach fourth position, but was successfully playing a bottom B natural! (4th position is a D for non-trombonists.) The lad was bending the note three semitones! So I'm not saying you can't play equal temperament, or whatever you want. I'm just saying that you can't tune the instrument to it, you just have to "play it by ear" and "bend" the note. Which is why my comment/question basically boils down to "what *practical* difference does it make?". And the answer seems to be "None, in *most* cases". Which is why I'm getting a little het up because so many people seem to be coming across as "everyone should do it because it matters for my corner case". Sorry if that upsets people, but if a question is about a monotonic instrument, don't drag your chord-playing corner case into the discussion. (I was left with the strong feeling that this is exactly what happened with my post - everybody discussed their corner case and nobody actually bothered to read my question. And if I do that to other people, feel free to call me on it ... :-) Cheers, Wol ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar string bends
Am Di., 3. Sept. 2019 um 16:08 Uhr schrieb Federico Bruni : > > > > Il giorno mar 3 set 2019 alle 15:36, Randy Josleyn > ha scritto: > > Hi all, > > > > (Sorry for the duplicate, I didn't know how I replied created issues > > for others.) > > > > What's the state of Lilypond's support for notating bends in guitar > > music? I've read ["The Story of 'String Bending' in Lilypond"][1] on > > the Lilypond blog, and that seemed promising, but it seems work on > > the new bend engraver has stopped. > > > > As far as I know, there's only one person, Harm, who worked on this > stuff in the last few years. > I guess he will reply to this thread and let us know if there's any > progress to be expected in the future. > > > > I'm interested specifically in the angled lines that indicate bends > > in the regular staff, more or less like what is shown in the attached > > PDF (from [issue 1196][2] mentioned in the blog post). > > > > If it's not there yet, I can always use some other notation to > > indicate bending---after all, I'm only using Lilypond to do some > > transcriptions and lead sheets for myself---but it would be a good > > feature. To me, it's also probably the only significant shortcoming > > of Lilypond. > > > > > > Hoping for good news! If there's anything I can do to help, I'll do > > what I can, although my coding skills are kinda basic. > > > > The angled lines in the staff were present in the old implementation by > Marc Hohl. > IIRC Harm told me that porting that portion of Marc's code into his > implementation shouldn't be too difficult. Well, if you can code and > know Scheme. > > You may test your coding skills and try? ;-) Hi, yes, the bend-engraver still misses functionality for those "angled" lines in regular Voices. Though, currently I've not the time to work on it, sorry. Anyway, shouldn't be too hard to use Marc's older code and limit it to Voice, as Federico already said. If you (or someone else) give it a try, I may find some time somewhere to give some hints, but can't do more atm. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: More questions about using Lilypond for guitar music
I don't have benddefs.ily so I couldn't test this, but I think it would look like this: (you can of course remove the comments to make the number of lines fewer) %%% \version 2.18.0 \include benddefs.ily \score { \new Staff { \clef treble_8 \bendOn a'4 ( b' )( a' ) \bendOff \hideNotes \shape #'( (-0.5 . 0.0) % Starting point (x, y) (0.0 . 0.0) % Bend point, left (0.0 . 0.0) % Bend point, right (-0.5 . 0.0) % Ending point ) Slur \grace a' ( \unHideNotes g' ) | a' ( b' ) a'2 | } \new TabStaff { \set TabStaff.minimumFret = #8 \bendOn a'4 ( b' )( a' ) \bendOff \hideNotes \shape #'( (-0.5 . 0.0) % Starting point (x, y) (0.0 . 0.0) % Bend point, left (0.0 . 0.0) % Bend point, right (-0.5 . 0.0) % Ending point ) Slur \grace a' ( \unHideNotes g' ) | a' ( b' ) a'2 | } } %% Knute Snortum (via Gmail) On Wed, Jun 11, 2014 at 11:29 AM, Martyn Quick martyn_qu...@yahoo.co.uk wrote: *From:* Federico Bruni fedel...@gmail.com 2014-06-10 23:50 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: Thank you for the kind person who helped me out the last time I was trying to get to grips with Lilypond and guitar music. I suspect these two are more challenging. 1. Is it possible at all to combine bends with hammer-on / pull-offs at all? (e.g., a hammer-on immediately followed by a bend, or a bend-release followed immediately by a pull-off) From what I read, the answer is no - since the current implementation of bend hacks the slur, which is what is also used for hammer-on / pull-offs. (And if that is the case, is there any chance it will be addressed at some point?) The problem and the workaround are described in the current home of bend.ly: https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending You can't use hammer-on and pull-off when \bendOn is active, because this snippet uses and transforms the slur engraver. This implies that you cannot, for instance, start a pull-off right after a bend release. This is one of the reasons why a bend engraver is needed (see issue 1196 above). However, you can work around this problem by adding an hidden grace note where the pull-off should start; you may have to use the \shape command to adjust the slur shape. I presume that this means something like the following: \version 2.18.0 \include benddefs.ily \score { \new Staff { \clef treble_8 \bendOn a'4 ( b' )( a' ) \bendOff \hideNotes \grace a' ( \unHideNotes g' ) | a' ( b' ) a'2 | } \new TabStaff { \set TabStaff.minimumFret = #8 \bendOn a'4 ( b' )( a' ) \bendOff \hideNotes \grace a' ( \unHideNotes g' ) | a' ( b' ) a'2 | } } I don't know how to make the suggested adjustment to the slur shape with \shape. Martyn ___ 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: Strange problem with guitar bends
Thanks for the suggestion - I was actually aware of the use of \shape to adjust the slur, but hadn't implemented it since I thought it more sensible (perhaps naively) to get all the notes in place and then adjust the slurs at the end of the process. However, for me introducing this doesn't fix the problem. I still get the same error when I use the following code: \version 2.18.2 \include definitions.ily \language english \layout { \context { \Staff \override VerticalAxisGroup #'default-staff-staff-spacing = #'((padding . 4)) } } music = { \set restrainOpenStrings = ##t \set TabStaff.minimumFret = #12 \relative a' { r2 c16 ( \glissando b ) \bendOn \bendGrace g' ( a8 ) ( \bendGrace g ) ( a ) \bendGrace g ( a ) | \bendGrace g ( a4 ) \bendGrace \preBendHold g ( a16 ) ( g8 ) \bendGrace g ( \holdBend a16 ) ~ a8 ( g16 ) e d ( e ) g \bendGrace \preBendHold d ( e ) ( | d8 \bendOff \shape #'((0 . 0) (0.6 . 0.3) (1.2 . 0.3) (1.8 . 0)) Voice.Slur \shape #'((0 . 0) (0.7 . 0.3) (1.4 . 0.3) (2.1 . 0.3)) TabVoice.Slur c16 ( \hideNotes \grace d ) \unHideNotes \bendOn d ( e ) g \bendGrace \preBendHold d ( e ) ( d ) c4 \bendGrace \preBendHold a ( c16 ) ( a ) \bendOff \shape #'((0 . 0) (0.6 . 0.3) (1.2 . 0.3) (1.8 . 0)) Voice.Slur \shape #'((0 . 0) (0.7 . 0.3) (1.4 . 0.3) (2.1 . 0.3)) TabVoice.Slur g ( \hideNotes \grace a ) \unHideNotes \bendOn a ( | c8 ) } } \score { \new Staff { \clef treble_8 \key a \minor \numericTimeSignature \time 4/4 \tempo 4 = 58 \music } \new TabStaff { \clef moderntab \music } } From: Federico Bruni fedel...@gmail.com To: Martyn Quick martyn_qu...@yahoo.co.uk Cc: lilypond-user@gnu.org lilypond-user@gnu.org Sent: Thursday, 31 July 2014, 14:38 Subject: Re: Strange problem with guitar bends 2014-07-31 12:49 GMT+02:00 Federico Bruni fedel...@gmail.com: 2014-07-31 9:56 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: The \hideNotes and \unHideNotes is to achieve the work-around for mixing bending strings with hammer-on and pull-offs (which are engraved using normal slurs). This is just an excerpt of what I was trying to engrave... and I think it is minimal, in the sense that if you remove any one part of it then Lilypond runs fine and produces what I expected. Ok, then I would write the last lines this way (this avoids the error, by the way): \bendOff \shape #'((-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 1)) Voice.Slur \shape #'((-0.3 . 0) (-0.3 . 0) (-0.3 . 0) (-0.5 . 0.5)) TabVoice.Slur \hideNotes \grace a( \unHideNotes g ) Adjust the values of \shape And this is a full example of the workaround. I might add it to the README on Github: \version 2.18.0 \include notation-snippets/guitar-string-bending/definitions.ily music = \relative c' { \set TabStaff.minimumFret = 4 \set TabStaff.restrainOpenStrings = ##t \bendOn fis8( g)( fis) \bendOff \shape #'((-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 0.5) (-0.8 . 1)) Voice.Slur \shape #'((-0.5 . 0) (-0.5 . 0) (-0.5 . 0) (-0.5 . 0.3)) TabVoice.Slur \hideNotes \grace fis( \unHideNotes e) } \score { \new StaffGroup \new Staff { \new Voice { \clef treble_8 \music } } \new TabStaff { \new TabVoice { \clef moderntab \music } } \layout { indent = #0 \context { \StaffGroup \override StaffGrouper.staff-staff-spacing.padding = #3 } } }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar bend error
Thanks to everyone who responded! I appreciate it. I think I might have some followup questions - like, how come the graceBend slurs are always facing down in the output when it says “up” in the definitions file? - but I’ll see if I can get the openlilylib files to work first. Although I want this score to have a TabStaff, the main reason I was using Stephen MacNeil’s code library is because in general I need bend slurs without the TabStaff. Thanks for that, Stephen! -Devon. On Sun, Apr 24, 2016 at 3:18 PM Federico Bruni <f...@inventati.org> wrote: > On Sun, Apr 24, 2016 at 11:38:31PM +0200, Thomas Morley wrote: > > 2016-04-24 17:13 GMT+02:00 Stephen MacNeil <classicalja...@gmail.com>: > > > > > > It was written by Marc Hohl I just adapted it to have no tab since I > don't > > > use tab > > > > > > > > > see > > > > > > > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending > > > > > For the records, this is the new home: > https://github.com/openlilylib/snippets/tree/master/ly/tablature > > (the file is the same as in the old one, but future updates will be > pushed to the new location.. unless Urs wants to keep the old > in sync) > > > > Line breaks over bending notes are not supported and they are currently > > > disabled, because otherwise the file would not compile as soon as page > > > formatting decisions create such a situation. > > > > > > > > Manual inserting \noBreak or \break will probably not enough, without > > \layout { \autoLineBreaksOff } > > > > Opposed to what is claimed in the quote from openlilylib above, > > disabling line-breaks do not work sufficiently. > > I can add this to the README on github. > > > See the out put from: > > \include "definitions.ily" > > > > \displayLilyMusic > > \relative c'' { > > \bendOn > > c1( d) > > c1( d) > > } > > > > It returns in terminal: > > > > { { \override Voice.Slur.stencil = #slur::draw-pointed-slur > > \override TabVoice.Slur.stencil = #slur::draw-bend-arrow > > c''1( \noBreak } d''1) c''1( d''1) } > > > > The overrides last until the end, but the \noBreak occurs only once!! > > > > True. Better to avoid these (likely) errors and use manual breaks. > Minimal example reworked in the new openlilylib style: > > \version "2.19.40" > \include "openlilylib" > > \useLibrary Tablature > % Workaround for issue #136 at > % https://github.com/openlilylib/snippets/issues/136 > #(display "") > \useModule tablature.bending > > % Hack needed until issue #136 is fixed: > % https://github.com/openlilylib/openlilylib/issues/136 > #(ly:message "loaded") > > > music = \relative c'' { > \displayLilyMusic > \bendOn > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > c1( d) > } > > \new StaffGroup << > \new Voice \music > \new TabVoice \music > >> > % comment this line and it won't compile > \layout { \autoLineBreaksOff } > > ___ > 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: NoteHead
On Mon, 29 Dec 2003 20:30:19 +0100 Ferenc Wagner [EMAIL PROTECTED] wrote: once \property Voice.NoteColumn \set #'horizontal-shift = # Thank you very much! That was exactly what I had missed. You can see the resulting output here (small .png): http://d-axel.dk/images/Chop-28,1-b20.png and http://d-axel.dk/images/Chop-28,1.png but I also attach a copy on this mail, hoping it is not too big. As for a drawing of the problem I hope the solution makes it clear what the problem was. It is the third and fourth column where the notes were clashing or illegible, or, with a noteHead extra offset, where the stem was wrong and when moving the stem with extra offset the beams were wrong etc. etc. Now the resulting output is really professional, except maybe that I could diminish the space between the beams. I am sure there is a parameter for that, too. Chopin's manuscript has the same setting, that is, a middle voice with lesser beams, though not like grace/acciatura notes. He probably has seen Bach-engravings, where Bach himself has slurred or bending beams. As you probably know this is one of the most difficult things to do by hand (I was a music copier/orchestral parts-scribbler 20 years ago). You can see the complete typesetting of Chopins prelude in C, op. 28.1 here: /var/www/html/pub/download/Chop-28,1.pdf or, longer download /var/www/html/pub/download/Chop-28,1.ps (There are still some ligatures missing at the end, I have a solution). Once more: Thank you! Regards/Donald -- donald_j_axel(at)get2net.dk -- http://d-axel.dk/ attachment: Chop-28,1-b20.png___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Quarter-tone notation with arrows
- Original Message - From: Joseph Wakeling joseph.wakel...@webdrake.net Date: Sunday, April 5, 2009 2:41 pm Subject: Re: Quarter-tone notation with arrows To: Kees van den Doel kvand...@shaw.ca Cc: lilypond-user@gnu.org Kees van den Doel wrote: A given alteration results in one specific glyph. :-( Of course a -1/4 flat can be presented by numerous glyphs, anything you like, really, but you'll have to decide which one is the default and if you want another symbol at some point in the score (I can't imagine why you would want that) you'll have to override the glyph. Well, why I _want_ it is for much the same reason as why, if you want the note that is one semitone in-between C and D, sometimes you want it to be a C sharp and sometimes a D flat... :-) Another reason could be that if your quarter-tones are _approximate_ rather than precise, it can be helpful to know which of the 12 standardnotes you are bending. Unfortunately Western notation doesn't work like that. Accidentals (microtonal or not) operate on the 7 diatonic pitches, not on 12 semitones. I think you think the arrow somehow alters already altered notes (like Bb), but the alteration operates on the diatonic notes, so there can be no difference between natural-quarterflat and flat-quartersharp, but C# and Db are distinct. Graham Breed wrote me a nice note suggesting defining some kind of override or tweak to redefine the symbol on the fly, but considering it I think I'll probably go with 'cheaty' definitions of pitch alterations,like +/- 101/400 (or 1001/4000 or whatever seems most appropriate:-) I think that works so well and easy that there is no reason to have anything better :-) Kees ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new website, nothing happening
Federico Bruni schrieb: Graham Percival wrote: I'll be honest: I'm a bit disappointed that nobody has stepped forward with a I love lilypond, I love making fancy stuff, I'll make an awesome tablature/educational/orchestra example attitude. (at least, nobody since Jonathan made the Goyescas example) So at this point, I'm resorting to begging *somebody* to do *something*, just to put a checkmark beside the box. Ok, this is a very simple blues phrasing (so nothing that can be copyrighted, I hope.. I mean, this sort of licks is in the commons, hopefully). I've tried to put as much effects as possible: slide, hammeron, pulloff, acciacatura, arpeggio, harmonics,.. Anyone can improve it, of course. (I would have loved a bending in the first notes of the second bar, but this is not possible right now.. maybe Marc and his blackmagic powers can do it..) As bend support is still *very* experimental, I would not recommend to include it now. Attached .ly and .png I guess David promised something better for a tablature example, but if it's not ready we can use this basic thing in the meanwhile. What do you think? Please include in the definition of \hideFretNumber the following line: \once \override NoteHead #'no-ledgers = ##t otherwise you'll see the ledger line of your hidden note. Marc Cheers, ___ 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: GDP: NR 3
Thanks for the quick response! Graham Percival wrote Thursday, July 17, 2008 9:37 AM On Thu, 17 Jul 2008 09:17:31 +0100 Trevor Daniels [EMAIL PROTECTED] wrote: NR 3.5 MIDI output I think 3.5.7 is unnecessary. Just add , in any MIDI player which supports pitch bending to the item in 3.5.2. I included this because the only mention of microtones in NR 1/NR 2 (AFAICS) is rather buried in Note names in other languages, with no heading to @ref to. Maybe now that we have a section on World music it could be replaced by a @ref to something there, but there's nothing suitable yet. Happy to do as you suggest as soon as there is a suitable section on microtones elsewhere which I could @ref to. I'm not certain if we need a separate subsubsection for instrument names. Why not merge that with 3.5.3? Agreed it is too short to remain on its own, but it doesn't really belong in a section about \midi. Maybe merging it into 3.5.1 would be better? I'm not certain about the order of .2 and .3. IMO, there's three parts of MIDI: - basic setup (including tempo and instrument name) - what's included in MIDI - special cases (\unfoldRepeats, dynamics) OK, I'll swap them over. I agree it would be better. - Graham Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: creating a centred column of markups
amazing what Lilypond achieves just with simple commands! =) http://www.nabble.com/file/p20705128/left-aligned%2Bcenter.pdf left-aligned+center.pdf Kieren MacMillan wrote: but now i'm suspicious you to want it really and automatically centered, isn't it?! Yes! =) Kieren. \version 2.11.64 \markup { \fill-line { \null \column { \fontsize #2 \override #'(font-family . medium) { When You Are Old and Grey } \left-align When you are old and grey and full of sleep, And nodding by the fire, take down this book, And slowly read, and dream of the soft look Your eyes had once, and of their shadows deep. How many loved your moments of glad grace And loved your beauty with love false or true, But one man loved the pilgrim soul in you, And loved the sorrows of your changing face. And bending down beside the glowing bars, Murmur, a little sadly, how Love fled And paced upon the mountain overhead And hid his face amid a crowd of stars. \hspace #20 — William Butler Yeats (1893) } \null } } -Eluze -- View this message in context: http://www.nabble.com/creating-a-centred-column-of-markups-tp20702311p20705128.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond vs Score
-- Message: 8 Date: Mon, 01 Feb 2010 15:57:49 -0600 From: Bobber bob...@kc0dxf.net Subject: Lilypond vs Score To: lilypond-user@gnu.org Message-ID: 4b674e5d.3030...@kc0dxf.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed I have been having a discussion with a small publisher who uses the music manuscript program called Score. He says that neither Lilypond or Finale can produce engraving that is comparable to Score. And that most of the major music publishers in the world use Score. Is anyone familiar with Score and what makes it superior? -- Bob Wooldridge bob...@kc0dxf.net blog: http://kc0dxf.net/blog/ I'm also curious to hear from anyone who has had experience using Score, and comparing to Lilypond output. There are some wacky examples of Score output at: http://www.scoremus.com/ (especially that deer standing on the staff! There needs to be an Animal_engraver in lilypond!) After seeing that output, I'm curious: has anybody played around in Lilypond with making the staff curve around (like forming a circle, or just bending down the page or something)? I'd like to be able to do that. Best, Jonathan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Creating arbitrary lines (or other postscript things)
Dear users, I'm working on a piece of music where certain notes need to be connected by dotted lines. I've tried a few different things: using \glissando and overriding the stencil to get a different position, or just creating \markup with a stencil object. I've also tried writing it in postscript (which seems to be the ideal solution) but I can't figure out how to return certain values of the notehead object. I'd like to avoid drawing the lines in by hand later, because I want to generate scores algorithmically. What would be ideal (as far as I can tell) is to have a global variable that's a list of pairs of ly:music, then at the end of the program run a function to cycle through this list and draw dotted lines between all the pairs. My problem is that I can't figure out how to get the x/y position of the NoteHead object from a string of text like d4, because as far as I've seen (and this may be way wrong, so forgive me) the interfaces generally are built for modifying values, not returning values for use in other functions. Any ideas? Or, at least places I should have already looked? Have to admit I don't know Lilypond super well, but I've googled this problem pretty hard and read the manual looking specifically for it. I know mostly C-related languages, so Scheme is kind of bending my brain a little. Any help from more experienced users would be excellent. Thanks, Andrew ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Creating arbitrary lines (or other postscript things)
Andrew, What is it about a glissando that doesn't give you what you want? -- Phil Holmes - Original Message - From: Andrew C. Smith andrewchristophersm...@gmail.com To: lilypond-user@gnu.org Sent: Monday, November 15, 2010 2:08 PM Subject: Creating arbitrary lines (or other postscript things) Dear users, I'm working on a piece of music where certain notes need to be connected by dotted lines. I've tried a few different things: using \glissando and overriding the stencil to get a different position, or just creating \markup with a stencil object. I've also tried writing it in postscript (which seems to be the ideal solution) but I can't figure out how to return certain values of the notehead object. I'd like to avoid drawing the lines in by hand later, because I want to generate scores algorithmically. What would be ideal (as far as I can tell) is to have a global variable that's a list of pairs of ly:music, then at the end of the program run a function to cycle through this list and draw dotted lines between all the pairs. My problem is that I can't figure out how to get the x/y position of the NoteHead object from a string of text like d4, because as far as I've seen (and this may be way wrong, so forgive me) the interfaces generally are built for modifying values, not returning values for use in other functions. Any ideas? Or, at least places I should have already looked? Have to admit I don't know Lilypond super well, but I've googled this problem pretty hard and read the manual looking specifically for it. I know mostly C-related languages, so Scheme is kind of bending my brain a little. Any help from more experienced users would be excellent. Thanks, Andrew ___ 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: More questions about using Lilypond for guitar music
2014-06-10 23:50 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: Thank you for the kind person who helped me out the last time I was trying to get to grips with Lilypond and guitar music. I suspect these two are more challenging. 1. Is it possible at all to combine bends with hammer-on / pull-offs at all? (e.g., a hammer-on immediately followed by a bend, or a bend-release followed immediately by a pull-off) From what I read, the answer is no - since the current implementation of bend hacks the slur, which is what is also used for hammer-on / pull-offs. (And if that is the case, is there any chance it will be addressed at some point?) The problem and the workaround are described in the current home of bend.ly: https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending You can't use hammer-on and pull-off when \bendOn is active, because this snippet uses and transforms the slur engraver. This implies that you cannot, for instance, start a pull-off right after a bend release. This is one of the reasons why a bend engraver is needed (see issue 1196 above). However, you can work around this problem by adding an hidden grace note where the pull-off should start; you may have to use the \shape command to adjust the slur shape. 2. A common notation in guitar music is vibrato - is there any way to typeset such notation in Lilypond? I could not find anything in the documentation nor in the LSR. But I found this function in the archives: http://lists.gnu.org/archive/html/lilypond-user/2013-04/msg00793.html I haven't tested it because there's no example file and I don't have time. If someone wants to test it and add it to the LSR... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: More questions about using Lilypond for guitar music
From: Federico Bruni fedel...@gmail.com 2014-06-10 23:50 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: Thank you for the kind person who helped me out the last time I was trying to get to grips with Lilypond and guitar music. I suspect these two are more challenging. 1. Is it possible at all to combine bends with hammer-on / pull-offs at all? (e.g., a hammer-on immediately followed by a bend, or a bend-release followed immediately by a pull-off) From what I read, the answer is no - since the current implementation of bend hacks the slur, which is what is also used for hammer-on / pull-offs. (And if that is the case, is there any chance it will be addressed at some point?) The problem and the workaround are described in the current home of bend.ly: https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending You can't use hammer-on and pull-off when \bendOn is active, because this snippet uses and transforms the slur engraver. This implies that you cannot, for instance, start a pull-off right after a bend release. This is one of the reasons why a bend engraver is needed (see issue 1196 above). However, you can work around this problem by adding an hidden grace note where the pull-off should start; you may have to use the \shape command to adjust the slur shape. I presume that this means something like the following: \version 2.18.0 \include benddefs.ily \score { \new Staff { \clef treble_8 \bendOn a'4 ( b' )( a' ) \bendOff \hideNotes \grace a' ( \unHideNotes g' ) | a' ( b' ) a'2 | } \new TabStaff { \set TabStaff.minimumFret = #8 \bendOn a'4 ( b' )( a' ) \bendOff \hideNotes \grace a' ( \unHideNotes g' ) | a' ( b' ) a'2 | } } I don't know how to make the suggested adjustment to the slur shape with \shape. Martyn ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: More questions about using Lilypond for guitar music
2014-06-11 23:48 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: Just a quick final message - thanks for all the help several of you gave. I have managed to get to grips with the workaround for bends/pull-offs, etc., and also make the vibrato / textspanner thing work. Great! Just a final comment. You'd better save the music in a variable and copy it in Staff and TabStaff conrtexts, so you don't have to do any copypaste. Also the \shape command can affect Staff and TabStaff separately: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 \version 2.18.0\include notation-snippets/guitar-string-bending/definitions.ily % Pull-off after a bend release music = { \bendOn a'4 ( b' )( a' ) \bendOff \shape #'((-1 . -1) (-0.8 . -1) (-0.7 . -1) (-1 . -1)) Voice.Slur \shape #'((-1 . 0) (-0.8 . 0.5) (-0.7 . 0.5) (-0.5 . 0)) TabVoice.Slur \slurUp \hideNotes \grace a' ( \unHideNotes g' ) |} \score { \new StaffGroup \new Voice { \clef treble_8 \music } \new TabVoice { \clef moderntab \music } \layout { indent = 0 \context { \StaffGroup \override StaffGrouper.staff-staff-spacing.padding = #5 } }} ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Strange problem with guitar bends
The \hideNotes and \unHideNotes is to achieve the work-around for mixing bending strings with hammer-on and pull-offs (which are engraved using normal slurs). This is just an excerpt of what I was trying to engrave... and I think it is minimal, in the sense that if you remove any one part of it then Lilypond runs fine and produces what I expected. Martyn From: Federico Bruni fedel...@gmail.com To: Martyn Quick martyn_qu...@yahoo.co.uk Cc: lilypond-user@gnu.org lilypond-user@gnu.org Sent: Wednesday, 30 July 2014, 23:07 Subject: Re: Strange problem with guitar bends 2014-07-30 21:19 GMT+02:00 Martyn Quick martyn_qu...@yahoo.co.uk: music = { \set restrainOpenStrings = ##t \set TabStaff.minimumFret = #12 \relative a' { r2 c16 ( \glissando b ) \bendOn \bendGrace g' ( a8 ) ( \bendGrace g ) ( a ) \bendGrace g ( a ) | \bendGrace g ( a4 ) \bendGrace \preBendHold g ( a16 ) ( g8 ) \bendGrace g ( \holdBend a16 ) ~ a8 ( g16 ) e d ( e ) g \bendGrace \preBendHold d ( e ) ( | d8 ) \bendOff c16 ( \hideNotes \grace d ) \unHideNotes \bendOn d ( e ) g \bendGrace \preBendHold d ( e ) ( d ) c4 \bendGrace \preBendHold a ( c16 ) ( a ) \bendOff g ( \hideNotes \grace a ) \unHideNotes a | } } There's no error if you comment either minimumFret or \unHideNotes. I don't know why. I can't understand why you are using \hideNotes here.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user