Notices


Reply
Thread Tools
Posts: 20 | Thanked: 16 times | Joined on Jun 2010
#21
Hehe, great idea. I hacked together a little app in python using pygame.
However, I did not add the soundfile, as I did not know under which license it was released. You can, however, simply convert the file the original poster provided (even on your N900, requires mplayer):

Code:
mplayer -ao pcm vuvuzela.mp3
mv audiodump.wav vuvuzela.wav
and then putting vuvuzela.wav in a new directory together with the contents of the zip-file i provided.

Have fun!

P.S.: One (among probably many) caveat, though: The soundfile doesn't loop very good. If we find a properly (i.e. CC) licensed one, we can however cut it as we see fit
Attached Files
File Type: zip pyvuvuzela.zip (19.7 KB, 404 views)
 

The Following 9 Users Say Thank You to eagle_linux For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#22
Originally Posted by lcuk View Post
lol @ this - we do indeed need an app for it

quick mockup:
http://bit.ly/9688g7

awesome!!!! :d
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
Posts: 60 | Thanked: 144 times | Joined on Jan 2010 @ Philadelphia
#23
trolls should be forced to use the following site: http://www.vuvuzela-time.co.uk/talk.maemo.org
 
danx's Avatar
Posts: 304 | Thanked: 20 times | Joined on Jan 2010 @ irvine
#24
yes , my father hates that noise, so how do i install it ?
 
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#25
Originally Posted by eagle_linux View Post
Hehe, great idea. I hacked together a little app in python using pygame.
However, I did not add the soundfile, as I did not know under which license it was released. You can, however, simply convert the file the original poster provided (even on your N900, requires mplayer):

Code:
mplayer -ao pcm vuvuzela.mp3
mv audiodump.wav vuvuzela.wav
and then putting vuvuzela.wav in a new directory together with the contents of the zip-file i provided.

Have fun!

P.S.: One (among probably many) caveat, though: The soundfile doesn't loop very good. If we find a properly (i.e. CC) licensed one, we can however cut it as we see fit
Great work eagle_linux! I installed it and it works flawlessly - touch the screen to play the vuvuzela file, lift your finger to stop playing! A great app and with your first post on maemo.org too!



I can't believe nobody has thanked you yet - they ask for a vuvuzela app, you deliver one - what a fickle crowd we have here

Maybe next step is to package it up with a sound file and put it on the repositories! And don't be letting your new found skills go to waste, beginners welcome in the friendly coding comp (link in sig below)

btw If anyone is stuck finding a vuvuzela wav file, I literally used the first result from a google search.

I almost cant wait to get into work tomorrow and have this beauty blaring away all day
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun
 
Posts: 44 | Thanked: 28 times | Joined on Mar 2010
#26
I made one that uses the Accelerometer to start & stop de vuzuzela sound... Tilt the phone as if you where blowing the vuvu

the file is hosted here:
http://www.luckies.nl/maemo/maevuvu_0.1.tar.gz


-1. download the tar.gz to your documents folder on the N900
0. Open xterm and become root:
root
1. install python-pygame (if not installed already)
apt-get install python-pygame
2. make a folder in /home/opt with the name vuvu
mkdir /home/opt/vuvu
3. change to the folder
cd /home/opt/vuvu/
4. Unpack the prev. downloaded file
tar -zxvf /home/user/MyDocs/.documents/maevuvu_0.1.tar.gz
5. Copy the .desktop file so you get an icon in the menu
cp Vuvu.desktop /home/user/.local/share/applications/hildon/

(sound & picture file licences are unkown)
code snippets 'borrowed' from kojakker
http://talk.maemo.org/showthread.php...ghlight=pygame
Attached Images
 

Last edited by ny-hardcore; 2010-06-16 at 21:25. Reason: Credits for code to kojakker
 

The Following 6 Users Say Thank You to ny-hardcore For This Useful Post:
CepiPerez's Avatar
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#27
I think it's more easy if you add a queen beecon widget that plays the file
 
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#28
Originally Posted by ny-hardcore View Post
I made one that uses the Accelerometer to start & stop de vuzuzela sound... Tilt the phone as if you where blowing the vuvu

the file is hosted here:
http://www.luckies.nl/maemo/maevuvu_0.1.tar.gz
Awesome job ny-hardcore!

Originally Posted by CepiPerez View Post
I think it's more easy if you add a queen beecon widget that plays the file
You've got a N900. If you like things easy, you got the wrong phone! lol
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun

Last edited by kojacker; 2010-06-16 at 22:01.
 
Posts: 134 | Thanked: 31 times | Joined on Mar 2010 @ Sao Paulo / Brazil
#29
I love it!!!!

Tks!

http://twitpic.com/1xcyhi

Pσσσσσσσσσσ!!!!!!!!!!!!!!! lol
 
Posts: 44 | Thanked: 28 times | Joined on Mar 2010
#30
Originally Posted by kojacker View Post
Awesome job ny-hardcore!


You've got a N900. If you like things easy, you got the wrong phone! lol
haha thanx, but without your tutorial it wouldn't be possible..

do you by any chance know how to package a deb? tried the wiki pages, but don't want to upload it to the repos, just want to make a .deb
 

The Following User Says Thank You to ny-hardcore For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:38.