lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lilypond-auto] Issue 4539 in lilypond: Set the sequence name in MID


From: lilypond
Subject: Re: [Lilypond-auto] Issue 4539 in lilypond: Set the sequence name in MIDI using title information from \header block
Date: Sat, 15 Aug 2015 19:44:15 +0000

Updates:
        Labels: -Type-Enhancement Fixed_2_19_26

Comment #21 on issue 4539 by address@hidden: Set the sequence name in MIDI using title information from \header block
https://code.google.com/p/lilypond/issues/detail?id=4539

pushed to staging as
commit ab6b5b6312019ac4d6ea8af57b2ba5aa4295b42f
Author: Heikki Tauriainen <address@hidden>
Date:   Sat Aug 15 21:33:31 2015 +0200

    Set the sequence name in MIDI using title information from
     \header block

    issue 4539

This patch adds support for setting the MIDI sequence name for MIDI output files using the value of the "midititle" field from a relevant \header block, and
    falling back to using the "title" field if "midititle"
has not been defined. (This should be analogous to how "pdftitle" and "title"
    work for customizing PDF metadata.)

The purpose of the change is to improve the previous behavior where the name of every MIDI sequence created by LilyPond used to be shown by MIDI synthesizers as "control track" (previously, this string was hard-coded as the name of every initial track of MIDI files created by LilyPond by Control_track_performer).

    The patch
* extends every Performance instance with a reference to a \header block associated with the performance, adds Scheme library routines for getting and setting the associated \header (modeled after corresponding routines available for the Score class), and updates the Book::process_score function to initialize
    the header information of Performance objects attached to a score;
      * adds a "name" parameter to the Performance output routines, used for
updating the track name in the performance's first Audio_staff (assumed to
    represent the control track) before outputting MIDI; and
* changes the write-performances-midis function (in scm/midi.scm) to query the MIDI sequence name for a performance from the performance's \header block
    (adapted from the handle-metadata function in scm/framework-ps.scm).
      * adds two regtests


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]