On Jan 31, 2012, at 8:59 AM, Marc Hohl wrote:

> Am 31.01.2012 08:52, schrieb m...@apollinemike.com:
>> On Jan 31, 2012, at 8:48 AM, Marc Hohl wrote:
>> 
>>> Am 29.01.2012 10:35, schrieb mts...@gmail.com:
>>>> Reviewers: ,
>>>> 
>>>> Message:
>>>> The idea here is to create a generic framework that allows for
>>>> modifications to note lengths (i.e. swing) in the MIDI without having a
>>>> typographical impact on the score.
>>> Brilliant idea, from my rather amatheurish point of view!
>>> 
>>> Regards,
>>> 
>>> Marc
>>> 
>> I nixed the patch because Xavier informed me that one could just create two 
>> separate score blocks, one for layout and one for midi.  This makes it 
>> possible to feed different music to the two blocks, which solves the 
>> problem, so it's not necessary to touch the C++ code.
> No, no! It would be great to use one input for graphical *and* midi output by 
> just applying
> a suitable make-swing-formatter, written in scheme. I think this patch would 
> make life
> much easier!
> Writing every pairs of eights as triplets again and again is so annoying ...
> 
> Regards,
> 
> Marc
>> Cheers,
>> MS
> 

Check out:

http://crism.maden.org/music/swing.ly

This is a function that takes music and returns two musics, one swung and one 
unswung, w/ appropriate tags for layout and midi.  Then, in the two scores, 
just use \removeWithTag to get rid of the tagged music you don't want (i.e. get 
rid of layout in MIDI and vice versa).

Cheers,
MS
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to