Why don't you add tags to the music variable? Then you can use the same
musical expression on both score blocks.

Em dom., 12 de out. de 2025, 08:24, Lee <[email protected]> escreveu:

> I got it working by creating two note blocks -  one for the bending and
> one for midi - I added an extra score for the midi
>
> This works but isn't ideal as I have duplicate notes.  At least it gives
> me the score I want and the midi notes with no grace notes.
>
> If there is a better way to do this i'm all ears.
>
> Best
>
> Lee
>
> On Sun, 12 Oct 2025 at 10:54, Lee <[email protected]> wrote:
>
>> Hi Tina,
>>
>> Your right - it was the grace note confusing me.   I assumed logical time
>> was wall time :-)
>>
>>
>> https://lilypond.org/doc/v2.25/Documentation/notation/special-rhythmic-concerns.html
>>
>> This gives me the durations I expect in midi.  8th note triplets 1/3.
>>
>>   \tuplet 3/2 { d8\3  e\2 a\1 }
>>   \tuplet 3/2 { c8\1  a\1 e\2 }
>>   \tuplet 3/2 { g8\2  a8\1 e8\2 }
>>   \tuplet 3/2 { d8\3 c\3 a\4s }
>>
>> This is what I'm looking to  see on the score - is there a way to show
>> bends without using grace notes?
>>
>> Best
>>
>> Lee
>>
>> [image: riff with bends.png]
>>
>>
>>
>>
>>
>> On Sat, 11 Oct 2025 at 14:32, Tina Petzel <[email protected]> wrote:
>>
>>> Hi Lee,
>>>
>>> I am not sure what issue you have. Am I correct that you have an issue
>>> with
>>> MIDI output?
>>>
>>> > I'm using a hidden grace note to do this - I assume that is valid.  I
>>> > expected  to see rhythm of 1/3 for all 3 notes.   It's very close but
>>> the
>>> > first two triplets seem wrong.  The third is correct and that was a
>>> whole
>>> > note bend.  The 4th triplet is correct too.
>>> >
>>> > I'm pretty sure grace notes don't form part of rythym - I'm using grace
>>> > note for full note bend, 1/4 note bend.   You'll see the midi I
>>> collected
>>> > below the ly file.
>>>
>>> Grace notes are played back before the beat in MIDI, and will thus
>>> shorten the
>>> played duration of the previous note. Also I am not sure what you mean
>>> by
>>> `0.2516th`. Would that be a note of roughly 4 whole bars? Also do you
>>> not find
>>> the grace notes in the MIDI output?
>>>
>>> Best regards,
>>> Tina
>>
>>

Reply via email to