Hi all,
> You have to set the lengths of the breve notes manually, though.
It sure seems like this could be done automagically (maybe using a Scheme
engraver?). You could say something like
\specialnote \breve 8*931
and it would
(1) engrave a note that looks like the first parameter given
Do you mean like:
\version "2.22.1"
<<\new Voice \with { \remove "Forbid_line_break_engraver"}
% just so this example doesn't run out of the edge of paper
{ \temporary \override Staff.BarLine.transparent = ##t
fis'\breve*50/8 % a quarter is 1/8 of a regular breve, so 50/8
I'm looking for a way of making a note of indetermined length that looks
like a breve note.
The note might be 50*4 on the first system, then the system
automatically breaks. The note then gets tied to the new system where
the note might be of 101*8 (or any other length). There would be no
visib
(ly:export (ly:make-duration 1 0)))
> {
> c''#len
> }
>
> --
> David Kastrup
>
Thanks, this works great.
I just had to modify it a little so I could control the duration with a
variable:
#(define duration 1)
#(define (len d) (ly:export (ly:make-d
On Mon 21 Mar 2011, 09:30 David Kastrup wrote:
> Not particularly. You can intersperse Scheme expressions with music
> events, and they are evaluated and the value, in general, is ignored.
> Nothing more, nothing less. With one exception:
>
> #(define len (ly:export (ly:make-duration 1 0)))
> {
"Dmytro O. Redchuk" writes:
> On Sat 19 Mar 2011, 12:15 TaoCG wrote:
>> Hi,
> Hi!
>
>> I need to control the length of rest and notes with a variable.
>> something like:
>> len = 2
>> r\len
>>
>> this doesn't work of course but is there a way to do this?
>> I tried overriding duration-log but it
On Sat 19 Mar 2011, 12:15 TaoCG wrote:
> Hi,
Hi!
> I need to control the length of rest and notes with a variable.
> something like:
> len = 2
> r\len
>
> this doesn't work of course but is there a way to do this?
> I tried overriding duration-log but it only changes the visual appearance.
Strang
http://old.nabble.com/control-notelength-via-variable--tp31190034p31190034.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user