[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MIDI suffixes when compiling multiple midi score blocks in one file
From: |
Hans Aikema |
Subject: |
Re: MIDI suffixes when compiling multiple midi score blocks in one file |
Date: |
Wed, 7 Nov 2018 22:37:06 +0100 |
> On 3 Nov 2018, at 11:04, Federico Bruni <address@hidden> wrote:
>
>
>
> Il giorno mar 30 ott 2018 alle 18:12, Raitis Veinbahs <address@hidden> ha
> scritto:
>> They default to "-1", "-2" and so on.
>> Is it possible to control/change them? "first", "second", "the fast one" etc.
>> Thanks,
>> Raitis Veinbahs.
>
>
> It's not possible (yet).
> See this issue:
> https://sourceforge.net/p/testlilyissues/issues/3154/
>
>
Depending on your use-case regarding the multiple midi blocks you may be able
to use parts of the ‘rehearsalMidi’ logic that’s present in the openlilylib
gridly snippets to modify your midi output filenames as a work-around.
https://github.com/openlilylib/snippets/blob/master/ly/gridly/grid-templates.ily
that function creates rehearsal-midis with a (volume) highlighted staff by
modifying the min/max volume settings of the score and the staff to highlight.
But the part of it that influences the midi-file name appears to be usable for
other use cases too. The midi-file(s) that are produced by the function are
named with a suffix after the voice. See
https://github.com/openlilylib/snippets/tree/master/ly/gridly/usage-examples/multi-file
for an example where the function is used.
regards,
Hans Aikema