On Sat, 19 Jul 2014, Francisco Vila wrote:

Sure?  I know there is a message for encoding the key signature, but the clef?

Yesterday I was messing with a MIDI imported in Rosegarden and edited
a bass segment with the event editor, and one of the first events was
a clef event. Let me look at it again tonight.

Maybe the clef event was generated by Rosegarden on import?


As far as I know there is not a commonly accepted MIDI file event for Clefs, like there is for Time Signature (FF 58 04) and Key Signature (FF 59 02). But I guess it is possible for a Sequencer like Rosegarden to put a special message in a "Sequencer Specific Meta-Event" (FF 7F). Or in a text event (FF 01) which, according to the Standard MIDI-File Format Spec 1.1 that I'm looking into now, can contain "Any type of text containing anything".

Personally I would not choose to let Lilypond/midi2ly be able to export or import such a non-standard Clef event.

--

MT

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to