About open source, education and random other Stuff
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
| Print article | This entry was posted by Felix Kaechele on June 13, 2010 at 6:28 pm, and is filed under Fedora Planet, Internet, Linux, Personal. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
- Juho Makkonen – Sanainen arkku » Jalkapallon MM-kisat, nörttien juhla
- diário de bordo» Arquivo » Vuvuzelas: não há nada que possamos fazer?
- Legal » Blog Archive » Removendo vuvuzelas da transmissão da Copa
- Shahvar – شاهوار » آرشيو » معضلی به نام ووزیلا
- Protegerse de las vuvuzelas del mundial con Gnu/Linux « Jvare Blog
- Yusuf’s blog supplemental » Blog Archive » Howto: Vuvuzela filter using Linux (Ubuntu)
- Create Digital Music » Filter The Vuvuzela Horn Out of the World Cup; Learn JACK Routing on Linux
- Filtrare le vuvuzelas dalle partite dei Mondiali in South Africa « AleXit Blog
- Vuvuzela-freier Ton zur WM als MP3-Stream – Keep It Simple
- THE TRENDSETTER » On Watching the World Cup: How to Filter out the Annoying Vuvuzela Horns
- MG Blog » Devuvuzelator
- Eliminare il suono delle vuvuzela con Ubuntu
- Twitter Weekly Updates for 2010-06-20 – Joel's Blog
- Vuvuzela filter, Yes! « factorQ.net
- Jak odstranit bzučení z afrického fotbalu? | OndřejČermák.info
- Technology against vuvuzelas « Brizoma
- How to lower vuvuzela noise when watching the World Cup « High Tech News


about 2 months ago
I only can add stereo and mono amplifiers to the JAck-Rack
there is nothing called Frequency :/
about 2 months ago
ok found the error, I was missing some ladspa plugin packs the frequency stuff is in one of those
about 2 months ago
Yes, Mag’s notch filter is in (yum install) ladspa-swh-plugins.
It’s working fine!
about 2 months ago
Thanks for the info! I edited the post and added the package to the yum command.
about 2 months ago
How about the latency? Doesn’t it make the commentary out of sync with the match?
about 2 months ago
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.
about 2 months ago
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!
about 2 months ago
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
about 2 months ago
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?
about 2 months ago
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!
about 2 months ago
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…
about 2 months ago
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.
about 2 months ago
Here’s a plugin for VLC
http://www.ind.rwth-aachen.de/en/research/tools/vuvuzelautlos/
Perfect… the wasps are totally gone