http://redmine.audacious-media-player.org/http://redmine.audacious-media-player.org/welcome/favicon.ico?15159353402014-09-10T00:19:55ZRedmineAudacious - Feature #463: Skip trailing silence in MIDI fileshttp://redmine.audacious-media-player.org/issues/463?journal_id=17072014-09-10T00:19:55ZJohn Lindgrenjohn@jlindgren.net
<ul></ul><p>Please attach an example file. Does the file play correctly (tempo changes handled correctly and all that), and only the length shown in the playlist is wrong?</p> Audacious - Feature #463: Skip trailing silence in MIDI fileshttp://redmine.audacious-media-player.org/issues/463?journal_id=17082014-09-11T20:56:08Zmark mamarktma@yahoo.com
<ul><li><strong>File</strong> <a href="/attachments/382/cars_just_wha.mid">cars_just_wha.mid</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/382/cars_just_wha.mid">cars_just_wha.mid</a> added</li></ul><p>file plays fine. tempo is fine. just length is 10 min, and song is 2 min long on the same machine using qmmp, on a Win machine using Win Media Player or Winamp etc..</p> Audacious - Feature #463: Skip trailing silence in MIDI fileshttp://redmine.audacious-media-player.org/issues/463?journal_id=17092014-09-13T01:18:40ZJohn Lindgrenjohn@jlindgren.net
<ul><li><strong>File</strong> <a href="/attachments/383/rosegarden.png">rosegarden.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/383/rosegarden.png">rosegarden.png</a> added</li></ul><p>(placeholder)</p> Audacious - Feature #463: Skip trailing silence in MIDI fileshttp://redmine.audacious-media-player.org/issues/463?journal_id=17102014-09-13T01:19:46ZJohn Lindgrenjohn@jlindgren.net
<ul></ul><p>Rosegarden has this to say:<br /><img src="http://redmine.audacious-media-player.org/attachments/download/383/rosegarden.png" alt="" /></p>
<p>I'm no MIDI expert, so I wonder what the technical difference between the "formal duration" and "playing duration" is.</p> Audacious - Feature #463: Skip trailing silence in MIDI fileshttp://redmine.audacious-media-player.org/issues/463?journal_id=17112014-09-13T04:18:03ZJohn Lindgrenjohn@jlindgren.net
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Feature</i></li><li><strong>Subject</strong> changed from <i>midi song lengths</i> to <i>Skip trailing silence in MIDI files</i></li><li><strong>Category</strong> set to <i>plugins/amidi-plug</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>3.6</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Affects version</strong> <i>3.5.1</i> added</li></ul><p>Well, "playing duration" is apparently calculated based on the time of the last MIDI event in the file, and the "end marker" is the 0xff 0x2f sequence at the end of a track. By design, that end marker has a time of its own, so that MIDI playlists can have a little bit of silence between the last note of one song and the first note of the next. Your test file just happens to have a <strong>lot</strong> of silence before its end marker.</p>
<p>It seems wrong that the other players are ignoring that silence, but whatever is the "correct" behavior, I've added options to our MIDI plugin to skip leading and trailing silence if desired.</p>