Vuvuzela Filter using Fedora
If you, like me, like to watch the world cup in South Africa but hate the monotonous sound of the so called Vuvuzelas this post is for you.
I will show you how to filter out the noise using your Fedora machine:
First we need to install the necessary tools and add ourselves to the jackuser group:
yum install jack-rack qjackctl pulseaudio-module-jack ladspa-swh-plugins gpasswd -a felix jackuser
Of course these commands need to be run as root and you need to replace felix with your username. After you’re done with that you need to log off for the changes to become effective.
Now launch QJackctl from the Applications menu and start configuring it. The following screenshots show my settings. The don’t necessarily need to be your settings, so this is a little bit trial and error.
After you changed the settings you can start the Jack daemon by pressing “Start” in the QJackctl window.
Now you fire up Jack-Rack from the Applications Menu as well. For anything to happen with your audio within Jack-Rack you need to connect your audio devices to the Jack connection of Jack-Rack. This can be done using QJackctl. See below screenshot on how I connected Jack-Rack with my sound devices:
And finally you need to add the filters to Jack-Rack. I used a serial setup of four “Mag’s Notch Filter”. You can add them by clicking on the “+” button at the top left of the Jack-Rack window. Then go to Frequency -> Filters -> Notch -> Mag’s Notch Filter.
Here’s a screenshot of my filter settings:

Frequencies are 233, 466, 932 and 1864 Hz.
Kudos for the information on frequencies go to Surfpoeten.de.
Now you need to hook up the sound output of your TV or cable/sattelite receiver to your computer’s audio input and in turn connect your computer’s audio output to some speakers or headphones.
I usually leave both filters at the end of the rack disabled as that allows for more atmosphere while keeping the vuvuzelas down
It’s not perfect but seems to work okay. If you manage to tweak your setup to achive a better sound feel free to add your findings to the comments.
And now enjoy the next world cup game without those annoying vuvuzelas
Edit
Here’s a command line for mplayer to achieve the same within mplayer:
mplayer -af pan=1:0.5:0.5,sinesuppress=233:0.01,sinesuppress=466:0.01,sinesuppress=932:0.01,sinesuppress=1864:0.01,sinesuppress=232:0.01,sinesuppress=465:0.01,sinesuppress=931:0.01,sinesuppress=1863:0.01,sinesuppress=234:0.01,sinesuppress=467:0.01,sinesuppress=933:0.01,sinesuppress=1865:0.01
Found by Thomas Moschny at http://pastebin.com/KunkS0uk


I only can add stereo and mono amplifiers to the JAck-Rack
there is nothing called Frequency :/
ok found the error, I was missing some ladspa plugin packs the frequency stuff is in one of those
Yes, Mag’s notch filter is in (yum install) ladspa-swh-plugins.
It’s working fine!
Thanks for the info! I edited the post and added the package to the yum command.
How about the latency? Doesn’t it make the commentary out of sync with the match?
Not for me. I can’t hear that much of a difference in latency. So it can’t be as much as that it would bother me.
And now, if you rebuild rpmfusion’s mplayer rpm with jack support (–with jack), you can even watch TV from your TV card and apply the filter to the live audio signal. Cool!
[...] ilman, että muu ääni kärsii lainkaan. Linkkejä erilaisiin virityksiin pulpahtelee jatkuvasti esiin Twitterissä ja muissa [...]
Hey, I’ve come up with pretty much the same setup. At first I also used the notch filter and Mag’s notch filter, but the result wasn’t as good as that from the surfpoeten.de site. So I tweaked a bit more and found a set of “Single band parametric” filters to work best, now I can’t hear a difference to the result achieved with Logic. For the exact settings check out my post at http://ahans.de:8081/blog/entry/7
[...] #2 E EM LINUX? Aparentemente, ainda mais simples, usando JACK e JACK Rack: vejam aqui http://fetzig.org/2010/06/13/vuvuzela-filter-using-fedora/ e aqui http://ahans.de:8081/blog/entry/7 (o segundo parece mais completo que o [...]
[...] Maurício Teixeira recebi esta dica que explica passo-a-passo como configurar este filtro no Fedora. As eventuais adaptações para outros sistemas ficam como um exercício para o leitor [...]
I followed your instructions on my netbook with Ubuntu 10.04 installed, but somehow there is no frequency filtered. I can’t hear any difference to the unfiltered audio at all.
After a few minutes the Jack-Rack entry disappears from the JACK Connections list and in a new window it says “Connecting to JACK server…”
Any Suggestions?
[...] زمینه کاربران فدورا میتوانند راهنمای قدم به قدم آن را از اینجا دریافت کنند [...]
[...] Podéis ver el resto de los pasos en la web de Felix Blog: Vuvuzela Filter using Fedora. [...]
How nice! I just rewatched a Youtube news report about this and it is way less annoying with the filters installed. I never really played with JackRack, and now that I see how it can be used, I think I’m in for some fun.
Also, according to my search for note frequencies, the Bb could be defined as 29.14, and the 3th through 5th octaves above that are more precisely:
3: 233.12
4: 466.24
5: 932.48
(Just in case anyone’s trying to get really narrow with their bandwidth)
Thanks!
This is one application of JACK to any consumer; one could also have equalisation according to your room acoustics etc. Sure it is not the only possible way to do things, but it is pro-audio oriented and the plugins would be top-notch.
This is why I would love to see JACK by default in any Linux install. It would help things…
[...] I think the latter does a better job. I also used slighty more accurate frequencies as suggested here and added an additional lower resonant frequency at 116.56 because I could still here a faint toot. [...]
[...] the full instructions here: Vuvuzela Filter using Fedora [Felix' [...]
[...] Vuvuzela Filter using Fedora (Linux) [...]
[...] habe auf der Grundlage von Blogpost 1 und Blogpost 2 einen Livestream vom jeweiligen Fernsehsender gemacht, der heute die Spiele [...]
[...] lifesaver, a helpful nerdy German guy named Felix, tells us you need to be watching the games on a Mac computer. You have to download JACK, an audio [...]
[...] LADSPA plugin should work on Linux also, but we can do the same work using jack-rack. Here there are instructions that works on any linux box with jack and jack-rack. No tag for this [...]
[...] eliminare il suono delle vuvuzela, il tutorial più completo che ho trovato è quello pubblicato su Felix’s Blog che descrive come filtrare le vuvuzela utilizzando Fedora. Ho cercato di adattarlo su Ubuntu e la [...]
You better filter the fundamental tone (233 Hz) and its harmonics. Those would be 466 and 699 Hz. I used a win32 sound editor to create three filters: 230-240, 460-480 and 690-720 Hz. That pretty effectively killed the nagging buzz. See the before and after spectral displays:
http://polonai.se/luiers.org/vuvuzela.png
http://polonai.se/luiers.org/vuvucut.png
Higher harmonics (932, 1165 Hz etc) have much less energy and can be left. Or filtered, if need be. Make sure that with each higher harmonic the bandwidth should increase as well (10-20-30 Hz etc).
Replace png with wav for audio.
[...] http://fetzig.org/2010/06/13/vuvuzela-filter-using-fedora/ – sorta works. in reply to LGnome [...]
Here’s a plugin for VLC
http://www.ind.rwth-aachen.de/en/research/tools/vuvuzelautlos/
Perfect… the wasps are totally gone
[...] help you keep sane during the matches. Fedora users can filter the unpleasant sound by following this simple guide, while Ubuntu fans could use a VLC plugin called VuvuzeLAUTLOS. There is also a devuvuzelator for [...]
[...] jsem si tento postup sám nevymyslel, ale převzal jsem ho z fetzig.org/2010/06/13/vuvuzela-filter-using-fedora/ a doplnil ho o link na český stream . 1 komentář [...]
[...] Fedora users can filter the unpleasant sound by following this simple guide [...]
[...] ArtsTechnica links to a few other riffs on that concept, such as a Popular Science translation/summary from the German blog Surfpoeten: “a software filter that selectively mutes the particular frequency of the vuvuzela. The horn drones, apparently, at 233 Hz, with harmonic overtones at 466 Hz, 932 Hz, and 1864 Hz.” The idea is to create a series of bandpass EQ filters in Logic Express software, and run the TV audio through a Mac. Or, you can find instructions to create a vuvuzela filter on a system running Fedora. [...]
[...] lifesaver, a helpful nerdy German guy named Felix, tells us you need to be watching the games on a Mac computer. You have to download JACK, an audio [...]
[...] 466, 932 and 1864Hz. There are many suggestions of how to do this using Logic Express, GarageBand, JACK (under Fedora), LabView, or if you have an equalizer on your TV you can just drop the 300Hz [...]
[...] you keep sane during the matches. Fedora users can filter the unpleasant sound by following this simple guide, while Ubuntu fans could use a VLC plugin called VuvuzeLAUTLOS. There is also a devuvuzelator [...]