Hi all,
You could write this function more briefly as below. I wonder if there
is any ambiguity about transposition by, for example, one semitone:
should it be \transpose c cis or \transpose c des ?
\version "2.24.0"
#(define pitches (vector #{c#} #{des#} #{d#} #{es#} #{e#} #{f#}
#{fis#} #{g#}
At the moment I'm trying to resolve an specific issue that would not fall
on enharmonic ambiguity, so writing with those intervals made sense in this
situation (tonic and dominant being perfect, subdominant being perfect or
augmented, and all the rest being major or minor). Still, thank you very
mu
On 20/03/2025 11:44, Lucas Cavalcanti wrote:
Hello, Lukas. I've re-drafted a mock up of the function in question.
but now the mock up actually worked... I was just not adding the hash
"#" to the number argument Still, I'll attach the function below
to see if it can be better optimized.
Yo
Hello, Lukas. I've re-drafted a mock up of the function in question. but
now the mock up actually worked... I was just not adding the hash "#" to
the number argument Still, I'll attach the function below to see if it
can be better optimized.
%%CODE BEGINS
%%
someFunction =
#(define-music-funct
Hi Lucas,
this sounds absolutely possible, but can you please give more details or -
better still - an example of what you want to achieve?
Lukas
Lucas Cavalcanti schrieb am Do., 20. März 2025,
02:05:
> Hello! I'm in need of help in regards to writing a music function that has
> conditions ins
Hello! I'm in need of help in regards to writing a music function that has
conditions inside it: I need my argument (a number between 1 to 12) to be
evaluated by an if statement, so that it can run "\transpose c someNote".
This function would reduce a lot of code to a project of mine.
I've only fou