|
From: | Gilles THIBAULT |
Subject: | Re: transposing and changePitch |
Date: | Sun, 31 Jan 2010 17:40:15 +0100 |
Try this (if i have understood what you
wanted)
%%%%%%%%%%%%%
\version "2.12"
\include "changePitch.ly" brokenoctaves = #(define-music-function (parser location x) (ly:music?) #{ $x \transpose c c' $x #}) test = { c8 } \new Staff { \changePitch \test \brokenoctaves c' } %%%%%%%%%%%%%%
NB
All notes if the first parameter of \changePitch (
here : \test ) are remplaced by the notes of the second parameter. So your
function could not have an effect for the pitch in the first parameter.
Gilles
|
[Prev in Thread] | Current Thread | [Next in Thread] |