Re: Transform notes in a variable?

2021-10-02 Thread Craig Comstock
t 6:51 AM, Craig Comstock wrote: > > >> mappingOne = { } >> mappingTwo = { } >> >> music = { c' d' e' } >> >> \transformPitches \mappingOne \music >> \transformPitches \mappingTwo \music > > This is exactly what I needed. > Once again I

Re: A challenging music transformation...

2021-08-25 Thread Craig Comstock
Maybe check this thread out. It mostly worked for me but I think your problem if solved will help me even more! https://mail.gnu.org/archive/html/lilypond-user/2021-08/msg00018.html Sent from my iPhone > On Aug 25, 2021, at 5:47 PM, David Kastrup wrote: > > Gordon Bower writes: > >> In a

Re: Testers wanted

2021-08-05 Thread Craig Comstock
> On Aug 5, 2021, at 5:06 AM, Hans Aikema wrote: > > MacPorts lilypond-devel port for 2.23.3 is working fine on my Intel Mac, so > just the port version is not the cause of the failure for Michael. Somehow > Michaels install is broken, but the port itself appears to be fine for Intel > Mac

Re: Transform notes in a variable?

2021-08-02 Thread Craig Comstock
> mappingOne = { } > mappingTwo = { } > > music = { c' d' e' } > > \transformPitches \mappingOne \music > \transformPitches \mappingTwo \music This is exactly what I needed. Once again I am impressed by the generosity of your time. > Since you seem interested by the Scheme level, Yes,

Re: Transform notes in a variable?

2021-08-01 Thread Craig Comstock
Oh no. A typo in my alist. I’ll be quiet now for a while and dig before asking more. :) >> Where transformOne would map c’ to say e’ and d’ to g’’. > > So I would expect to define transformOne something like > > ((c' . e') (d' . g'’)) Thanks, Craig

Re: Transform notes in a variable?

2021-08-01 Thread Craig Comstock
To be clear, I would like to transform all of the notes in a particular part or staff. Ideally defining a map like an alist is it in scheme? > \version "2.20.0" > riff = { c' r d' r } > << > \new Staff \riff > % \new Staff \transformOne \riff > >> > > Where transformOne would map c’ to say e’

Transform notes in a variable?

2021-08-01 Thread Craig Comstock
Related to my other question of note names I am wondering if it is possible to maybe write a mapping function of some sort for pitches? I know there is transpose like shown here: https://lilypond.org/doc/v2.22/Documentation/web/text-input

Re: Problem

2021-08-01 Thread Craig Comstock
> Could I help/ volunteer somehow that this workaround gets integrated in the > current download version, don't know if that error only happens with MacOS > X.14.6 aka 'Mojave' though. FWIW I am using 20.0 on OS X and can probably help even though I am quite new to Lily pond I have much

Re: Custom note names, or meta-score?

2021-07-31 Thread Craig Comstock
Wow. That is a bunch of code generated quick! Nice! FWIW, I am using the osx version from here: https://gitlab.com/marnen/lilypond-mac-builder/-/releases as this one

Custom note names, or meta-score?

2021-07-31 Thread Craig Comstock
Hello, I am writing a piece for a 9 piece ensemble in which I want the players to choose 9 different pitches along with articulations and/or other additional symbols to indicate extended techniques and such. I want to take those 81 different “glyphs” if you will and generate a score and parts.