Provenance : Courrier pour Windows 10
> That's right. I just want any two notes that play simultaneously to be > returned by separate index values into the extraction function, and any > other index values to return something that will be silent (either a skip > or a rest). I don't want this behaviour for my purpose but if you do want a rest for indexes out of range, you just have one line to change in the code. First make sur you have the latest version of chord.ly at http://gillesth.free.fr/Lilypond/chord/ Change the line 39 ((null? res) (list-ref notes (1- len))) ; last note by that ((null? res) (let ((note (list-ref notes (1- len)))) ; last note (make-music 'RestEvent 'duration (ly:music-property note 'duration)))) You'll get the joined image ( to compare with snippet http://lsr.di.unimi.it/LSR/Item?id=545)
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user