Last modified: 2014-05-19 09:43:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50029, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48029 - crackling at start of OGG renditions of MIDI files (fixed in TiMidity++ 2.14.0)
crackling at start of OGG renditions of MIDI files (fixed in TiMidity++ 2.14.0)
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Score (Other open bugs)
master
All All
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-03 00:41 UTC by spage
Modified: 2014-05-19 09:43 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2013-05-03 00:41:34 UTC
Every audio file I've played generated by this (fantastic) extension has had crackling in the first few seconds of music. Try e.g. https://en.wikipedia.org/wiki/User:MarkAHershberger/Music_Sandbox : wait for the player to appear and click play.  I'm on Ubuntu and so far only other developers on Linux have confirmed hearing a crackle, so it might be Linux only.

It's not the MediaWiki media player; other .ogg files play fine e.g. https://commons.wikimedia.org/wiki/Audio_files_of_medieval_music , and if I download the .ogg generated by Score it crackles whether I play it in Firefox's built in .ogg player, the rhythmbox player, or the gstreamer pipeline. If I download the .midi file and generate it myself using the same "timidity" MIDI converter that the Score extension uses (e.g. `/usr/bin/timidity -Ov --output-file=timidity_out.ogg sample.midi`) it has the same crackle. It's not the OGG format: other .ogg files such as /usr/share/sounds/ubuntu/stereo/desktop-logout.ogg play fine, and the crackle remains if I convert to a .wav file instead of a .ogg file.

The real proof that the problem lies in timidity would be to inspect the waveform of the raw output file for crackles.

timidity bug reports suggest using its --output-24bit option for higher quality. For that one sample file the crackle went away if I used both --output-24bit and convert to a .wav file.
Comment 1 Carlo Stemberger 2013-05-11 11:36:39 UTC
See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693011

Regards,
Carlo
Comment 2 spage 2013-05-21 22:48:03 UTC
(In reply to comment #1)
> See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693011

Thanks. I confirmed that TiMidity++ 2.14.0 — the first release in 9 years! — generates .ogg files without the audio glitch on my PC.  Alas Debian, and hence I guess Ubuntu, is lagging on packaging the new version.

(FWIW

$ install libogg-dev and libvorbis-dev packages
download TiMidity++ 2.14.0
$ ./configure --prefix=/tmp/timtest --enable-audio=vorbis & 
$ make
$ make install
copy Ubuntu's /etc/timidity/timidity.cfg to /tmp/timtest/share/timidity/timidity.cfg

$ /tmp/timtest/bin/timidity -Ov --output-file=/tmp/MarkH2.ogg /tmp/MarkAHerschberger_Music_Sandbox.midi
)
Comment 3 Andre Klapper 2014-05-16 22:24:08 UTC
(In reply to spage from comment #2)
> (In reply to comment #1)
> > See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693011
> 
> Thanks. I confirmed that TiMidity++ 2.14.0 — the first release in 9 years! —
> generates .ogg files without the audio glitch on my PC.  Alas Debian, and
> hence I guess Ubuntu, is lagging on packaging the new version.

http://packages.ubuntu.com/trusty/timidity (14.04) lists 2.13.2-40.2 only so we won't get the fix automatically by upgrading the Ubuntu version on servers.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links