Re: Programming questions

2008-04-29 Thread Peter Chubb
 Jay == Jay Anderson [EMAIL PROTECTED] writes:

Jay A couple of weeks ago I recall reading about someone trying to
Jay get midi trills working. The key needed to be understood so that
Jay it could figure out the correct note to trill to. I can't find
Jay the thread to see if it was resolved. Are there some functions
Jay out there for doing this?

That was me.  I'm still trying to work things out in a general way,
but have a hack that works `well enough' for my current purpose.
Basically, I rely on noting keychange events, and assuming the
starting key is c major.  The current key is in ac:current-key



#(define (ac:up note)
  (let* ((pitch (ly:music-property note 'pitch))
 (notename (ly:pitch-notename pitch))
 (new-notename (if (eq? notename 6) 0 (+ 1 notename)))
 (alterations (ly:music-property ac:current-key 'pitch-alist))
 (new-alteration (cdr (assq new-notename alterations)))
 (new-octave (if (eq? new-notename 0) (+ 1 (ly:pitch-octave pitch))
  (ly:pitch-octave pitch)))
   )
   (set! (ly:music-property note 'pitch)(ly:make-pitch new-octave new-notename 
new-alteration



Jay In a few functions I've written they either work correctly inside
Jay a \relative section or correctly outside but not both. Is there a
Jay standard way to make them work in both? 

Not that I know of.

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
A university is a non-profit organisation only in the sense that it
spends everything it gets  ... Luca Turin.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPondTool 2.10.4-2 (help fix) released

2008-04-29 Thread Matthew
Bertalan Fodor lilypondtool at organum.hu writes:

 
 Hello,
 
 I've fixed the doc bug. Get it from: 
 http://sourceforge.net/project/showfiles.php?group_id=91119
 

Hi Bert!

A (maybe) related question...

Is there anyway to turn off autocomplete, add my own items to the autocomplete
list or to make the spacebar _not_ do an autocomplete?

I've got a bunch of small macros that keep getting expanded into the wrong one
eg \dr - \DrumStaff (even though d != D)




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPondTool 2.10.4-2 (help fix) released

2008-04-29 Thread Bertalan Fodor (LilyPondTool)

Yes, I think. Look at SideKick plugin options for this.

Bert

Matthew wrote:

Bertalan Fodor lilypondtool at organum.hu writes:

  

Hello,

I've fixed the doc bug. Get it from: 
http://sourceforge.net/project/showfiles.php?group_id=91119





Hi Bert!

A (maybe) related question...

Is there anyway to turn off autocomplete, add my own items to the autocomplete
list or to make the spacebar _not_ do an autocomplete?

I've got a bunch of small macros that keep getting expanded into the wrong one
eg \dr - \DrumStaff (even though d != D)




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

  



--
LilyPondTool is the editor for LilyPond files.
See http://lilypondtool.organum.hu

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: custom metronome-markup procedure causes weird goops-error

2008-04-29 Thread Reinhold Kainhofer
Am Freitag, 25. April 2008 schrieb Valentin Villenave:
   Second, unlike the helper function parse-simple-duration,
   string-duration doesn't account for durations longer than a semibreve
   since they can't be directly converted to a number.

 Ideal answer: oh yes, that is definitely a limitation.
 Pragmatic answer : hmm, do we really need \breve in metronome marks?

Lilypond-style answer: Show me an example: 
http://kainhofer.com/~lilypond/input/regression/musicxml/collated-files.html#03c-MetronomeMarks.ly

Cheers,
Reinhold



-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung Jung-Wien, http://www.jung-wien.at/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: custom metronome-markup procedure causes weird goops-error

2008-04-29 Thread Nicolas Sceaux


Le 29 avr. 08 à 11:52, Reinhold Kainhofer a écrit :


Am Freitag, 25. April 2008 schrieb Valentin Villenave:

Second, unlike the helper function parse-simple-duration,
string-duration doesn't account for durations longer than a  
semibreve

since they can't be directly converted to a number.


Ideal answer: oh yes, that is definitely a limitation.
Pragmatic answer : hmm, do we really need \breve in metronome marks?


Lilypond-style answer: Show me an example:
http://kainhofer.com/~lilypond/input/regression/musicxml/collated-files.html#03c-MetronomeMarks.ly


For the record, here is a version without the breve limitation,
and with nicer style.

#(define ((make-format-movement-markup-function text) duration count  
context)

   (markup #:huge #:bold text #:hspace 1
 #:concat (( #:general-align Y DOWN #:smaller
 #:note-by-number (ly:duration-log duration)
  (ly:duration-dot-count  
duration)

  1)
 =
 #:concat ((number-string count) 

#(define (string-duration duration-string)
  Parse the `duration-string', e.g. ''4..'' or ''breve.'', and  
return a duration object.

  (let* ((length (string-length duration-string))
 (dot-index (or (string-index duration-string #\.) length))
 (len (substring duration-string 0 dot-index))
 (dots (- length dot-index)))
   (ly:make-duration (cond ((string=? len breve) -1)
   ((string=? len longa) -2)
   ((string=? len maxima) -3)
   (else (log2 (string-number len
 dots 1 1)))

movement =
#(define-music-function (parser location text duration count music)
(string? string? integer? ly:music?)
  #{
\set Score . metronomeMarkFormatter = #(make-format-movement- 
markup-function $text)
\set Score . tempoWholesPerMinute = #$(ly:duration-length (string- 
duration duration))

\set Score . tempoUnitDuration = #$(string-duration duration)
\set Score . tempoUnitCount = #$count
$music
\set Score . metronomeMarkFormatter = #format-metronome-markup
  #})

\relative c' {
  \time 3/4
  \movement Allegro 2. #96
  c2 e4 g2.
  \movement Moderato 4 #104
  f4 e d
  \tempo 4 = 92
  c2.
}




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: custom metronome-markup procedure causes weird goops-error

2008-04-29 Thread Valentin Villenave
2008/4/29 Nicolas Sceaux [EMAIL PROTECTED]:

  For the record, here is a version without the breve limitation,
  and with nicer style.

Nicolas: I really like your code (I'm using it right now); however,
2.10 currently doesn't accept it :(

If you can figure out a way to make it work on the LSR, I'll update the snippet.

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: custom metronome-markup procedure causes weird goops-error

2008-04-29 Thread Risto Vääräniemi
2008/4/29 Nicolas Sceaux :

  I think it's because there is no \concat markup command in 2.10.

  Untested:

Looks nice. :-)

It seems to work with .11  .10. In fact, the results look better this
way than with \concat. The space between the left parenthesis and the
note head is better matched with the space between the number and the
right parenthesis. If I may pick a nit a bit - with \concat there
could be a small \hspace between the parenthesis and the note. I
wouldn't have noticed it if you hadn't sent this version. :-)

-Risto


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Converting from 1.4.12 to 2.10.33

2008-04-29 Thread Joseph Haig
I downloaded a Lilypond 1.4.12 file from
http://www.upv.es/coro/victoria/partituras.html and run it through
convert-ly, which, gave the following output (in addition to the
output file):

convert-ly (GNU LilyPond) 2.10.33
Processing `old/Ascendens_Christus_In_Altum-1-Kyrie.ly'...
Applying conversion: 1.5.33, 1.5.38, 1.5.40, 1.5.49, 1.5.52, 1.5.56,
1.5.58, 1.5.59, 1.5.62, 1.5.67, 1.5.68, 1.5.71, 1.5.72, 1.6.5, 1.7.1,
1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.10, 1.7.11, 1.7.13, 1.7.15,
1.7.16, 1.7.17, 1.7.18, 1.7.19, 1.7.22, 1.7.23, 1.7.24, 1.7.28, 1.9.0,
1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 2.1.1, 2.1.2,
2.1.3, 2.1.4, 2.1.7, 2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.1.15,
2.1.16, 2.1.17, 2.1.18, 2.1.19, 2.1.20, 2.1.21, 2.1.22, 2.1.23,
2.1.24, 2.1.25, 2.1.26, 2.1.27, 2.1.28, 2.1.29, 2.1.30, 2.1.31,
2.1.33, 2.1.34, 2.1.36, 2.2.0, 2.3.1, 2.3.2,
Not smart enough to convert textheight
Please refer to the manual for details, and update manually.
Page layout has been changed, using paper size and margins.
textheight is no longer used.
2.3.4, 2.3.6, 2.3.8, 2.3.9, 2.3.10, 2.3.11, 2.3.12, 2.3.16, 2.3.17,
2.3.18, 2.3.22, 2.3.23, 2.3.24, 2.4.0, 2.5.0, 2.5.1, 2.5.2, 2.5.3,
2.5.12, 2.5.13, 2.5.17, 2.5.18, 2.5.21, 2.5.25, 2.6.0, 2.7.0, 2.7.1,
2.7.2, 2.7.4, 2.7.6, 2.7.10, 2.7.11, 2.7.12, 2.7.13, 2.7.14, 2.7.15,
2.7.22, 2.7.24, 2.7.28, 2.7.29, 2.7.30, 2.7.31, 2.7.32, 2.7.32,
2.7.36, 2.7.40, 2.9.4, 2.9.6, 2.9.9, 2.9.11, 2.9.13, 2.9.16, 2.9.19,
2.10.0, 2.10.10

There is a warning, but doesn't seem to be any indication of anything
seriously wrong.  However, running lilypond on the output file I get:

error: can't find music object: OldLyricCombineMusic

What would I need to tweak to get this working properly?  Or is 1.4.12
just so old that it is not worth converting?

Thanks,

Joe


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Converting from 1.4.12 to 2.10.33

2008-04-29 Thread Bertalan Fodor (LilyPondTool)
I think it is worth converting. The OldLyricCombineMusic can be easily 
solved if you replaced the \oldaddlyrics or whatever not existing 
command with the normal current way of adding lyrics.


Bert

Joseph Haig wrote:

I downloaded a Lilypond 1.4.12 file from
http://www.upv.es/coro/victoria/partituras.html and run it through
convert-ly, which, gave the following output (in addition to the
output file):

convert-ly (GNU LilyPond) 2.10.33
Processing `old/Ascendens_Christus_In_Altum-1-Kyrie.ly'...
Applying conversion: 1.5.33, 1.5.38, 1.5.40, 1.5.49, 1.5.52, 1.5.56,
1.5.58, 1.5.59, 1.5.62, 1.5.67, 1.5.68, 1.5.71, 1.5.72, 1.6.5, 1.7.1,
1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.10, 1.7.11, 1.7.13, 1.7.15,
1.7.16, 1.7.17, 1.7.18, 1.7.19, 1.7.22, 1.7.23, 1.7.24, 1.7.28, 1.9.0,
1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 2.1.1, 2.1.2,
2.1.3, 2.1.4, 2.1.7, 2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.1.15,
2.1.16, 2.1.17, 2.1.18, 2.1.19, 2.1.20, 2.1.21, 2.1.22, 2.1.23,
2.1.24, 2.1.25, 2.1.26, 2.1.27, 2.1.28, 2.1.29, 2.1.30, 2.1.31,
2.1.33, 2.1.34, 2.1.36, 2.2.0, 2.3.1, 2.3.2,
Not smart enough to convert textheight
Please refer to the manual for details, and update manually.
Page layout has been changed, using paper size and margins.
textheight is no longer used.
2.3.4, 2.3.6, 2.3.8, 2.3.9, 2.3.10, 2.3.11, 2.3.12, 2.3.16, 2.3.17,
2.3.18, 2.3.22, 2.3.23, 2.3.24, 2.4.0, 2.5.0, 2.5.1, 2.5.2, 2.5.3,
2.5.12, 2.5.13, 2.5.17, 2.5.18, 2.5.21, 2.5.25, 2.6.0, 2.7.0, 2.7.1,
2.7.2, 2.7.4, 2.7.6, 2.7.10, 2.7.11, 2.7.12, 2.7.13, 2.7.14, 2.7.15,
2.7.22, 2.7.24, 2.7.28, 2.7.29, 2.7.30, 2.7.31, 2.7.32, 2.7.32,
2.7.36, 2.7.40, 2.9.4, 2.9.6, 2.9.9, 2.9.11, 2.9.13, 2.9.16, 2.9.19,
2.10.0, 2.10.10

There is a warning, but doesn't seem to be any indication of anything
seriously wrong.  However, running lilypond on the output file I get:

error: can't find music object: OldLyricCombineMusic

What would I need to tweak to get this working properly?  Or is 1.4.12
just so old that it is not worth converting?

Thanks,

Joe


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

  



--
LilyPondTool is the editor for LilyPond files.
See http://lilypondtool.organum.hu



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Converting from 1.4.12 to 2.10.33

2008-04-29 Thread Mats Bengtsson
See http://lists.gnu.org/archive/html/bug-lilypond/2007-12/msg00156.html 
for a brief

instruction on how to do the conversion of \oldaddlyrics by hand.

   /Mats

Bertalan Fodor (LilyPondTool) wrote:
I think it is worth converting. The OldLyricCombineMusic can be easily 
solved if you replaced the \oldaddlyrics or whatever not existing 
command with the normal current way of adding lyrics.


Bert

Joseph Haig wrote:

I downloaded a Lilypond 1.4.12 file from
http://www.upv.es/coro/victoria/partituras.html and run it through
convert-ly, which, gave the following output (in addition to the
output file):

convert-ly (GNU LilyPond) 2.10.33
Processing `old/Ascendens_Christus_In_Altum-1-Kyrie.ly'...
Applying conversion: 1.5.33, 1.5.38, 1.5.40, 1.5.49, 1.5.52, 1.5.56,
1.5.58, 1.5.59, 1.5.62, 1.5.67, 1.5.68, 1.5.71, 1.5.72, 1.6.5, 1.7.1,
1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.10, 1.7.11, 1.7.13, 1.7.15,
1.7.16, 1.7.17, 1.7.18, 1.7.19, 1.7.22, 1.7.23, 1.7.24, 1.7.28, 1.9.0,
1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 2.1.1, 2.1.2,
2.1.3, 2.1.4, 2.1.7, 2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.1.15,
2.1.16, 2.1.17, 2.1.18, 2.1.19, 2.1.20, 2.1.21, 2.1.22, 2.1.23,
2.1.24, 2.1.25, 2.1.26, 2.1.27, 2.1.28, 2.1.29, 2.1.30, 2.1.31,
2.1.33, 2.1.34, 2.1.36, 2.2.0, 2.3.1, 2.3.2,
Not smart enough to convert textheight
Please refer to the manual for details, and update manually.
Page layout has been changed, using paper size and margins.
textheight is no longer used.
2.3.4, 2.3.6, 2.3.8, 2.3.9, 2.3.10, 2.3.11, 2.3.12, 2.3.16, 2.3.17,
2.3.18, 2.3.22, 2.3.23, 2.3.24, 2.4.0, 2.5.0, 2.5.1, 2.5.2, 2.5.3,
2.5.12, 2.5.13, 2.5.17, 2.5.18, 2.5.21, 2.5.25, 2.6.0, 2.7.0, 2.7.1,
2.7.2, 2.7.4, 2.7.6, 2.7.10, 2.7.11, 2.7.12, 2.7.13, 2.7.14, 2.7.15,
2.7.22, 2.7.24, 2.7.28, 2.7.29, 2.7.30, 2.7.31, 2.7.32, 2.7.32,
2.7.36, 2.7.40, 2.9.4, 2.9.6, 2.9.9, 2.9.11, 2.9.13, 2.9.16, 2.9.19,
2.10.0, 2.10.10

There is a warning, but doesn't seem to be any indication of anything
seriously wrong.  However, running lilypond on the output file I get:

error: can't find music object: OldLyricCombineMusic

What would I need to tweak to get this working properly?  Or is 1.4.12
just so old that it is not worth converting?

Thanks,

Joe


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

  





--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: custom metronome-markup procedure causes weird goops-error

2008-04-29 Thread Valentin Villenave
2008/4/29 Risto Vääräniemi [EMAIL PROTECTED]:

  It seems to work with .11  .10. In fact, the results look better this
  way than with \concat. The space between the left parenthesis and the
  note head is better matched with the space between the number and the
  right parenthesis. If I may pick a nit a bit - with \concat there
  could be a small \hspace between the parenthesis and the note. I
  wouldn't have noticed it if you hadn't sent this version. :-)

I do like the version without \concat, but it actually looks my own
first version, so I may be influenced...

Nicolas: great! The LSR snippet has been updated. Many thanks.

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Converting from 1.4.12 to 2.10.33

2008-04-29 Thread Joseph Haig
Thanks Bertalan and Mats.  I have managed to get it working now,
except for some misaligned lyrics but I can sort those out myself.

To be honest, I was quite amazed that convert-ly was able to convert
such an old file with just a single problem.

2008/4/29 Mats Bengtsson [EMAIL PROTECTED]:
 See http://lists.gnu.org/archive/html/bug-lilypond/2007-12/msg00156.html for
 a brief
  instruction on how to do the conversion of \oldaddlyrics by hand.

/Mats



  Bertalan Fodor (LilyPondTool) wrote:

  I think it is worth converting. The OldLyricCombineMusic can be easily
 solved if you replaced the \oldaddlyrics or whatever not existing command
 with the normal current way of adding lyrics.
 
  Bert
 
  Joseph Haig wrote:
 
   I downloaded a Lilypond 1.4.12 file from
   http://www.upv.es/coro/victoria/partituras.html and run it through
   convert-ly, which, gave the following output (in addition to the
   output file):
  
   convert-ly (GNU LilyPond) 2.10.33
   Processing `old/Ascendens_Christus_In_Altum-1-Kyrie.ly'...
   Applying conversion: 1.5.33, 1.5.38, 1.5.40, 1.5.49, 1.5.52, 1.5.56,
   1.5.58, 1.5.59, 1.5.62, 1.5.67, 1.5.68, 1.5.71, 1.5.72, 1.6.5, 1.7.1,
   1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.10, 1.7.11, 1.7.13, 1.7.15,
   1.7.16, 1.7.17, 1.7.18, 1.7.19, 1.7.22, 1.7.23, 1.7.24, 1.7.28, 1.9.0,
   1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 2.1.1, 2.1.2,
   2.1.3, 2.1.4, 2.1.7, 2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.1.15,
   2.1.16, 2.1.17, 2.1.18, 2.1.19, 2.1.20, 2.1.21, 2.1.22, 2.1.23,
   2.1.24, 2.1.25, 2.1.26, 2.1.27, 2.1.28, 2.1.29, 2.1.30, 2.1.31,
   2.1.33, 2.1.34, 2.1.36, 2.2.0, 2.3.1, 2.3.2,
   Not smart enough to convert textheight
   Please refer to the manual for details, and update manually.
   Page layout has been changed, using paper size and margins.
   textheight is no longer used.
   2.3.4, 2.3.6, 2.3.8, 2.3.9, 2.3.10, 2.3.11, 2.3.12, 2.3.16, 2.3.17,
   2.3.18, 2.3.22, 2.3.23, 2.3.24, 2.4.0, 2.5.0, 2.5.1, 2.5.2, 2.5.3,
   2.5.12, 2.5.13, 2.5.17, 2.5.18, 2.5.21, 2.5.25, 2.6.0, 2.7.0, 2.7.1,
   2.7.2, 2.7.4, 2.7.6, 2.7.10, 2.7.11, 2.7.12, 2.7.13, 2.7.14, 2.7.15,
   2.7.22, 2.7.24, 2.7.28, 2.7.29, 2.7.30, 2.7.31, 2.7.32, 2.7.32,
   2.7.36, 2.7.40, 2.9.4, 2.9.6, 2.9.9, 2.9.11, 2.9.13, 2.9.16, 2.9.19,
   2.10.0, 2.10.10
  
   There is a warning, but doesn't seem to be any indication of anything
   seriously wrong.  However, running lilypond on the output file I get:
  
   error: can't find music object: OldLyricCombineMusic
  
   What would I need to tweak to get this working properly?  Or is 1.4.12
   just so old that it is not worth converting?
  
   Thanks,
  
   Joe
  
  
   ___
   lilypond-user mailing list
   lilypond-user@gnu.org
   http://lists.gnu.org/mailman/listinfo/lilypond-user
  
  
  
 
 
 

  --
  =
 Mats Bengtsson
 Signal Processing
 School of Electrical Engineering
 Royal Institute of Technology (KTH)
 SE-100 44  STOCKHOLM
 Sweden
 Phone: (+46) 8 790 8463
Fax:   (+46) 8 790 7260
 Email: [EMAIL PROTECTED]
 WWW: http://www.s3.kth.se/~mabe
  =




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: custom metronome-markup procedure causes weird goops-error

2008-04-29 Thread Neil Puttock
2008/4/29 Valentin Villenave [EMAIL PROTECTED]:

  Nicolas: great! The LSR snippet has been updated. Many thanks.

That's excellent. I've tagged it as docs so we can remove the snippet
in input/new.

For those who care about MIDI, I've fixed the snippet. :p

Regards,
Neil


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: custom metronome-markup procedure causes weird goops-error

2008-04-29 Thread Valentin Villenave
2008/4/29 Neil Puttock [EMAIL PROTECTED]:

  That's excellent. I've tagged it as docs so we can remove the snippet
  in input/new.

I didn't know what it felt like to have someone else taking care of the LSR...

Feels great actually :-)

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Make left and right margin with text in it

2008-04-29 Thread Maarten Deen

How do I accomplish the example in the attachment?
- make a larger right margin for one line and put text (preferably split in two 
lines) in that margin

- make a left margin for one line and put text in there

I suspect that this can be done with \override, but I can't find the exact 
command for it.
The text in the left margin can be done with \set Staff.instrumentName but that 
does not indent the line.


Maarten
inline: score.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


2.11.45-2...

2008-04-29 Thread Stan Sanderson

...on Mac OS 10.4 PPC now loads and runs as expected.

Thanks!

Stan




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPondTool 2.10.4-2 (help fix) released

2008-04-29 Thread m.lanoiselee


...

 A (maybe) related question...

 Is there anyway to turn off autocomplete, add my own items 
to the autocomplete

 list or to make the spacebar _not_ do an autocomplete?
.

plugin - plugin Options
Global Options
JEdit
Abbreviations
Spacebarexpand abbrews

  Amicalement

Marc Lanoiselée



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPondTool 2.10.4-2 (help fix) released

2008-04-29 Thread Bertalan Fodor

Your items (ie. command definitions) are automatically added to the list.
I'm afraid you can not make the spacebar not do an autocomplete. It's my 
fault. I'll fix it in the next release. Use ESC before pressing space 
for those. Sorry.


Bert


m.lanoiselee írta:


...

 A (maybe) related question...

 Is there anyway to turn off autocomplete, add my own items to the 
autocomplete

 list or to make the spacebar _not_ do an autocomplete?
.

plugin - plugin Options
Global Options
JEdit
Abbreviations
Spacebarexpand abbrews

  Amicalement

Marc Lanoiselée



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Make left and right margin with text in it

2008-04-29 Thread Neil Puttock
Hi Maarten,

2008/4/29 Maarten Deen [EMAIL PROTECTED]:
 How do I accomplish the example in the attachment?

Why not take advantage of the fact that the Trio is a separate
movement, and have two scores in a \book; then you'll get the Trio
indent for free. Here's one way of doing it:

\version 2.11.45
\book {
  \score {
\new Staff \relative c'' {
  % make sure text on right stays within margin
  \override Score.PaperColumn #'keep-inside-line = ##t
  \time 2/4
  \repeat volta 2 {
r8 c16 c c8 c
c c c c
r c r c16 c
b8 b r c
  }
  \alternative {
{
  r e16 e e8 e
  e r r4
}
{
  e8 r r4
  r g,8 e'
}
  }
  \bar ||
  \stopStaff
  % hide anchor note for text
  \hideNotes
  % get text as close to note as possible
  \override TextScript #'Y-offset = #'()
  c,1^\markup { \override #'(baseline-skip . 2.5) \column {
Repeat first part then Trio } }
}
\layout {
  % only required if there's only one stave in this score
  indent = 0.0\cm
}
  }
  \score {
\new Staff \relative c'' {
  \set Staff.instrumentName = \markup \huge Trio
  \time 2/4
  % we know the time signature already, kill this one
  \once \override Staff.TimeSignature #'stencil = ##f
  \grace { \stemDown c16[^( d e]) } f8 r f r
  f r a,8. a16
  % using \bar here for convenience
  \bar |:
  a4 a
  a a
  c2 ~
  c8 r a8. a16
}
% only required in version 2.11.45 to override new default behaviour
\layout { ragged-right = ##f }
  }
}

Regards,
Neil


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPondTool 2.10.4-2 (help fix) released

2008-04-29 Thread Valentin Villenave
2008/4/29 Matthew [EMAIL PROTECTED]:

  A (maybe) related question...

  Is there anyway to turn off autocomplete, add my own items to the 
 autocomplete
  list or to make the spacebar _not_ do an autocomplete?

Plugin Options  Sidekick  Accept characters for completion 
delete the first backslash \

  I've got a bunch of small macros that keep getting expanded into the wrong 
 one
  eg \dr - \DrumStaff (even though d != D)

Yes, It does the same here. But if you follow these instructions it
will become less annoying.

See also
http://sourceforge.net/mailarchive/forum.php?thread_name=9abf2e4b0707171356v2e667a9cmd9e8af34e85b1202%40mail.gmail.comforum_name=lily4jedit-user

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPondTool 2.10.4-2 (help fix) released

2008-04-29 Thread Matthew Rowles
2008/4/30 Valentin Villenave [EMAIL PROTECTED]:
 2008/4/29 Matthew [EMAIL PROTECTED]:


A (maybe) related question...
  
Is there anyway to turn off autocomplete, add my own items to the 
 autocomplete
list or to make the spacebar _not_ do an autocomplete?

  Plugin Options  Sidekick  Accept characters for completion 
  delete the first backslash \


I've got a bunch of small macros that keep getting expanded into the 
 wrong one
eg \dr - \DrumStaff (even though d != D)

  Yes, It does the same here. But if you follow these instructions it
  will become less annoying.

  See also
  
 http://sourceforge.net/mailarchive/forum.php?thread_name=9abf2e4b0707171356v2e667a9cmd9e8af34e85b1202%40mail.gmail.comforum_name=lily4jedit-user

  Cheers,
  Valentin




Yep, found the \  option in the plugin options. It's now disabled
and my life is a lot better!


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lilypondtool version question

2008-04-29 Thread Stan Sanderson

Bertalan-

I'm confused. The SourceForge site and the recent discussion refers  
to LilyPondTool v. 2.10.4-2.


jEdit (v. 4.3pre14) reports that I am running LilyPondTool v 2.10.15.  
Is there a rogue tool running around?


(Mac OS 10.4.11, ppc)

Stan




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypondtool version question

2008-04-29 Thread Bertalan Fodor

2.10.4-2 is actually 2.10.15.



Stan Sanderson írta:

Bertalan-

I'm confused. The SourceForge site and the recent discussion refers to 
LilyPondTool v. 2.10.4-2.


jEdit (v. 4.3pre14) reports that I am running LilyPondTool v 2.10.15. 
Is there a rogue tool running around?


(Mac OS 10.4.11, ppc)

Stan







___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPondTool 2.10.4-2 (help fix) released

2008-04-29 Thread Bertalan Fodor
Wow, I thought I have overridden this sidekick option. It seems I was 
not so dumb. :-)

Yep, found the \  option in the plugin options. It's now disabled
and my life is a lot better!


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

  




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


What's a moment?

2008-04-29 Thread Peter Chubb
Hi,
Reading the scheme code and the documentation, I'm struggling
with the concept of a moment in Lilypond.  The documentation says it's
a rational number that represents a moment in musical time.
Therefore there should be a way to add a duration to a moment to get
another moment.  But there doesn't seem to be.  Likewise, there *are*
functions for adding, subtracting, multiplying and dividing moments.
Which makes no sense if a moment is a point in time.

So what *is* a moment?  What do the numerator and denominator
represent?  Beats?  Bar numbers?  Milliseconds from the start of the
piece?  Inquiring minds want to know.


--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
A university is a non-profit organisation only in the sense that it
spends everything it gets  ... Luca Turin.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user