Re: Automatic octaves

2014-01-11 Thread David Kastrup
Daniel Rosen drose...@gmail.com writes: myoctavate = #(define-music-function (parser location music) (ly:music?) (make-relative (music) music #{ \context Bottom $music \transpose c c' $music #})) \relative { \myoctavate { a b c d } e f g a } That gets me the attached

Re: Automatic octaves

2014-01-11 Thread Kieren MacMillan
Hi David (and Daniel), Kieren's solution does not actually work. I had a nagging suspicion it wouldn’t work in every situation… =\ See URL:http://code.google.com/p/lilypond/issues/detail?id=3797 which will, once completed, fix this problem. Looking forward to that! Best, Kieren.

RE: Automatic octaves

2014-01-10 Thread Daniel Rosen
-Original Message- From: Eluze [mailto:elu...@gmail.com] Sent: Sunday, January 05, 2014 2:31 PM To: lilypond-user@gnu.org Subject: Re: Automatic octaves instead of this (broken) snippet you could use dak's most elegant and short proposal: http://lilypond.1069038.n5.nabble.com

Re: Automatic octaves

2014-01-10 Thread Kieren MacMillan
Hi Daniel, Does this work? \version 2.18.0 \version 2.18.0 myoctavate = #(define-music-function (parser location music) (ly:music?) #{ \context Bottom $music \transpose c c' \relative $music #}) \relative { \myoctavate { a b c d } e f g a } %% Instead of \myoctavate \relative { a b c d e f

RE: Automatic octaves

2014-01-10 Thread Daniel Rosen
-Original Message- From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca] Sent: Friday, January 10, 2014 10:42 AM To: Daniel Rosen Cc: Eluze; Lilypond-User Mailing List Subject: Re: Automatic octaves Hi Daniel, Does this work? \version 2.18.0 \version 2.18.0

Re: Automatic octaves

2014-01-10 Thread David Kastrup
Daniel Rosen drose...@gmail.com writes: -Original Message- From: Eluze [mailto:elu...@gmail.com] Sent: Sunday, January 05, 2014 2:31 PM To: lilypond-user@gnu.org Subject: Re: Automatic octaves instead of this (broken) snippet you could use dak's most elegant and short proposal

RE: Automatic octaves

2014-01-10 Thread Daniel Rosen
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Friday, January 10, 2014 11:31 AM To: Daniel Rosen Cc: Eluze; lilypond-user@gnu.org Subject: Re: Automatic octaves You could use dak's most elegant make-relative macro... myoctavate = #(define-music-function

Re: Automatic octaves

2014-01-10 Thread David Kastrup
Daniel Rosen drose...@gmail.com writes: -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Friday, January 10, 2014 11:31 AM To: Daniel Rosen Cc: Eluze; lilypond-user@gnu.org Subject: Re: Automatic octaves You could use dak's most elegant make-relative macro

Re: Automatic octaves

2014-01-10 Thread Eluze
Am 10.01.2014 16:53, schrieb Daniel Rosen: The other thing about the broken snippet, though, is that it allowed the user to choose both the direction of octavation and the number of octaves. Is there any way for this kind of functionality to be added here? E.g. \relative { \myoctavate #-1 {

RE: Automatic octaves

2014-01-10 Thread Daniel Rosen
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Friday, January 10, 2014 12:19 PM To: Daniel Rosen Cc: Eluze; lilypond-user@gnu.org Subject: Re: Automatic octaves Daniel Rosen drose...@gmail.com writes: -Original Message- From: David Kastrup

RE: Automatic octaves

2014-01-06 Thread Daniel Rosen
-Original Message- From: Daniel Rosen Sent: Monday, January 06, 2014 11:35 AM To: 'Mark Stephen Mrotek'; 'Pierre Perol-Schneider' Cc: lilypond-user@gnu.org Subject: RE: Automatic octaves -Original Message- From: Mark Stephen Mrotek [mailto:carsonm...@ca.rr.com] Sent

RE: Automatic octaves

2014-01-06 Thread Daniel Rosen
-Original Message- From: Mark Stephen Mrotek [mailto:carsonm...@ca.rr.com] Sent: Sunday, January 05, 2014 12:39 PM To: Daniel Rosen; 'Pierre Perol-Schneider' Cc: lilypond-user@gnu.org Subject: RE: Automatic octaves Gentlemen, If each pitch name is enclosed in , the octaves

Re: Automatic octaves

2014-01-05 Thread Pierre Perol-Schneider
2014/1/5 Daniel Rosen drose...@gmail.com Is someone able to update it? A standart update works fine. Here you go : % \version 2.18.0 #(define (octave-up m t) (let* ((octave (1- t)) (new-note (ly:music-deep-copy m)) (new-pitch (ly:make-pitch octave

RE: Automatic octaves

2014-01-05 Thread Daniel Rosen
From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] Sent: Sunday, January 05, 2014 5:42 AM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Automatic octaves A standart update works fine. Here you go : Pierre, This doesn't change anything for me

RE: Automatic octaves

2014-01-05 Thread Mark Stephen Mrotek
To: Pierre Perol-Schneider Cc: lilypond-user@gnu.org Subject: RE: Automatic octaves From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] Sent: Sunday, January 05, 2014 5:42 AM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Automatic octaves A standart update works fine

RE: Automatic octaves

2014-01-05 Thread TaoCG
, January 05, 2014 8:52 AM To: Pierre Perol-Schneider Cc: lilypond-user@ Subject: RE: Automatic octaves From: Pierre Perol-Schneider [mailto: pierre.schneider.paris@ ] Sent: Sunday, January 05, 2014 5:42 AM To: Daniel Rosen Cc: lilypond-user@ Subject: Re: Automatic octaves

Re: Automatic octaves

2014-01-05 Thread Eluze
.n5.nabble.com/Re-Automatic-octaves-tp157172p157199.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Automatic octaves snippet is broken in 2.15(.36)

2012-07-17 Thread Thomas Morley
2012/7/17 James Harkins jamshar...@gmail.com: http://lsr.dsi.unimi.it/LSR/Item?id=445 Adding automatic octaves to a melody no longer works (at least in 2.15.36). LP throws no errors and successfully produces a PDF, but it renders the notes exactly as written in the original music

Re: Automatic octaves snippet is broken in 2.15(.36)

2012-07-17 Thread James Harkins
At Tue, 17 Jul 2012 22:30:35 +0200, Thomas Morley wrote: See, http://lists.gnu.org/archive/html/lilypond-user/2012-03/msg00114.html code by David Kastrup (typo corrected) Perfect, thanks. (I'm a bit googled out, after a less-than-smooth upgrade to Ubuntu Precise...) hjh -- James Harkins