Last modified: 2014-05-19 09:43:43 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.
See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693011 Regards, Carlo
(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 )
(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.