[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Divide a note inside of music-define-function
From: |
Michael Pozhidaev |
Subject: |
Divide a note inside of music-define-function |
Date: |
Thu, 08 Jan 2009 19:49:03 +0600 |
Hello!
Please, help me with music function creation. My function has one
argument to represent one note, how can I get the same note, but with only a
half of its
original duration?
Of course, the following is completely wrong, but something like:
myfunc =
#(define-music-function (parser location note) (ly:music?)
#{
$note *0.5
#})
Thanks!
--
Michael Pozhidaev. E-mail: address@hidden
Tomsk State University. http://www.csd.tsu.ru
ALT Linux Team. http://www.altlinux.ru
- Divide a note inside of music-define-function,
Michael Pozhidaev <=