Re: music function playing well with context

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 22:17, Alberto Simões wrote: > Understood. Thank you . > After looking to the example, it makes sense, but it wasn't easy to get there > :-)> Always great to learn! Perhaps you will have an easier time building custom functions after reading pages like these:

Re: music function playing well with context

2023-02-07 Thread Alberto Simões
On Tue, Feb 7, 2023 at 9:07 PM Jean Abou Samra wrote: > On 07/02/2023 21:57, Alberto Simões wrote: > > Hello > > > > I am transcribing a piece that has a lot of tuplets: > > > >\tuplet 3/2 { a4 b8 } > > > > The duration of the notes is always this, just the pitch changes. > > I tried to

Re: music function playing well with context

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 21:57, Alberto Simões wrote: > Hello > > I am transcribing a piece that has a lot of tuplets: >   >    \tuplet 3/2 { a4 b8 } > > The duration of the notes is always this, just the pitch changes. > I tried to create a music function with this code > > myT = #(define-music-function

music function playing well with context

2023-02-07 Thread Alberto Simões
Hello I am transcribing a piece that has a lot of tuplets: \tuplet 3/2 { a4 b8 } The duration of the notes is always this, just the pitch changes. I tried to create a music function with this code myT = #(define-music-function (pa pb) (ly:pitch? ly:pitch?) #{ \tuplet 3/2

RE: Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-07 Thread tommy_strandberg
Hi, As I already said, I'm not an expert in this so it's more a solution partially on trial and error. For information, I've never changed anything while installing any program, Frescobaldi or Lilypond on my almost new Windows 11 computer. V2.22.2 was obviously installed using the installer

Re: Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 19:25, tommy_strandb...@web.de wrote: > 2. The handbook is very misleading as it states ( > https://lilypond.org/doc/v2.23/Documentation/learning/graphical-setup-under-windows > > ) > “Place

Re: writing score in absolute time

2023-02-07 Thread Knute Snortum
On Tue, Feb 7, 2023 at 8:58 AM Aaron Hill wrote: > > On 2023-02-07 8:22 am, Knute Snortum wrote: > > Setting the paper size to A4 should be as simple as: > > > > \paper { > > #(set-paper-size "letter") > > } > > Well, that produces US letter size: 8.5" x 11". Oops, copy/paste error. Thanks,

RE: Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-07 Thread tommy_strandberg
Dear all, I tried the simple suggestion from Paul first. If you need to uncompress the delivered zip-files into Programs C:\Program Files you must, on Windows 11 at least, have administrator rights. I put the uncompressed files here because the new version of Lilypond is 64-bit versions

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 16:57, Cordelia wrote: > Totally, now it begins the game. But at least I’ve a starting point! > > I’ve to understand better the tempo and rhythmic values in lilypond. > I’ve already added the possibility to write cents for exemple for > microtonality (a simple way). > > There’s 2

Re: writing score in absolute time

2023-02-07 Thread Cordelia
Yap, totally. I’m almost there in order to cut everything inside one page. It’s pretty amazing! We could imagine to print in score also some editing with Reaper and some other stuff!! Awww.. And do u have a solution for the duration line break if meet other notes? > On 7 Feb 2023, at 18:00,

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 17:57, Aaron Hill wrote: > On 2023-02-07 8:22 am, Knute Snortum wrote: >> Setting the paper size to A4 should be as simple as: >> >> \paper { >>   #(set-paper-size "letter") >> } > > Well, that produces US letter size: 8.5" x 11".  For A4, you would naturally > use "a4". > > The

Re: writing score in absolute time

2023-02-07 Thread Aaron Hill
On 2023-02-07 8:22 am, Knute Snortum wrote: Setting the paper size to A4 should be as simple as: \paper { #(set-paper-size "letter") } Well, that produces US letter size: 8.5" x 11". For A4, you would naturally use "a4". The Notation Reference lists all of the paper sizes [1] that are

Re: Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 17:00, tommy_strandb...@web.de wrote: > Hi, > > I’m a little annoyed over problems in getting Lilypond 2.24.0 properly > running on my computer.  My previous installation was Lilypond 2.22.2 > together with Frescobaldi 3.2.  Everything worked fine and the main reason > for

Re: Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-07 Thread Paul Hodges
What directory have you unpacked the LilyPond directory to?  I have put it into C:\Program Files (which is where Frescobaldi also gets installed) and I have no such problem. It may be that if you have LilyPond and Frescobaldi in different places, then something may not get the permissions it

Re: writing score in absolute time

2023-02-07 Thread Knute Snortum
On Tue, Feb 7, 2023 at 7:58 AM Cordelia wrote: > > Totally, now it begins the game. But at least I’ve a starting point! > > I’ve to understand better the tempo and rhythmic values in lilypond. > I’ve already added the possibility to write cents for exemple for > microtonality (a simple way). > >

Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-07 Thread tommy_strandberg
Hi, I’m a little annoyed over problems in getting Lilypond 2.24.0 properly running on my computer. My previous installation was Lilypond 2.22.2 together with Frescobaldi 3.2. Everything worked fine and the main reason for switching to 2.24 was new features making score-writing simpler.

Re: writing score in absolute time

2023-02-07 Thread Cordelia
Totally, now it begins the game. But at least I’ve a starting point! I’ve to understand better the tempo and rhythmic values in lilypond. I’ve already added the possibility to write cents for exemple for microtonality (a simple way). There’s 2 more things I could not figure out: - how

Re: writing score in absolute time

2023-02-07 Thread David Wright
On Tue 07 Feb 2023 at 15:29:29 (+0100), Jean Abou Samra wrote: > On 07/02/2023 14:58, Cordelia wrote: > > Amazing, really. > > I lastly just wonder now, if it’s possible to write the duration in > > seconds.. But I understood that’s not the way of working of lilypond. > > Thank you! > > > This

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 14:58, Cordelia wrote: > Amazing, really. > I lastly just wonder now, if it’s possible to write the duration in seconds.. > But I understood that’s not the way of working of lilypond. > Thank you! This can be done too. \version "2.24.0" \paper { page-breaking =

Re: writing score in absolute time

2023-02-07 Thread Cordelia
Amazing, really. I lastly just wonder now, if it’s possible to write the duration in seconds.. But I understood that’s not the way of working of lilypond. Thank you! > On 7 Feb 2023, at 14:36, Jean Abou Samra wrote: > > On 07/02/2023 14:12, Cordelia wrote: >> Oh, yeah. Thank you very very

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 14:12, Cordelia wrote: > Oh, yeah. Thank you very very much. It gives me a lot of ideas!! It’s what I > was looking for. > > Do you have just an idea if it could be possible to write just a line (with a > lil’ bar at the end maybe) that could represent the duration of the note? >

Re: Command Alises

2023-02-07 Thread Valentin Petzel
Hello Paolo, This is slightly OT, but there are other ways to alias things. \... is used in Lilypond either for evaluating a function, accessing some scheme object or evaluating some reserved parser keywords (such as \override). sustainOn is in fact a music object (not a function). Now, when

Re: chord placement in Scores

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 12:51, Jean Abou Samra wrote: > On 07/02/2023 05:44, Jeff Kopmanis wrote: >> I've found that when I put chords in my score, it's printing them /below/  >> the staff rather than above, as usual.  Things are normal if I'm not >> building a score, but I'm wondering why this is

Re: chord placement in Scores

2023-02-07 Thread Michael Werner
On Mon, Feb 6, 2023 at 11:44 PM Jeff Kopmanis wrote: > I've found that when I put chords in my score, it's printing them *below* the > staff rather than above, as usual. Things are normal if I'm not building a > score, but I'm wondering why this is happening. I've included my (big) .ly >

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 04/02/2023 18:28, Jacopo Greco d'Alceo wrote: > Thank you Gregory for your complete answer. > And you’ve seen it right. I’m not yet an Abjad user, but I looked at it with > interest - but never drown inside. > I’m just another composer still dreaming about writing music easily with a >

Re: Dynamics for both staves

2023-02-07 Thread p
On 2023-02-07 12:47, Jean Abou Samra wrote: On 07/02/2023 12:44, p...@ocmatos.com wrote: On 2023-02-03 17:41, Knute Snortum wrote: What I do is have a separate dynamics variable, then include that variable in both staves of the piano staff in the midi block.  Then I switch the dynamic

Re: chord placement in Scores

2023-02-07 Thread Robin Bannister
Jeff Kopmanis wrote: I've found that when I put chords in my score, it's printing them *below* the staff rather than above, as usual. Things are normal if I'm not building a score, but I'm wondering why this is happening. Well, I'm not sure. But, to be clear, I see this happening only on the

Re: Command Alises

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 12:59, Jean Abou Samra wrote: > On 07/02/2023 12:45, p...@ocmatos.com wrote: > >> Right, I confused the names, thanks for the help. One further question, why >> the need to prefix the commands with a - ? Does it start some sort of >> command mode? > > > You don't have to. It's

Re: Command Alises

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 12:45, p...@ocmatos.com wrote: > Right, I confused the names, thanks for the help. One further question, why > the need to prefix the commands with a - ? Does it start some sort of command > mode? You don't have to. It's just a neutral direction indicator. It is implicit if you

Re: chord placement in Scores

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 05:44, Jeff Kopmanis wrote: > I've found that when I put chords in my score, it's printing them /below/ the > staff rather than above, as usual.  Things are normal if I'm not building a > score, but I'm wondering why this is happening.  I've included my (big) .ly > document and

Re: Dynamics for both staves

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 12:44, p...@ocmatos.com wrote: > On 2023-02-03 17:41, Knute Snortum wrote: >> >> What I do is have a separate dynamics variable, then include that >> variable in both staves of the piano staff in the midi block.  Then I >> switch the dynamic performer to the staff level.  It looks

Re: Command Alises

2023-02-07 Thread p
On 2023-02-03 16:46, Aaron Hill wrote: Well, and those names are non-sensical. \sustainOn implies depressing the pedal. \version "2.22.0" pdown = -\sustainOn pup = -\sustainOff pupdown = -\sustainOff \sustainOn { b'4\pdown 2 4\pupdown 2. 4\pup } That probably makes more sense.

Re: Translating “Extending LilyPond” — any takers?

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 10:52, Kenneth Flak wrote: > > Hi Jean, > > Thanks so much for continuing to develop this invaluable resource! I have one > small issue with the site in dark mode (which seems to be the default on my > linux system and android phone): some of the writing is barely legible, with

Re: Dynamics for both staves

2023-02-07 Thread p
On 2023-02-03 17:41, Knute Snortum wrote: What I do is have a separate dynamics variable, then include that variable in both staves of the piano staff in the midi block. Then I switch the dynamic performer to the staff level. It looks like this (for only one staff): Thanks. What is the

Re: Translating “Extending LilyPond” — any takers?

2023-02-07 Thread Kenneth Flak
Hi Jean, Thanks so much for continuing to develop this invaluable resource! I have one small issue with the site in dark mode (which seems to be the default on my linux system and android phone): some of the writing is barely legible, with a very low contrast ratio. Including a couple of