Re: \repeat unfold 0 times?

2021-01-27 Thread Lukas-Fabian Moser
Hi Zachary, I have found a way to use a scheme conditional to check if repeatcount is greater than zero before evaluating repeat. Here's the snippet: ​\version "2.20.0" m = #0 n = #1 o = #2 \new Staff {   \repeat unfold #m dis'1   #(let ((x #{ \repeat unfold #m dis1 #}))         (if (> m

\repeat unfold 0 times?

2021-01-27 Thread Pine, Zachary V
Hello All, I have a little scheme function which gives me the number of times to repeat a particular bit of music in my composition. Sometimes I want that number to be zero and thus print no music at all. I'm using the "\repeat unfold repeatcount" syntax. However, when repeatcount is zero,