[Bug 694811] wildmidi: Truncated start when seeking back to zero

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Jan 3 16:41:43 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=694811
  GStreamer | gst-plugins-bad | 1.x

Bret Curtis <psi29a> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |psi29a at gmail.com

--- Comment #7 from Bret Curtis <psi29a at gmail.com> 2015-01-04 00:41:36 UTC ---
We're tracking this bug also upstream here:
https://github.com/Mindwerks/wildmidi/issues/100#issuecomment-68614888

There is actually a problem with the MIDI file. It has a huge delta amount at
the beginning which is causing the "silence" at the start of the song. This had
not occurred with previous versions of WildMIDI because of undetected bugs
which have now been fixed.

Start of Track
Track Size: 8107
Delta: 5376, Accumilated Delta: 5376
Set Patch: chan(9) patch(0)
Delta: 0, Accumilated Delta: 5376
Meta Event: Unsupported (4)
Meta data (5 bytes): 
0x64 0x72 0x75 0x6d 0x73 
Delta: 0, Accumilated Delta: 5376
Controller: chan(9) ctrl(7) set(100)
Delta: 0, Accumilated Delta: 5376
Set Patch: chan(9) patch(0)
Delta: 0, Accumilated Delta: 5376
Note On: chan(9) note(38) vel(77)

The delta value is 0xaa 0x00 which when you do ((0xaa & 0x7f) << 7) + (0x00 &
0x7f) you get 5376

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list