Skype Voicemail Script

July 23, 2006

I’ve written a script that will allow you to use voicemail on Skype 1.3 (using ALSA on Linux) for free. It checks whether or not you’re in a call, and, if you are, it’ll try to divert your speakers/headphones to your microphone. It will then play a voicemail message of your choice (use a sound recorder or speech synthesiser or something) named vmail.wav. Then the person at the other end will be able to make a 20-second voicemail message, which will be saved as msg<ISO 8601 date and time>.wav. Copy it to a text file, save it and set it as executable.


while [ 1 ]
while [ “$incall” = “” ]
incall=`lsof | grep ‘skype.*pcm’`
sleep 3

time=`date -Iminutes`
amixer -c 0 cset numid=20 5
aplay vmail.wav
arecord -d 20 -f cd msg$time.wav
amixer -c 0 cset numid=20 0
incall=`lsof | grep ‘skype.*pcm’`
while [ “$incall” != “” ]
incall=`lsof | grep ‘skype.*pcm’`

In order for this to work for you, you may need to set the two amixer lines. Here’s how. Firstly, type

amixer contents

Look for a line that looks something like:

numid=20,iface=MIXER,name=’Capture Source’

The numid may not be 20. Note down the numid. Also, note down the options below this line, which look something like this:

; Item #0 ‘Mic’
; Item #1 ‘CD’
; Item #2 ‘Video’
; Item #3 ‘Aux’
; Item #4 ‘Line’
; Item #5 ‘Mix’
; Item #6 ‘Mix Mono’
; Item #7 ‘Phone’

This option is normally set to Mic. You want to set it to Mix. If there isn’t a Mix, then there may be a Mix Mono. If there isn’t either, paste the output of your ‘amixer contents’ into a comment and I’ll try to help. Note down the item number of Mix and Mic.

Your first amixer command will be changed to:

amixer -c 0 cset numid=<your ‘Capture Source’ numid> <the ID of ‘Mix’>

The second will be:

amixer -c 0 cset numid=<your ‘Capture Source’ numid> <the ID of ‘Mic’>

The script should then work; if it doesn’t, feel free to ask for help.

Many moons have passed since I last posted here

July 22, 2006

But I’m not dead, you might be happy to know.

School’s over for another year, so I have 6 weeks of doing bugger all ahead of me. Just the way I like it.

KuruKuru2X isn’t dead either, my map guy has gone on holiday, that’s all. I’ve done a highscore table, and am in the process of doing credits. Stay tuned.

I’m going on holiday too on the 29th, so he’d better be back by then.

I feel Linuxy

June 16, 2006

I really do. In fact, I'm so Linuxy I could explode.

Yes, I know me no post long time, but meh. Nobody reads this anyway.

Actually, that's untrue, I've had a grand total of 501 hits. Not bad.

I digress. What I wanted to talk about was my abandonage of Windoze. I'm now a full-time-Linux guy. A couple of hiccups in the beginning, i.e. no internet access, but I soon fixed that with a new wireless card, and something I still need to fix, printing. This will be difficult.

Anyway, the beta release of KK2X went OK, I just have to fix a bug or two and it'll be OK. I hope to get some new level packs soon.

Compiling ooPo's toolchain now, I should be up-and-running for GP2X dev by tomorrow.

I also need to buy some more RAM.

Holy Coding Competition Batman!

May 29, 2006

GamePark Holdings, the makers of the GP2X, are holding a coding competition!

You may be thinking "why the hell is he so excited about this?". Well, all will become clear.

You see, I wanted to enter GBAX's competition. Unfortunately I didn't get my game done by the deadline due to general incompetence. That game is now KuruKuru2X (see below). This time round I want to get an entry in.

So there's that. There's also the small matter of prizes. As you might notice, should you follow this link, the top prize is $5,000. Five thousand dollars. That's £2,600. That's an awful lot of money. Of course, so are the rest of the prizes. And a GP2X full set comes with each. I very much doubt I'll win first or second, but third and fourth prizes seem possibly viable for the winning. $500 is not bad for something I'd do for free and fun anyway.

You can bet your hat that I'll be entering some form of quirky homebrew game, for I don't have the time nor the expertise to write an emulator, let alone a good one by September 30th. I'll probably try though if I get my homebrew game perfected.

So that's that. BE PREPARED. 


May 29, 2006

I can't believe I neglected to post this, but here it is, on my blog…

KuruKuru2X! It's what I've been working on for the past few weeks, and it's almost ready!

I know that Kuru Kuru Kururin has generated a very large following, despite never being released in the US. I also know that I found it an amazing game. Hence, since I was unable to find a clone of it, I took it into my own hands. The result is this.

Menu. Awesome, no? It all looks very professional, and it's too damn awesome for words. Thanks NoidZ for this!

An in-game shot. Dynamic! The tiles are nice, but the levels are being re-done for awesomeness. Also to be curvy.

Thanks to NoidZ for the graphics, and more when my GP2X arrives (including a beta)!

Britain – Don’t mess with our policies

May 26, 2006

An anti-war protester was removed from Parliament square this week. The whole operation took a large number of police officers and over £12,000.

Also this week, two schoolchildren in separate parts of the country have been stabbed during schooltime.

Food for thought. 

Tiscali: Killing the internet, one subscriber at a time

May 25, 2006

Tiscali? Why on earth did I choose Tiscali?

Well, I suppose, at that point, it was the cheapest. £18.99/month for 512kbps broadband. Very nice, by the standards at the time. Now it should be at 2Mbps. Which it fairly obviously isn't. Broadband tests have shown me that my '2Mbps' download speed is actually in the range of 512kbps. That's awful.

I also had a problem with my connection at one point. It was largely my fault, I do admit, but the fact that it took me a week to get through to Tiscali tech support then be told that I had accidentally changed the password by some patronising idiot who had to contact his supervisor three times because he'd forgotten how to access the database.

So I'll probably transfer to NewNet. 8Mbps maximum download speed, which will be about 6.5Mbps on this line, 3 times faster than what I should have (but don't) now, or 16 times faster than what I actually have. They also give you a static IP and some webspace to boot, and I've heard nothing but good things about them.

So if anybody from the UK is reading and wants an ISP, please, for the internet's sake, don't choose Tiscali.

Sundays, Mondays, Happy Days

May 17, 2006

Tuesdays, Wednesdays, Happy Days, Thursdays, Fridays, Happy Days, Saturday! Happy Day! Rockin' all week with you!

Happy songs. They do so make me smile. I enjoy listening to them, certainly. Unlike the "hits" of today. Singing about all the shit that happens to them, though it probably hasn't happened to them, because they're celebrities, they're rich, they can't sing, they don't need to and all is good. However, they like to sing about troubles they think the rest of us have. They sing about losing a girlfriend. About the death of their grandmother. Accidentally prematurely ending the life of a small insect.

What happened to singing because you're happy? Surely that's what singing's all about. Listening to songs through the 40s, 50s, 60s, 70s and 80s, they're all cheery. Yet suddenly, at some point during the 90s, everyone in the music industry is suddenly brainwashed. They're incredibly sad and have to write songs about it. It's awful. Of course, there's still the odd really nice cheery song (think JCB), but other than that, they're all actually really sad. It's not nice. If anyone from the music business is reading this, please make something happy! It'd make my day.

Also, my GP2X won't run on batteries at the moment. It's happened before, so I'm optimistic that it'll sort itself out.



May 12, 2006

Stuff that is good that has been found on the internet is:

Dr. Tran – He'll fuck you up. 

Rejected – My spoon is too big. 

Also, my amazing artistic logo for Dzz's demo compo:



May 12, 2006

Well I’ll be. E3 was well… kinda disappointing. It could and should have been a lot bigger and better. Some exciting announcements were made – Ninty showing off a lot of Wii stuff including a sports game, Zelda, Mario, Metroid; as well as some DS stuff. Also really interesting was the Virtual Console feature and the new controller you’ll use to play it, as well as Connect24 (when are we going to get a webserver on that thing?). Sony showed off their new PS3 stuffs – some really nice (and confusing, by tradition) clips of the new MGS (which isn’t card based, thankfully) as well as their new “we’re not copying Nintendo, we thought of it first so ner” controller, which has no rumble but instead a wireless motion sensor thingy like the Wiimote and looks like a fancied-up PS2 controller. Basically, more sequels, more stealing, more FPS and violence because that’s what your people want. Microsoft with well… Halo 3. I generally dislike FPSes, but the trailer was quite nice. Still, more sequels, more FPS. Go originality.

So, it becomes obvious that I’m a strong supporter of the Wii, which I reckon will deliver fun games in an innovative way. The other consoles, despite their sheer power and lovely graphics, really won’t deliver the same experience. So yeah, Viva la Wii. I might buy a PS3, then sell it on eBay for three times buying price. Then buy a Wii. Wii yeah.

I plan on buying the Zelda game (swordy goodness, woo), the Sonic game, the Mario game and a driving game. And also a Star Wars game, should it come out. It’s every geek’s dream to wield a lightsaber. Wii yeah.

I also need to stop with the Wii jokes. Wii yeah.