MIDI suffixes when compiling multiple midi score blocks in one file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

MIDI suffixes when compiling multiple midi score blocks in one file

Raitis Veinbahs
They default to "-1", "-2" and so on.

Is it possible to control/change them? "first", "second", "the fast one" etc.

Thanks,
Raitis Veinbahs.

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: MIDI suffixes when compiling multiple midi score blocks in one file

Federico Bruni-2


Il giorno mar 30 ott 2018 alle 18:12, Raitis Veinbahs
<[hidden email]> 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/




_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: MIDI suffixes when compiling multiple midi score blocks in one file

Hans Aikema-2


> On 3 Nov 2018, at 11:04, Federico Bruni <[hidden email]> wrote:
>
>
>
> Il giorno mar 30 ott 2018 alle 18:12, Raitis Veinbahs <[hidden email]> 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
_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user