lilypond-user
[Top][All Lists]
Advanced

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

function for a certain number of barrests


From: Stefan Thomas
Subject: function for a certain number of barrests
Date: Tue, 22 Jan 2013 11:22:31 +0100

Dear community,
I wanted to create a function for a certain number of barrests.
I've tried it with
\version "2.16.2"
\layout { \context { \Score  skipBars = ##t } }

fourquarterBarrest = #(define-music-function (parser location x) (number?)
  #{ % in der folgenden Zeile Lilypondcode eingeben
    \time 4/4 
    \scaleDurations #(cons $x 1) { s1 }
#})
But this fails.
Has someone an idea how to make it work?

reply via email to

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