Re: Edition Engraver master vs refactor override branch: changing bound-details

2019-04-30 Thread Stefano Troncaro
Hi Jan-Peter,

Sure! Please let me know if you manage to solve it so I can update.

Thank you!

El dom., 28 abr. 2019 a las 16:05, Jan-Peter Voigt ()
escribió:

> Hi Stefano,
>
> sorry for the delay. I've been away for several days.
> I have to look into this deeper ... I guess it is related to the
> grob-property-path 'bound-details.left.text'.
> Hopefully I can solve this issue soon.
>
> Best
> Jan-Peter
>
> Am 21.04.19 um 20:42 schrieb Stefano Troncaro:
> > Hi all, long time since I posted here, hope you all have been well!
> >
> > While using the Edition Engraver today I noticed that the following
> > override works in the old refactor override branch, while on the
> > current master it prints a textless spanner and a warning:
> >
> > \version "2.19.80" \include "oll-core/package.ily" \loadPackage
> edition-engraver \consistToContexts #edition-engraver Voice \addEdition
> test \editionMod test 1 0 Voice.A { \override
> TextSpanner.bound-details.left.text = "span this" <>\startTextSpan }
> \editionMod test 2 3/4 Voice.A \stopTextSpan \new Staff { \new Voice
> \relative { c' d e f g a b c } }
> >
> > Said warning is
> >
> > warning: type check for `bound-details' failed; value `"span this"'
> > must be of type `list'
> >
> > In the current master I could set this like this:
> > \override TextSpanner.bound-details = #'((left . ((text . "span this"
> > but this has the undesirable effect of resetting all the other
> > settings of the bound-details alist
> >
> > Without having been able to dive down into the code, this looks like a
> > simple issue with type checking, but I realize this may have been
> > implemented this way to circumvent other problems.
> >
> > So, how can I achieve this with the current master? Or should I go
> > back to using the earlier branch until this is solved?
> >
> > Thanks for your help,
> > Stéfano
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MIDI instrument for oboe d'amore

2019-04-30 Thread David Kastrup
David Kastrup  writes:

> Jacques Menu  writes:
>
>> Thanks Lukas and Aaron for your help.
>>
>> In fact, my use case is merely to listen to the MIDI file from within
>> Frescobaldi, to ear-proof the score. I don’t have any MIDI equipment,
>> and organ sound is fine for that purpose.
>>
>> I got the surprise that transposing a voice for the oboe d’amore in A,
>> in Lully’s « Dormez beaux yeux » for the needs of our oboes band, lead
>> to quite modern music being heard...
>>
>> What would best suit my need is a way to counter-balance the effect of
>> \transpose in the \midi block. This way, one would get both the
>> printed score and the MIDI pitches alright, even for instruments
>> unknown to standard MIDI.
>>
>> Can that be done?
>
> That's what \transposition is for.  Look it up in the manual.

Note: as opposed to \transpose (completely different thing in both
semantics and syntax though looking rather similar).

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MIDI instrument for oboe d'amore

2019-04-30 Thread David Kastrup
Jacques Menu  writes:

> Thanks Lukas and Aaron for your help.
>
> In fact, my use case is merely to listen to the MIDI file from within
> Frescobaldi, to ear-proof the score. I don’t have any MIDI equipment,
> and organ sound is fine for that purpose.
>
> I got the surprise that transposing a voice for the oboe d’amore in A,
> in Lully’s « Dormez beaux yeux » for the needs of our oboes band, lead
> to quite modern music being heard...
>
> What would best suit my need is a way to counter-balance the effect of
> \transpose in the \midi block. This way, one would get both the
> printed score and the MIDI pitches alright, even for instruments
> unknown to standard MIDI.
>
> Can that be done?

That's what \transposition is for.  Look it up in the manual.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MIDI instrument for oboe d'amore

2019-04-30 Thread Jan-Peter Voigt
Hi Aaron,

just a question: Did you set "\transposition a"?
(http://lilypond.org/doc/v2.19/Documentation/notation/displaying-pitches.html#instrument-transpositions)

HTH
Jan-Peter

Am 30.04.19 um 09:33 schrieb Jacques Menu:
> Thanks Lukas and Aaron for your help.
>
> In fact, my use case is merely to listen to the MIDI file from within 
> Frescobaldi, to ear-proof the score. I don’t have any MIDI equipment, and 
> organ sound is fine for that purpose.
>
> I got the surprise that transposing a voice for the oboe d’amore in A, in 
> Lully’s « Dormez beaux yeux » for the needs of our oboes band, lead to quite 
> modern music being heard...
>
> What would best suit my need is a way to counter-balance the effect of 
> \transpose in the \midi block. This way, one would get both the printed score 
> and the MIDI pitches alright, even for instruments unknown to standard MIDI.
>
> Can that be done?
>
> JM
>
>> Le 29 avr. 2019 à 20:53, Aaron Hill  a écrit :
>>
>> On 2019-04-29 9:28 am, Jacques Menu wrote:
>>> Hello,
>>> I find oboe and french horn, but no oboe d’amore in A.6 MIDI instruments.
>>> Which other setting can I use for this instrument in A?
>>
>> General MIDI does not define such an instrument in the standard, and neither 
>> did GS nor XG.  In fact, the reed section of GM Level 2 has no extended 
>> patches at all.  (GS and XG do have variations like the "bass clarinet" and 
>> some alternate saxophone patches.)
>>
>> While it would not be standards-compliant, you could certainly select an 
>> alternate bank for the oboe patch with the intention that it means an oboe 
>> d'amore.  For your own usage, it would require you to manually configure 
>> your synth to load a suitable sound for the instrument.  For other folks 
>> using your MIDI file, their synths should fall back using a standard oboe 
>> patch which might work, except for lower notes that could be outside the 
>> playable range.
>>
>> From what I understand, an oboe d'amore has a timbre between the normal oboe 
>> and the cor anglais.  What I would do in my virtual instrument software is 
>> load up an oboe patch but then apply some EQ to soften the sound a bit so it 
>> is not quite as assertive.  For the fact that the playable range is lower, I 
>> might also need to mix in a little of the English horn patch to fill out the 
>> lower notes, which will require blending to balance the timbre.  But it must 
>> be noted that this work is beyond the scope of MIDI.
>>
>>> There’s no clarinet in A either.
>>
>> For better or worse, a "clarinet in A" is simply a clarinet as far as 
>> General MIDI is concerned.  In MIDI you typically specify the pitch you want 
>> played, not the note that is written that may sound higher or lower 
>> depending on the instrument.  As such, MIDI note 60 would most often refer 
>> to the equal-tempered middle C whose fundamental is approximately 261.63 Hz, 
>> and one should expect that any GM-compliant synth to render the pitch 
>> properly.  That said, I have encountered some sound libraries that 
>> intentionally transpose samples from their nominal pitches; and that 
>> requires manually transposing a MIDI track to compensate.  I dislike this 
>> practice as it is not very portable.
>>
>>
>> -- Aaron Hill
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MIDI instrument for oboe d'amore

2019-04-30 Thread Jacques Menu
Thanks Lukas and Aaron for your help.

In fact, my use case is merely to listen to the MIDI file from within 
Frescobaldi, to ear-proof the score. I don’t have any MIDI equipment, and organ 
sound is fine for that purpose.

I got the surprise that transposing a voice for the oboe d’amore in A, in 
Lully’s « Dormez beaux yeux » for the needs of our oboes band, lead to quite 
modern music being heard...

What would best suit my need is a way to counter-balance the effect of 
\transpose in the \midi block. This way, one would get both the printed score 
and the MIDI pitches alright, even for instruments unknown to standard MIDI.

Can that be done?

JM

> Le 29 avr. 2019 à 20:53, Aaron Hill  a écrit :
> 
> On 2019-04-29 9:28 am, Jacques Menu wrote:
>> Hello,
>> I find oboe and french horn, but no oboe d’amore in A.6 MIDI instruments.
>> Which other setting can I use for this instrument in A?
> 
> General MIDI does not define such an instrument in the standard, and neither 
> did GS nor XG.  In fact, the reed section of GM Level 2 has no extended 
> patches at all.  (GS and XG do have variations like the "bass clarinet" and 
> some alternate saxophone patches.)
> 
> While it would not be standards-compliant, you could certainly select an 
> alternate bank for the oboe patch with the intention that it means an oboe 
> d'amore.  For your own usage, it would require you to manually configure your 
> synth to load a suitable sound for the instrument.  For other folks using 
> your MIDI file, their synths should fall back using a standard oboe patch 
> which might work, except for lower notes that could be outside the playable 
> range.
> 
> From what I understand, an oboe d'amore has a timbre between the normal oboe 
> and the cor anglais.  What I would do in my virtual instrument software is 
> load up an oboe patch but then apply some EQ to soften the sound a bit so it 
> is not quite as assertive.  For the fact that the playable range is lower, I 
> might also need to mix in a little of the English horn patch to fill out the 
> lower notes, which will require blending to balance the timbre.  But it must 
> be noted that this work is beyond the scope of MIDI.
> 
>> There’s no clarinet in A either.
> 
> For better or worse, a "clarinet in A" is simply a clarinet as far as General 
> MIDI is concerned.  In MIDI you typically specify the pitch you want played, 
> not the note that is written that may sound higher or lower depending on the 
> instrument.  As such, MIDI note 60 would most often refer to the 
> equal-tempered middle C whose fundamental is approximately 261.63 Hz, and one 
> should expect that any GM-compliant synth to render the pitch properly.  That 
> said, I have encountered some sound libraries that intentionally transpose 
> samples from their nominal pitches; and that requires manually transposing a 
> MIDI track to compensate.  I dislike this practice as it is not very portable.
> 
> 
> -- Aaron Hill
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user