Discussion:
MIDI suffixes when compiling multiple midi score blocks in one file
Raitis Veinbahs
2018-10-30 17:12:39 UTC
Permalink
They default to "-1", "-2" and so on.

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

Thanks,
Raitis Veinbahs.
Federico Bruni
2018-11-03 10:04:03 UTC
Permalink
Il giorno mar 30 ott 2018 alle 18:12, Raitis Veinbahs
Post by 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.
It's not possible (yet).
See this issue:
https://sourceforge.net/p/testlilyissues/issues/3154/
Hans Aikema
2018-11-07 21:37:06 UTC
Permalink
Post by Federico Bruni
Post by 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.
It's not possible (yet).
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

Loading...