I think this is as specific as I can make it:
\addArticulation \staccato {
a % a-. %% Plain notes should be articulated
% -. %% Chords should be articulated once
<> % <>%% Empty chords probably shouldn't be articulated
\foo a % a %
Hi,
On Thu, Dec 28, 2017 at 1:37 PM, Caagr98 wrote:
> That function seems rather destructive: removes all properties on existing
> articulations (including tweaks, direction, and midi stuff), and doesn't seem
> to handle anything other than ArticulationEvents at all. Dynamics, slurs,
> ties, e
That function seems rather destructive: removes all properties on existing
articulations (including tweaks, direction, and midi stuff), and doesn't seem
to handle anything other than ArticulationEvents at all. Dynamics, slurs, ties,
etc are removed. Also, this version has no way to exclude a not
Hi David,
Wonderful work, as always!
>> it doesn't maintain direction of the specified articulations if they
>> are already there, but I suppose something could be done about that.
I think with that improvement, and maybe the addition of a parameter/option for
whether or not to replace any exis
On Thu, Dec 28, 2017 at 12:25 PM, David Nalesnik
wrote:
> Hi Kieren,
>
> On Thu, Dec 28, 2017 at 11:29 AM, Kieren MacMillan
> wrote:
>> Hi David,
>>
This works, but I'm guessing there's a better way:
>>
>> This is nice! Any way that it could take two (or more) articulations like
>>
>> \add
Hi David,
>> This works, but I'm guessing there's a better way:
This is nice! Any way that it could take two (or more) articulations like
\addArticulation \tenuto \staccato { c d c' }
to avoid nesting or chaining like
\addArticulation \tenuto \addArticulation \staccato { c d c' }
which
On Thu, Dec 28, 2017 at 11:11 AM, David Nalesnik
wrote:
>
> This works, but I'm guessing there's a better way:
>
> \version "2.19.65"
>
> addArticulation =
> #(define-music-function (event music) (ly:event? ly:music?)
>(define (add mus)
> (if (not (memq 'articulations ; Don't add staccat
Hi,
On Thu, Dec 28, 2017 at 10:23 AM, Caagr98 wrote:
> Sometimes when having a long section of staccato, it's a bit tedious to add
> -. to all notes, so then it's useful to have a function which automatically
> adds an articulation to all notes. I have one such function here:
>
> addArticulatio
Sometimes when having a long section of staccato, it's a bit tedious to add -.
to all notes, so then it's useful to have a function which automatically adds
an articulation to all notes. I have one such function here:
addArticulation =
#(define-music-function (event music) (ly:event? ly:music?)