Re: scheme documentation and optional arguments

2007-03-31 Thread Nicolas Sceaux
Paul Scott [EMAIL PROTECTED] writes: Nicolas created the following for me some time ago and it works: #(define* (textPad padding #:optional once?) (ly:export ; this is necessary for using the expression ; directly inside a block (if once? #{ \once \override TextScript

Re: scheme documentation and optional arguments

2007-03-31 Thread Paul Scott
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicolas Sceaux wrote: The newer documentation on music functions 12.1 uses define-music-function instead of define* Where can I find documentation to make the #:optional once? part above work with define-music-function so I can write some more

Re: Canorus 0.2.5 is out

2007-03-31 Thread Fred Leason
Thanks Sam, Perhaps I am not asking for help in the right way. I know these two postings should have been under Canorus but you can look at them anyway: https://developer.berlios.de/bugs/? func=detailbuggroup_id=1bug_id=10693 https://developer.berlios.de/bugs/?

How do I mix ly and scheme in define-music-function

2007-03-31 Thread Kevin Dalley
I want to stick an if statement in the middle of setting many values: This doesn't work. The if block appears to be skipped. By the way, in the real code, I replace #t with something else, but if I can't get it to work with #t, there is something wrong with my understanding. The later block

Re: modern, simple chord charts desired

2007-03-31 Thread Adam Monsen
Mats Bengtsson mats.bengtsson at ee.kth.se writes: [...] What happens is that the \mark allocates extra horizontal space (which is strange since it doesn't do that when there is any ordinary stave in the score). One solution is to replace the line \override RehearsalMark #'self-alignment-X

Slurring into alternative endings

2007-03-31 Thread Rich Knox
Suppose I have a repeat with alternative endings. There's a slur from the ending notes of the measure before the alternatives into the first note of each alternative. Suppose I have the following: \repeat volta 2 { a4 ( g fis } \alternative { { a ) g

midi2ly: makeshift patch

2007-03-31 Thread Alexander Hanysz
It's already been mentioned that midi2ly is broken, so I thought I'd have a go at fixing it. It's my first encounter with python, so it's been an amusing experience for me, and it's still a long way off working perfectly, but it's better than nothing. Below is a patch for what on my system