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
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.
-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
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
-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
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
-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
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
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 {
-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
-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
-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
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
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
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
, 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
.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
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
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
19 matches
Mail list logo