Re: Variable names

2011-05-14 Thread Keith OHara
Richard Sabey richardsabey at hotmail.co.uk writes: Carl Sorensen wrote: The core problem is -- how do you distinguish between a2 c (two notes) and a2c (you want it to be a variable) - currently it will be two notes. I might have missed something here, but: in what circumstances can

Variable names

2011-05-13 Thread Jakub Pavlík
I have tried to find some description of the valid syntax of LilyPond variables and haven't found any. I would like to use variable names with numbers and possibly with underscores - is it somehow possible? a2c = { a a a } % doesn't work a_c = { a a a } % also doesn't work Thanks, Jakub Pavlík

Re: Variable names

2011-05-13 Thread -Eluze
Jakub Pavlík jn. wrote: I have tried to find some description of the valid syntax of LilyPond variables and haven't found any. I would like to use variable names with numbers and possibly with underscores - is it somehow possible? NR 3.1.5 File structure: The name of a variable should

Re: Variable names

2011-05-13 Thread Phil Holmes
See http://lilypond.org/doc/v2.13/Documentation/notation/file-structure Phil Holmes - Original Message - From: Jakub Pavlík seve...@post.cz To: lilypond-user@gnu.org Sent: Friday, May 13, 2011 11:32 AM Subject: Variable names I have tried to find some description of the valid

Re: Variable names

2011-05-13 Thread Francisco Vila
2011/5/13 Phil Holmes m...@philholmes.net: See http://lilypond.org/doc/v2.13/Documentation/notation/file-structure Yes but names with accented and other special characters are valid. música = { c' } España = \lyricmode { España } cigüeña = \lyricmode { cigüeña } { \música } \addlyrics {

RE: Variable names

2011-05-13 Thread Ed Ardzinski
clean and easy to alter... I would like to use variable names with numbers and possibly with underscores - is it somehow possible? a2c = { a a a } % doesn't work a_c = { a a a } % also doesn't work Thanks, Jakub Pavlík

Re: Variable names

2011-05-13 Thread Carl Sorensen
On 5/13/11 4:32 AM, Jakub Pavlík seve...@post.cz wrote: I have tried to find some description of the valid syntax of LilyPond variables and haven't found any. I would like to use variable names with numbers and possibly with underscores - is it somehow possible? Unfortunately

Re: Variable names

2011-05-13 Thread Janek Warchoł
2011/5/13 Carl Sorensen c_soren...@byu.edu On 5/13/11 4:32 AM, Jakub Pavlík seve...@post.cz wrote: I have tried to find some description of the valid syntax of LilyPond variables and haven't found any. I would like to use variable names with numbers and possibly with underscores

Re: Variable names

2011-05-13 Thread Carl Sorensen
like to use variable names with numbers and possibly with underscores - is it somehow possible? Unfortunately, no. I'm just curious... Do you know how much work would it take to change it? Like, some work, a lot of work, tons of work or rewriting whole Lily? It would introduce a bunch

Re: Variable names

2011-05-13 Thread Carl Sorensen
like to use variable names with numbers and possibly with underscores - is it somehow possible? Unfortunately, no. I'm just curious... Do you know how much work would it take to change it? Like, some work, a lot of work, tons of work or rewriting whole Lily? The core problem is -- how do you

Re: Variable names

2011-05-13 Thread Hans Aberg
On 13 May 2011, at 16:05, Carl Sorensen wrote: I have tried to find some description of the valid syntax of LilyPond variables and haven't found any. I would like to use variable names with numbers and possibly with underscores - is it somehow possible? Unfortunately, no. I'm just

RE: Variable names

2011-05-13 Thread Richard Sabey
Carl Sorensen wrote: The core problem is -- how do you distinguish between a2 c (two notes) and a2c (you want it to be a variable) - currently it will be two notes. I might have missed something here, but: in what circumstances can a pitch-name and a variable-name both be legal? Inside a music

Re: Variable names

2011-05-13 Thread David Kastrup
Richard Sabey richardsa...@hotmail.co.uk writes: Carl Sorensen wrote: The core problem is -- how do you distinguish between a2 c (two notes) and a2c (you want it to be a variable) - currently it will be two notes. I might have missed something here, but: in what circumstances can a pitch

Re: Variable names

2011-05-13 Thread Keith OHara
David Kastrup dak at gnu.org writes: Richard Sabey richardsabey at hotmail.co.uk writes: in what circumstances can a pitch-name and a variable-name both be legal? Inside a music expression, if it comes immediately after a backslash, it can't be a pitch-name, and if it doesn't come

Variable line thicknesses in LilyPond 2.13/2.14 ?

2011-04-04 Thread Paul Morris
I saw this in the new features list for LilyPond 2.13/14: Aesthetics of shape note heads have been enhanced. Variable line thicknesses have been implemented. [...] I am curious what variable line thicknesses means here? Does it mean you can set the thickness of individual staff lines

Re: control notelength via variable?

2011-03-21 Thread Dmytro O. Redchuk
On Sat 19 Mar 2011, 12:15 TaoCG wrote: Hi, Hi! I need to control the length of rest and notes with a variable. something like: len = 2 r\len this doesn't work of course but is there a way to do this? I tried overriding duration-log but it only changes the visual appearance. Strange

Re: control notelength via variable?

2011-03-21 Thread David Kastrup
Dmytro O. Redchuk brownian@gmail.com writes: On Sat 19 Mar 2011, 12:15 TaoCG wrote: Hi, Hi! I need to control the length of rest and notes with a variable. something like: len = 2 r\len this doesn't work of course but is there a way to do this? I tried overriding duration-log

Re: control notelength via variable?

2011-03-21 Thread Dmytro O. Redchuk
On Mon 21 Mar 2011, 09:30 David Kastrup wrote: Not particularly. You can intersperse Scheme expressions with music events, and they are evaluated and the value, in general, is ignored. Nothing more, nothing less. With one exception: #(define len (ly:export (ly:make-duration 1 0))) {

Re: control notelength via variable?

2011-03-21 Thread TaoCG
David Kastrup wrote: On Sat 19 Mar 2011, 12:15 TaoCG wrote: Hi, Hi! I need to control the length of rest and notes with a variable. something like: len = 2 r\len this doesn't work of course but is there a way to do this? I tried overriding duration-log but it only changes

control notelength via variable?

2011-03-19 Thread TaoCG
Hi, I need to control the length of rest and notes with a variable. something like: len = 2 r\len this doesn't work of course but is there a way to do this? I tried overriding duration-log but it only changes the visual appearance. Regards, Tao -- View this message in context: http

Re: \score block as variable/function

2011-03-18 Thread -Eluze
thanks! i have attached an example with score + layout definitions which you can imbed later in markups or scores: http://old.nabble.com/file/p31180922/test2.ly test2.ly hope this is what you looked for Eluze -- View this message in context: http://old.nabble.com/%5Cscore-block-as-variable

Re: \score block as variable/function

2011-03-18 Thread Xavier Scheuer
On 18 March 2011 14:00, -Eluze elu...@gmail.com wrote: i have attached an example with score + layout definitions which you can imbed later in markups or scores: http://old.nabble.com/file/p31180922/test2.ly test2.ly hope this is what you looked for My goal is actually _not_ to have to

Re: \score block as variable/function

2011-03-18 Thread -Eluze
props music) (ly:music?) (let ((score (ly:make-score music)) (score-layout (ly:output-def-clone $defaultlayout))) ;; possibly, change some settings in the \layout block (ly:output-def-set-variable! score-layout 'indent 0) ;; add the \layout block to the score

Re: \score block as variable/function

2011-03-17 Thread Xavier Scheuer
On 15 March 2011 00:01, Neil Puttock n.putt...@gmail.com wrote: You want a markup identifier, so all you need to do is put \markup before \score: scoreOne = \markup \score { c'1 \layout {} % required! } \markup { \column { \scoreOne } } Thanks Neil! This works

\score block as variable/function

2011-03-14 Thread Xavier Scheuer
Hi, I use \score blocks inside \markup in constructions like this one: \markup { \fill-line { \score { c'1 \layout {} % required! } \score { d'1 \layout {} } } } but it is heavy. I would like to define the \score blocks as variables or as music

Re: \score block as variable/function

2011-03-14 Thread Neil Puttock
On 14 March 2011 19:11, Xavier Scheuer x.sche...@gmail.com wrote: I would like to define the  \score  blocks as variables or as music functions.  Unfortunately it seems impossible. I tried  scoreOne = \score {    c'1    \layout {}  % required!  }  \markup {    \column {      

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-24 Thread Xavier Scheuer
On 24 January 2011 07:53, Jürgen Ibelgaufts juri...@gmx.de wrote: hi, maybe I'm missing something. I did not try your solution, but I suppose it works fine. but how would you append lyrics? \addlyrics gives a syntax error (unexpected \addlyrics), and \lyricsto requires different named voice

Re: How to tie the last note of one variable to the first note ofanother variable?

2011-01-24 Thread Robin Bannister
Xavier Scheuer wrote: [...] James Bailey wrote: I haven't checked it, but they're probably in different voice contexts. Possible explicity doing a \new Voice = first and \context Voice = first where appropriate may solve the problem. Yes, or simply putting all in a \new Voice works:

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-24 Thread Jürgen Ibelgaufts
. Many thanks for your advice anyway, it helps me getting rid of many unnecessary lines of code. Cheers Jürgen -- View this message in context: http://old.nabble.com/How-to-tie-the-last-note-of-one-variable-to-the-first-note-of-another-variable--tp30737881p30748073.html Sent from the Gnu - Lilypond

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-23 Thread Jürgen Ibelgaufts
this? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://old.nabble.com/How-to-tie-the-last-note-of-one-variable-to-the-first-note-of-another-variable

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-23 Thread Xavier Scheuer
On 22 January 2011 20:07, James Bailey derhindem...@googlemail.com wrote: I haven't checked it, but they're probably in different voice contexts. Possible explicity doing a \new Voice = first and \context Voice = first where appropriate may solve the problem. Yes, or simply putting all in a

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-23 Thread Jürgen Ibelgaufts
/listinfo/lilypond-user -- View this message in context: http://old.nabble.com/How-to-tie-the-last-note-of-one-variable-to-the-first-note-of-another-variable--tp30737881p30746146.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-22 Thread Patrick Schmidt
\version 2.13.42 partOne = \relative c' { c4 e g e~ } partTwo = \relative c' { e1 c4 e g e~ e1 } \score { \new PianoStaff \set PianoStaff.midiInstrument = acoustic grand \new Staff { \set tieWaitForNote = ##t \tempo 4 = 120

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-22 Thread James Bailey
On Jan 22, 2011, at 7:24 PM, Disc Magnet wrote: partOne = \relative c' { c4 e g e~ } partTwo = \relative c' { e1 c4 e g e~ e1 } \score { \new PianoStaff \set PianoStaff.midiInstrument = acoustic grand \new Staff { \tempo 4 = 120

Re: Using markup in a variable in \header

2010-11-03 Thread Christopher Meredith
On Tue, Nov 2, 2010 at 10:02 PM, Reinhold Kainhofer reinh...@kainhofer.comwrote: Am Mittwoch, 3. November 2010, um 03:24:02 schrieb Christopher Meredith: I use variables at the beginning of the main template for fixed text fields, like so: Title = O Lord, Our King Rejoices Have you

Using markup in a variable in \header

2010-11-02 Thread Christopher Meredith
} But I want to use some markup within the Title variable. Specifically, I want Lord to be in smallCaps. No matter how I try to accomplish this, I get errors. I am using 2.12.3. Can this be done? Thanks! ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Using markup in a variable in \header

2010-11-02 Thread Reinhold Kainhofer
Am Mittwoch, 3. November 2010, um 03:24:02 schrieb Christopher Meredith: I use variables at the beginning of the main template for fixed text fields, like so: Title = O Lord, Our King Rejoices Have you ever tried something like Title = \markup{O \smallCaps{Lord,} Our King Rejoices} \header

scheme variable for tempo

2010-07-28 Thread michael webster
the tempo. Ideally I could set some kind of variable for the tempo and have the metric modulations alter it, so that they would perform as expected in every situation. So for example \quarterEqualsDottedEighth would increase the tempo by 4/3. any thoughts? Thanks in advance

scheme variable for tempo

2010-07-27 Thread michael webster
the tempo. Ideally I could set some kind of variable for the tempo and have the metric modulations alter it, so that they would perform as expected in every situation. So for example \quarterEqualsDottedEighth would increase the tempo by 4/3. any thoughts? Thanks in advance

Re: scheme variable for tempo

2010-07-27 Thread Neil Puttock
On 27 July 2010 18:54, michael webster semiqua...@mac.com wrote: Simple enough. But what I am after is a way to have these prefab modulations affect the tempo. Ideally I could set some kind of variable for the tempo and have the metric modulations alter it, so that they would perform

Re: scheme variable for tempo

2010-07-27 Thread Neil Puttock
On 27 July 2010 21:28, Neil Puttock n.putt...@gmail.com wrote:         (ly:context-set-property ctx 'tempoWholesPerMinute Oops, this should read ly:context-set-property! Cheers, Neil ___ lilypond-user mailing list lilypond-user@gnu.org

Re: scheme variable for tempo

2010-07-27 Thread Neil Puttock
On 27 July 2010 21:30, Neil Puttock n.putt...@gmail.com wrote: Oops, this should read ly:context-set-property! OK, let's try once more. :) I promise it'll work this time: \score { \relative c' { \tempo 4 = 60 c4 c c c c4 c c c \context Timing \applyContext #(lambda (ctx)

Macro or variable for sequence of notes that repeat often?

2010-06-12 Thread Disc Magnet
. Is there a way to make a macro or a variable and store 'c d e f g a b c' in it and reuse it whenever required? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Macro or variable for sequence of notes that repeat often?

2010-06-12 Thread D'Arcy J.M. Cain
d e f g a b c So, you can see that 'c d e f g a b c' is repeated again and again. Is there a way to make a macro or a variable and store 'c d e f g a b c' in it and reuse it whenever required? Riff1 = {c d e f g a b c} ... \Riff1 -- D'Arcy J.M. Cain Big Smoke Music http://BigSmokeMusic.com

Re: Macro or variable for sequence of notes that repeat often?

2010-06-12 Thread Disc Magnet
f g a b c c c c d d d e e a b a b c c d d c d e f g a b c f e fe f e g g g c d e f g a b c So, you can see that 'c d e f g a b c' is repeated again and again. Is there a way to make a macro or a variable and store 'c d e f g a b c' in it and reuse it whenever required? Riff1 = {c d e f g

Re: Macro or variable for sequence of notes that repeat often?

2010-06-12 Thread James Bailey
in the music. Here is a hypothetical example. c d e f g a b c c c c d d d e e a b a b c c d d c d e f g a b c f e fe f e g g g c d e f g a b c So, you can see that 'c d e f g a b c' is repeated again and again. Is there a way to make a macro or a variable and store 'c d e f g a b c' in it and reuse

Re: Macro or variable for sequence of notes that repeat often?

2010-06-12 Thread Disc Magnet
. Is there a way to make a macro or a variable and store 'c d e f g a b c' in it and reuse it whenever required? Riff1 = {c d e f g a b c} ... \Riff1 Thanks. I have many arpeggios in my piece as well. So, I'm planning to to use it in ths manner: dMinor = {d f a f d f a f} and use \dMinor

Using a variable twice but in different octaves

2010-06-12 Thread Disc Magnet
I have a variable like this: riff = {d f a f d f a f} I want to include it twice in my staff but the first time it is used it is relative to c' and the second time it is relative to c''. How can this be done? ___ lilypond-user mailing list lilypond

Re: Using a variable twice but in different octaves

2010-06-12 Thread Federico Bruni
Il giorno sab, 12/06/2010 alle 22.41 +0530, Disc Magnet ha scritto: I have a variable like this: riff = {d f a f d f a f} I want to include it twice in my staff but the first time it is used it is relative to c' and the second time it is relative to c''. How can this be done? Have you

Re: Using a variable twice but in different octaves

2010-06-12 Thread Xavier Scheuer
2010/6/12 Disc Magnet discmag...@gmail.com: I have a variable like this: riff = {d f a f d f a f} I want to include it twice in my staff but the first time it is used it is relative to c' and the second time it is relative to c''. How can this be done? \relative c' \riff \relative c

Store values in a scheme variable to use after

2010-06-05 Thread josé henrique padovani
Hi... I'm trying to store a NoteHead's position (by using scheme functions) to be abble to use this value after (as a string in a markup)... To do that I define a variable (myvar with the string init) and then I use tweak to set! myvar to its new value... But when I call myvar from a markup

Reference variable in include file?

2009-12-24 Thread Tom Dickson
I have a \score block at the end of each file that is basically the same, so I want to move it to an \include. However, the one line that can change is the \tempo 4 = 72 line. I tried to define variables in the calling file: noteName = 4 noteTempo = 72 but \tempo \noteName = \noteTempo did

function variable question

2009-12-18 Thread Hugh Myers
Given: flashNote = #(define-music-function (parser location note)(ly:music?) #{ $note s2. \pageBreak #} ) I'd like to modify it so that a fixed duration for the note can be within the function rather than in the calling sequence. Like so: instead of \flashNote e,4 I'd rather

Re: function variable question

2009-12-18 Thread Alexander Kobel
Hugh Myers wrote: Given: flashNote = #(define-music-function (parser location note)(ly:music?) #{ $note s2. \pageBreak #} ) I'd like to modify it so that a fixed duration for the note can be within the function rather than in the calling sequence. [...] I've tried various versions of

Re: function variable question

2009-12-18 Thread Hugh Myers
Thanks again Alexander--- thats the third time today you've bailed me out! Hope I can return same someday. --hgsm On Fri, Dec 18, 2009 at 3:49 PM, Alexander Kobel n...@a-kobel.de wrote: Hugh Myers wrote: Given: flashNote = #(define-music-function (parser location note)(ly:music?) #{  $note

Re: function variable question

2009-12-18 Thread Alexander Kobel
Hugh Myers wrote: Thanks again Alexander--- thats the third time today you've bailed me out! Hope I can return same someday. You're welcome. If it's not me whom you can help, it's someone else. Just fair - I've been there, too, and there have benn others... :-) Cheers, Alexander

Re: calling a music variable using a Scheme function

2009-09-03 Thread Valentin Villenave
On Fri, Jul 24, 2009 at 10:51 AM, Nicolas Sceauxnicolas.sce...@free.fr wrote: %% UNTESTED! includeList = #(define-music-function (parser location variable-names) (list?)  (make-sequential-music   (map (lambda (variable-name)          (let ((music (ly:parser-lookup parser (string-symbol

Re: calling a music variable using a Scheme function

2009-09-03 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 3. September 2009 10:47:52 schrieb Valentin Villenave: - why does scorify-music fail here? includeList = #(define-music-function (parser location variable-names) (list?) (map (lambda (variable-name) (let ((music (make

Re: calling a music variable using a Scheme function

2009-09-03 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 3. September 2009 11:29:48 schrieb Reinhold Kainhofer: - how can I add a \header block for each \score produced In the OrchestralLily package (http://www.repo.or.cz/w/orchestrallily.git), I'm using this to assign a piece name to a

Re: calling a music variable using a Scheme function

2009-09-03 Thread Valentin Villenave
On Thu, Sep 3, 2009 at 11:29 AM, Reinhold Kainhoferreinh...@kainhofer.com wrote: You have to use let* instead of let. With let* the definitions are evaluated in the given order and can depend on each other. With let, you cannot use one of the variables in the value of another. Oh, thanks.

Re: calling a music variable using a Scheme function

2009-09-03 Thread Reinhold Kainhofer
normal markup for the piece titles, while I prefer setting the piece variable in the header block, so that the piece title markup is actually used. Notice however, that Nicolas did not create a header block, but copies the layout block! Cheers, Reinhold

Re: calling a music variable using a Scheme function

2009-09-03 Thread Nicolas Sceaux
Le 3 sept. 09 à 10:47, Valentin Villenave a écrit : On Fri, Jul 24, 2009 at 10:51 AM, Nicolas Sceauxnicolas.sce...@free.fr wrote: %% UNTESTED! includeList = #(define-music-function (parser location variable-names) (list?) (make-sequential-music (map (lambda (variable-name) (let

Re: calling a music variable using a Scheme function

2009-07-24 Thread Valentin Villenave
2008/12/19 Nicolas Sceaux nicolas.sce...@free.fr: Your function does not work as you expect because it just returns an empty SequentialMusic. Only the return value of the music function gets inserted in the current music. Read scm/parser-ly-from-scheme.scm, function parse-string-result. Hi

Re: calling a music variable using a Scheme function

2009-07-24 Thread Nicolas Sceaux
! includeList = #(define-music-function (parser location variable-names) (list?) (make-sequential-music (map (lambda (variable-name) (let ((music (ly:parser-lookup parser (string-symbol variable-name (if (ly:music? music) music (make

Re: calling a music variable using a Scheme function

2009-07-24 Thread Valentin Villenave
2009/7/24 Nicolas Sceaux nicolas.sce...@free.fr: And `for-each' does not return a list, you want `map' here. Of course I do! Silly me. Thanks for your patience :-) Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org

Variable substitution in postscript?

2009-05-25 Thread Eric Knapp
#}) Usage: \sample #0.25 bf2 What I want to do is have the value of the thickness variable replace the 0.25 in the postscript. I've tried everything that I can think of and have also looked in some postscript documentation. Is there a way to do this? It would allow me to solve a lot of things I want

Re: Variable substitution in postscript?

2009-05-25 Thread Mark Polesky
Eric Knapp wrote: What I want to do is have the value of the thickness variable replace the 0.25 in the postscript. Eric, the ly:format function http://lilypond.org/doc/v2.13/Documentation/user/lilypond-internals/Scheme-functions.html#index-ly_003aformat is loosely based on the guile format

Re: Variable substitution in postscript?

2009-05-25 Thread Eric Knapp
Thanks, Mark. This works and will really help with the custom things I want to do. -Eric On Monday, May 25, 2009, Mark Polesky markpole...@yahoo.com wrote: Eric Knapp wrote: What I want to do is have the value of the thickness variable replace the 0.25 in the postscript. Eric

Re: Dashed, variable-thickness slurs

2009-04-19 Thread Graham Percival
On Fri, Apr 17, 2009 at 07:31:26AM -0600, Carl D. Sorensen wrote: On 4/17/09 7:26 AM, Ian Hulin i...@hulin.org.uk wrote: I'll comment on the bits I feel qualified on: the documentation bits. It's taken me while following the threads on lilypond-devel and lilypond-user to work out

Re: Dashed, variable-thickness slurs

2009-04-19 Thread Carl D. Sorensen
On 4/19/09 1:16 AM, Graham Percival gra...@percival-music.ca wrote: On Fri, Apr 17, 2009 at 07:31:26AM -0600, Carl D. Sorensen wrote: I think it's been a great learning process for everybody involved, but I personally would work on either personal stuff (I want it!), popular-requested

Re: Dashed, variable-thickness slurs

2009-04-19 Thread Graham Percival
On Sun, Apr 19, 2009 at 08:29:45AM -0600, Carl D. Sorensen wrote: On 4/19/09 1:16 AM, Graham Percival gra...@percival-music.ca wrote: I think it's been a great learning process for everybody involved, but I personally would work on either personal stuff (I want it!), popular-requested

Re: Dashed, variable-thickness slurs

2009-04-17 Thread Kieren MacMillan
Hi Carl, I've posted a patch for approval that implements variable thickness dashed and part-dashed, part-solid slurs. I hope it will be fully implemented in 2.13.1. When I posted my comment about this, I never imagined it would get solved so quickly. Amazing! As a preview, here's

Re: Dashed, variable-thickness slurs

2009-04-17 Thread Ian Hulin
from the composer's manuscript. Is there a slot in the documentation that covers the usage of all this fancy slur-sign stuff (LR NR)? Cheers, Ian Carl D. Sorensen wrote: Dear LilyPond users, I've posted a patch for approval that implements variable thickness dashed and part-dashed, part

Dashed, variable-thickness slurs

2009-04-16 Thread Carl D. Sorensen
Dear LilyPond users, I've posted a patch for approval that implements variable thickness dashed and part-dashed, part-solid slurs. I hope it will be fully implemented in 2.13.1. As a preview, here's some slurs that were output by the new code. Please let me know if these are acceptable

Re: Dashed, variable-thickness slurs

2009-04-16 Thread Carl D. Sorensen
Actually, the tie calls the slur code, so I think it's already done. But I'll check it out more thoroughly. Carl On 4/16/09 10:27 PM, David Stocker dstoc...@thenotesetter.com wrote: Righteous. Not to impede your efforts, but can the same idea be applied to ties--the variable thickness

variable in paper block

2009-03-27 Thread Stefan Thomas
Dear community, I would like to make a substition in the paper block, for the part title. I usually use: \paper{ oddHeaderMarkup = \markup \fill-line { name of the part \on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string } evenHeaderMarkup = \markup

Re: variable in paper block

2009-03-27 Thread Kieren MacMillan
Hi Stefan, I would like to make a substition in the paper block, for the part title. Why not put \header { parttitle = My Part Title } in your source (notes) file/section, and then in the score file/ section, use oddHeaderMarkup = \markup { \fromproperty

calling a music variable using a Scheme function

2008-12-19 Thread Valentin Villenave
Greetings Nicolas, hi everybody, can someone tell me why the following snippet doesn't work? (It's heavily based on Nicolas' functions -- and looked sooo promising...) %%% #(use-modules (ice-9 format)) toto = { c d c d } includevar= #(define-music-function (parser location name)

Re: calling a music variable using a Scheme function

2008-12-19 Thread Nicolas Sceaux
Le 19 déc. 08 à 14:12, Valentin Villenave a écrit : Greetings Nicolas, hi everybody, can someone tell me why the following snippet doesn't work? (It's heavily based on Nicolas' functions -- and looked sooo promising...) %%% #(use-modules (ice-9 format)) toto = { c d c d }

Re: Variable number of voices on one staff

2008-07-26 Thread Francisco Vila
2008/7/26 Jordan Eldredge [EMAIL PROTECTED]: What I want: When there is only once voice, the stems should behave as such. In measures where there are two voices, the stems should be dependent on voice. Firstly, you see one voice, but two voices exist. So, first voice is voice One in a

Re: Variable number of voices on one staff

2008-07-26 Thread Jordan Eldredge
Thank you. Firstly, I understand why my method does not work. I guess what I am asking for is a different method. Secondly, thanks! Here is updated example code. \version 2.10.25 aVoice = \relative c'' {r4 d4 c d, bes' | c a' bes g' a d c g' | d fis2 g} anotherVoice = \relative c'' {s1 | s1 |

Re: Variable number of voices on one staff

2008-07-26 Thread James E. Bailey
\oneVoice is still your friend, though. Am 26.07.2008 um 11:14 schrieb Jordan Eldredge: Thank you. Firstly, I understand why my method does not work. I guess what I am asking for is a different method. Secondly, thanks! Here is updated example code. \version 2.10.25 aVoice = \relative

Re: Variable number of voices on one staff

2008-07-26 Thread Mark Knoop
On Sat, 2008-07-26 at 02:14 -0700, Jordan Eldredge wrote: Thank you. Firstly, I understand why my method does not work. I guess what I am asking for is a different method. Try this: \version 2.10.25 \relative c'' { r4 d4 c d, bes' | c a' bes g' a d c g' | d fis2 {

Re: Variable number of voices on one staff

2008-07-26 Thread Matthieu Jacquot
/Variable-number-of-voices-on-one-staff-tp18663037p18666103.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Variable number of voices on one staff

2008-07-25 Thread Jordan Eldredge
I am typesetting some music which includes a keyboard part. The right hand of the keyboard is predominantly one voice, but will occasionally split into two voices. I am currently using two voices where the first voice takes all the music that is only once voice, and the top voice when it splits.

Re: strange problem of variable definition and more error messages

2008-04-28 Thread Mats Bengtsson
hhpmusic wrote: Hi, I just finished typesetting one of my very early piece. I want to ease the writing when every time using Chinese font ile simfang.ttf, so I put an override font-name line in mydefs.ly. I have defined lots of things used very often in this file. But the log file says

strange problem of variable definition and more error messages

2008-04-25 Thread hhpmusic
Hi, I just finished typesetting one of my very early piece. I want to ease the writing when every time using Chinese font ile simfang.ttf, so I put an override font-name line in mydefs.ly. I have defined lots of things used very often in this file. But the log file says this override is

Re: Newbie question about variable durations

2007-11-09 Thread Rune Zedeler
(going back on list) Ben Fagin skrev: I've revised my implementation to set up variables using the make-pitch function instead of variables and it works now. Thank you! Now that I think about it, you do not have to use make-pitch. You can extract the pitch information from a note, like this:

Re: Newbie question about variable durations

2007-11-04 Thread Wilbert Berendsen
Op zaterdag 3 november 2007, schreef Ben: I thought I had this figured out, but now I'm stuck. My program generates midi notes and converts them to lily variables (ie noteone = {ees'} ). What I need to do next is add my durations onto them. It seems so simple but I get error after error. Yes,

Newbie question about variable durations

2007-11-03 Thread Ben
I thought I had this figured out, but now I'm stuck. My program generates midi notes and converts them to lily variables (ie noteone = {ees'} ). What I need to do next is add my durations onto them. It seems so simple but I get error after error. What do I need to do to combine the strings

Re: Newbie question about variable durations

2007-11-03 Thread Rune Zedeler
are using it for. Why will you put a single notename into a variable? Could you elaborate a bit more on your project? -Rune ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Use Identifier or Variable for Font Name

2007-10-31 Thread wackazong
Hi! In my template, I have a couple of lines like this one: \override X #'font-name = #FF Where XXX is some object and is the font i choose. I would like to use a global identifier or variable for the font name, so that I can write %Definitions FontName

Re: Use Identifier or Variable for Font Name

2007-10-31 Thread Mats Bengtsson
and is the font i choose. I would like to use a global identifier or variable for the font name, so that I can write %Definitions FontName = #FFF ... %The rest \override X #'font-name = \FontName This does not work, however, I tried many different configuration, also

custom, variable paper size?

2007-09-28 Thread Michael Rasmussen
Having just rememberd that Lilypond can output png files for web use I'm now wondering about how to trim the image automatically. If I want to create a PNG of a simple snip[1]: \relative c'' { \time 6/4 \key ees \major c2 (g4 ees'2 d4) c2. ( g4 ) g' ( f ) }

Re: custom, variable paper size?

2007-09-28 Thread Graham Percival
Michael Rasmussen wrote: Having just rememberd that Lilypond can output png files for web use I'm now wondering about how to trim the image automatically. You read 4.6.3 in the Program Usage on opihi. I think that change made it into the 2.11 docs, as well. - Graham

Re: Numbers in variable names Re: thoughts

2007-01-02 Thread Mats Bengtsson
For example, you can define your own music function that has a single numerical argument (for example to modify some spacing parameters). The syntax for such a function would be exacty of the form \myvar 1. /Mats [EMAIL PROTECTED] wrote: I would expect that \myvar1 refers to the variable

Numbers in variable names Re: thoughts

2007-01-01 Thread Andrew Black - lists
if this is hard but... If you have myvar = something myvar1 = something else I would expect that \myvar1 refers to the variable myvar1 \myvar 1 refers to the var myvar followed by 1 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org

Numbers in variable names Re: thoughts

2007-01-01 Thread stk
I would expect that \myvar1 refers to the variable myvar1 \myvar 1 refers to the var myvar followed by 1 As regards the expression \myvar 1 in what context do you use that? -- Tom Andrew Black wrote: I would

Variable between system spacing with multiple scores?

2006-08-14 Thread Rick Hansen (aka RickH)
that there are other situations where all the layout properties of a score do not necessarily override the values set on the first score in a book. -- View this message in context: http://www.nabble.com/Variable-between-system-spacing-with-multiple-scores--tf2103835.html#a5798175 Sent from the Gnu

Re: Variable between system spacing with multiple scores?

2006-08-14 Thread Rick Hansen (aka RickH)
between system spacing for each score? Scanning posts, I noticed that there are other situations where all the layout properties of a score do not necessarily override the values set on the first score in a book. -- View this message in context: http://www.nabble.com/Variable-between

<    3   4   5   6   7   8   9   >