lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to insert a number for fingering in embedded LilyPond?


From: Thomas Morley
Subject: How to insert a number for fingering in embedded LilyPond?
Date: Sat, 12 Apr 2014 12:48:45 +0200

Hi folks,

regard the following code and terminal output

\version "2.19.3"

#(display-scheme-music #{ _2 #})

(make-music
  'FingeringEvent
  'direction
  -1
  'digit
  2)

This is all as expected.

Though, how to insert a number from a variable or procedure?
The following fails:

#(display-scheme-music (let ((n 2)) #{ _$n #}))

How to do it correctly?


Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]