|
From: | Lukas-Fabian Moser |
Subject: | Re: {<g bf> <gqs bqf>} not sounding right. |
Date: | Fri, 19 Jan 2024 15:32:10 +0100 |
User-agent: | Mozilla Thunderbird |
Hi Werner, hi Pierre-Luc,
Try this with and without the \new Voice commented. \version "2.25.12" \language "english" \score { %\new Voice << {bf bqf bf} {g gqs g} >> \layout {} \midi {} } Obviously you would need to listen to the MIDI output.This is a limitation of MIDI: You can only have a single pitch bend per time step per channel. LilyPond's rather primitive MIDI 1.0 output provides no means to circumvent this limitation. Looking into MIDI 2.0 I see that there exists a 'per-note pitch bend' feature, so maybe someone is going to implement that in LilyPond.
I have a branch (from a few years ago) where I changed LilyPond's MIDI microtonality from using Pitch Bends (which is a bad idea when using chords) to using MIDI 1.0 tuning information. This works fine IIRC as long as you don't construct chords containing really close notes (e.g. c and c+5 cents).
I was never able (in terms of spare time and/or ability) to bring this to LilyPond's C++ coding level, but if I have time in february (university break), I could dig that branch up and see if I can share it in such a way that we can get it into LilyPond proper.
My overall impression was that LilyPond's MIDI code is quite old and didn't get as much polishing over the last decades as the main typesetting engine did.
Lukas
[Prev in Thread] | Current Thread | [Next in Thread] |