Re: make-music?

2024-04-16 Thread Pierre-Luc Gauthier
> Instead of > #(define (anAList) `((aVariable . ,aSymbol))) > you could write: > #(define anAList (lambda () `((aVariable . ,aSymbol Thanks Thomas. I love the simplicity of this example. > #(define anAList '((aVariable . aSymbol))) > aSymbol = { cis' } > { >#(module-ref (current-module)

Re: make-music?

2024-04-13 Thread Aaron Hill
On 2024-04-13 1:08 pm, Pierre-Luc Gauthier wrote: But what about the parenthesised alist -> (alist) ‽ Difference between a variable containing an alist versus a *procedure* that returns an alist. This defers the evaluation of aSymbol until such time as it is defined. Here is another

Re: make-music?

2024-04-13 Thread Thomas Morley
Am Sa., 13. Apr. 2024 um 22:09 Uhr schrieb Pierre-Luc Gauthier : > But what about the parenthesised alist -> (alist) ‽ > > I have not found documentation here : > https://extending-lilypond.gitlab.io/en/scheme/alists.html > nor here : >

Re: make-music?

2024-04-13 Thread Pierre-Luc Gauthier
Now what have you done to my hash character ‽ https://extending-lilypond.gitlab.io/en/extending/lily-and-scheme.html#hash-vs-dollar oh, ok ok, I get it. But what about the parenthesised alist -> (alist) ‽ I have not found documentation here :

Re: make-music?

2024-04-13 Thread Thomas Morley
Am Sa., 13. Apr. 2024 um 20:59 Uhr schrieb Pierre-Luc Gauthier : > > Hello there, > > Quite an easy one I'm sure but I tried many combinations to no avail. > > I have this symbol that I wish to evaluate later. I thought that was > what ly:make-music was for. > > \version "2.25.15" > > #(define

make-music?

2024-04-13 Thread Pierre-Luc Gauthier
Hello there, Quite an easy one I'm sure but I tried many combinations to no avail. I have this symbol that I wish to evaluate later. I thought that was what ly:make-music was for. \version "2.25.15" #(define anAList ((aVariable . aSymbol))) aSymbol = {cis'} { #(cdr (assoc 'aVariable

Re: How to use make-music?

2019-12-20 Thread Peter Toye
examples of the use of the make-music function in NR and >> Snippets, but I cannot find any reference to its definition in LR, NR >> or IR. I can use the examples to do what I want, but I'd like to know >> a bit more about how it works. Is there a definition of it and its >>

Re: How to use make-music?

2019-12-20 Thread David Kastrup
Peter Toye writes: > Thee are many examples of the use of the make-music function in NR and > Snippets, but I cannot find any reference to its definition in LR, NR > or IR. I can use the examples to do what I want, but I'd like to know > a bit more about how it works. Is there

How to use make-music?

2019-12-20 Thread Peter Toye
Thee are many examples of the use of the make-music function in NR and Snippets, but I cannot find any reference to its definition in LR, NR or IR. I can use the examples to do what I want, but I'd like to know a bit more about how it works. Is there a definition of it and its parameters

Re: make-music function question

2009-01-12 Thread Gilles THIBAULT
Please, help me with my own music function creation. How can I modify music object or create a new one with existing music data and add sustain event to it? If I understand correct, I must use make-music function and then use (make-span-event 'SustainEvent START) call to generate sustain

Re: make-music function question

2009-01-12 Thread Carl D. Sorensen
On 1/12/09 2:07 AM, Gilles THIBAULT gilles.thiba...@free.fr wrote: Please, help me with my own music function creation. How can I modify music object or create a new one with existing music data and add sustain event to it? If I understand correct, I must use make-music function

make-music function question

2009-01-11 Thread Michael Pozhidaev
Hello! Please, help me with my own music function creation. How can I modify music object or create a new one with existing music data and add sustain event to it? If I understand correct, I must use make-music function and then use (make-span-event 'SustainEvent START) call to generate