Re: [frogs] Fw: Fw: Pentatonic Diatonic Transposition? |
[ Thread Index | Date Index | More lilynet.net/frogs Archives ]
Ian Hulin wrote Saturday, January 29, 2011 8:44 PM
On 29/01/11 18:45, Trevor Daniels wrote:Mike Ellis sent me his modal transpose code, now extended to include a couple of other functions. See his note below and tarball attached. I placed modal-transform.scm in /scm and added the three functions inHere's a guess. Is scm/modal-transform-init.scm loaded by lily.scm inmodal-transform-init.ly to ly/music-functions-init.ly, both in myWindows Lily GUB release, and tried compiling his regression test. Iget the error: unbound variable: make-modal-transposer This is a public function defined in modal-transform.scm.Just to be sure I fired up Ubuntu, make the same changes to git andrebuilt LilyPond. As expected, I get the same error. What am I missing? Trevorthe list where all the others are loaded using ly:load?
Good guess! That put me on the right track. Adding modal-transform.scm to the list in lily.scm is one thing that needs to be done. Then I had to
delete (define-module (scm modal-transpose)) which was at the start of modal-transform.scm. Then the test compiled successfully. But one puzzle remains. At the end of the log file is: .... Layout output to `modal-transpose.ps'... Converting to `./modal-transpose.pdf'... success: Compilation successfully completed WARNING: (lily): `_' imported from both (lily) and (scm ps-to-png) Can anyone suggest why the warning appears? Trevor --- ---- Join the Frogs!
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |