Menu

#1196 Enhancement Request: Implementing a bend engraver

Accepted
nobody
Bounty (37)
Enhancement
2016-07-19
2010-07-25
Anonymous
No

Originally created by: *anonymous

Originally created by: brownian.box@gmail.com

http://lists.gnu.org/archive/html/lilypond-devel/2010-07/msg00324.html

~~Marc offered $75, Federico and Patrick both offered $75 to $150, as far as i can see. Sorry if i've missed or messed something.~~

24th of October, 2015 - update by Federico (add table and use a single currency, Euro, to be able to show easily a total amount)

Name Amount
Federico €200
Marc €75
Patrick €75/€150
Ronald €25
Rosea €25

Total. €475

Discussion

  • Google Importer

    Google Importer - 2010-09-01

    Originally posted by: ronald.h...@gmail.com

    I am in with $25

     
  • Google Importer

    Google Importer - 2010-09-01

    Originally posted by: RalphBug...@gmail.com

    Ronald $25
    Rosea €25

     
  • Google Importer

    Google Importer - 2012-04-11

    Originally posted by: fedel...@gmail.com

    I think that this issue should also say that a basic implementation of bends is available through an external file created by Marc: bend.ly (see bendtest.ly for information about usage).

    The attached file works fine with version 2.14.2

     
  • Google Importer

    Google Importer - 2013-05-01

    Originally posted by: fedel...@gmail.com

    just a note to say that latest version of lilypond which works fine with bend.ly (at least for me) is 2.15.40

    if I use a later version (up to 2.16.2), lilypond's CPU usage jumps to 100% and keeps hanging without compiling the input file

    tested on two different machines (x86 and 64-bit)

     
  • Google Importer

    Google Importer - 2013-07-20

    Originally posted by: k...@kalegood.com

    I'll add $15 to the bounty.

    Also, I successfully compiled bendtest.ly on 2.16.2 on Ubuntu 12.04

     
  • Google Importer

    Google Importer - 2013-07-20

    Originally posted by: thomasmo...@gmail.com

    I recently revised bend.ly and made it work with 2.16.2

    Cc: m...@hohlart.de

     
  • Google Importer

    Google Importer - 2013-07-27

    Originally posted by: fedel...@gmail.com

    Many thanks Thomas!
    I tried a simple file and it worked.
    But I can't compile files with polyphonic music (see attached minimal example).

     
  • Google Importer

    Google Importer - 2013-08-13

    Originally posted by: thomasmo...@gmail.com

    Regarding comment #9
    The problem seems to be that you use "first" and "second" as identifiers in your code.

    "first" and "second" are 'primitive-procedures' in scheme, while using 'srfi-1':
      guile> (use-modules (srfi srfi-1))                          
      guile> (write first)
      #<primitive-procedure car>
    The use of 'srfi-1' seems to be the default in LilyPond nowadays.

    Although I don't know why it is a problem here, but works under other circumstances, I'd avoid the use of them as LilyPond-identifier, generally.

    Changing them to 'frst' and 'scnd' gave me successful compilation.

     
  • Google Importer

    Google Importer - 2013-08-13

    Originally posted by: dak@gnu.org

    slur::draw-bend-arrow contains a reference to "first".  Since first is imported into the current parser module, overwriting it affects all uses in the current parser module.  While overwriting symbols imported from other modules is causing pretty little disturbance overall, overwriting _and_ using it at the same time is likely to become non-pretty.  Note that the parser module is separate from the (internal) lily module and is started fresh for each LilyPond input file.

     
  • Google Importer

    Google Importer - 2013-09-03

    Originally posted by: fedel...@gmail.com

    ok, thank you
    changing the name fixes the problem

     
  • Google Importer

    Google Importer - 2013-12-02

    Originally posted by: fedel...@gmail.com

    I've added a new issue to integrate the bend stuff written in Scheme in the core of lilypond:
    https://code.google.com/p/lilypond/issues/detail?id=3700

    This issue is about implementing a bend engraver, which should be the final goal, IIUC.

    Summary: Enhancement Request: Implementing a bend engraver

     
  • Federico Bruni

    Federico Bruni - 2015-10-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,4 +4,18 @@
    
     [http://lists.gnu.org/archive/html/lilypond-devel/2010-07/msg00324.html](http://lists.gnu.org/archive/html/lilypond-devel/2010-07/msg00324.html)
    
    -Marc offered $75, Federico and Patrick both offered $75 to $150, as far as i can see. Sorry if i've missed or messed something.
    +~~Marc offered $75, Federico and Patrick both offered $75 to $150, as far as i can see. Sorry if i've missed or messed something.~~
    +
    +24th of October, 2015 - update by Federico (add table and use a single currency, Euro, to be able to show easily a total amount)
    +
    +| Name     | Amount   |
    +| -------- | -------- |
    +| Federico | €200     |
    +| Marc     | €75      |
    +| Patrick  | €75/€150 |
    +| Ronald   | €25      |
    +| Rosea    | €25      |
    +
    +Total. €475
    +
    +
    
    • Needs: -->
    • Patch: -->
     
  • David Kastrup

    David Kastrup - 2015-10-24

    It's not really clear what is missing here: a file purportedly was offered with that functionality. Either it does what is required, in which case it would seem rather inappropriate for any but its author to try cashing in on the bounties. Or it doesn't in some fundamental way. But if that is the case, there are neither examples nor descriptions to demonstrate.

     
  • Federico Bruni

    Federico Bruni - 2015-10-24

    The file written by Marc (with later contributions by Harm) is a kind of hack, because it uses the slur engraver, while a specific bending engraver would be needed to make it really work. This was the conclusion of Marc, who tried digging into it and then gave up because he doesn't know C and thought that it was too difficult. Hope I remember correctly.

    I've listed the limitations I found here:
    https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending#limitations