Base FM now on Freeview

December 14th, 2008

One of the things that annoyed me when I moved from Freemans Bay to Glenfield in 2006 was that I would not be able to tune into Base FM anymore. This radio station broadcasts on a low powered frequency (107.3) out of Ponsonby. This pretty much meant I was out of luck if I wanted to listen to it at home. I even spent about $100 on a big VHF aerial in the hope that I could pick it up. Unfortunately there must have been another low powered radio station on the same frequency closer to me than Base FM’s transmitter in Ponsonby. So all I could hear on that frequency was some oldies music.

So I was stoked to learn the other day (quite by accident) that Base FM is now available on Freeview. I did a service search on my satellite receiver and it found it pretty much straight away. All in crystal clear digital audio.

For those new to Base FM, It’s basically a station where DJ’s specialise hip hop, drum & bass, reggae, funk and soul. The DJ’s play what they want and they are not under any commercial pressure to play rubbish. They only play music they are truely passionate about. So now that this awsome station is available all over Aotearoa, I think down the line this will have a positive influence on the creative output of New Zealander’s with an intertest in producing quality hip hop, drum & bass, reggae, funk or soul. Aspiring artists can draw from a wider range of influences instead of just what they see on C4 in primetime or by listening to banal commercial hip hop and R&B on radio stations like Mai FM and Flava.

Pyro Stunts – Flame Retardant – Mp3s

October 18th, 2008

I’ve just finished compiling an album of some of my musical efforts from the last five years or so. It’s a released under the pseudonym of Pyro Stunts which comes from a teenage fascination with improvised pyrotechnics. The album is called Flame Retardant and it’s a 10 track electronic mish-mash of genres such as breaks, dub, dance and reggae. I wanted to get this one out the door so that in future I can focus on dubstep and dancehall only.

Many of these early tunes have been on myspace at one time or another. I used TuneCore to effortlessly upload all my tracks onto iTunes, ShockHouse.com, Rhapsody, Emusic, lala, Amazon, Napster amiestreet.com and groupie tunes. They’ll be online is four to six weeks time apparently. In addition to these, I’ll be uploading to other mp3 sites such as Amplifier which is the 100% NZ music site.

Pyro Stunts - Flame Retardant

For the album cover art, I used an HDR photograph that is discussed here. Pretty much everything else in the image was produced using processing. It’s an open source image based programming language based on Java.

It’s great that in 2008 all the tools are available for artists to create and distribute their own works at little or no cost. Click on to one of the music retailers above to preview the tracks. Enjoy the sound of Pyro Stunts in 2008.

Experiment in HDR with Fake Tilt Shifting.

June 16th, 2008

I’ve been seeing a few stunning High Dynamic Range (HDR) images lately on the blogs so I thought I’d have a crack at it myself. But with an added twist, I have combined it with a fake tilt shift technique. Disclaimer: I am not a photographer and my Photoshop skills are pretty average.

This image is made up of three exposures. One underexposed at shutter speed 1/1600. One overexposed at shutter speed 1/400 and the other in the middle at 1/800. I used the auto exposure bracketing feature on my wife’s Canon EOS 5D. The three exposures were then combined into a HDR image and tone mapped using Photomatix. By exaggerating the dynamic range, the detail in the image looks as though it was hand painted. Lastly the image was opened in Photoshop CS3 where a fake tilt shift technique was applied. The aim of the tilt shift was to create the illusion of a miniature model by blurring the immediate foreground, background and horizon but leaving the center of the image not blurred. As you look at the image you can imagine that you are looking at a photograph of a miniature model of Auckland City.

Auckland Fake Tilt Shifted in HDR


This is another HDR of my backyard which is the first HDR I had attempted. It turned out pretty good. You can almost imagine you are looking at a ray-traced scene. There is no fake tilt shift on this one.

Matt's backyard in HDR

 

How to Pwn a Scumbag Laptop Thief – DIY Style

April 28th, 2008

With a little know how it is pretty easy to set up your laptop so that you can get it back again if it’s been stolen. There are a few commercial products available that can do this but it’s more fun to make your own. This only works if your computer is used on the internet once stolen. It will automatically poll a web server which then logs the IP address of your computer. The server then emails the IP to you and you can then use a traceroute command to find out what ISP the thief is using. Once this is known, you can then get in touch with your local enforcers of law. They’ll hopefully be able to work with the ISP to locate the physical address of your laptop. So there are a few things that will need to happen for this to be able to work.

A thief will need to be able to log into the computer. So avoid using login screen or if your computer is set up so that it requires logging into then provide a guest account and provide the user name and password on a post-it note stuck to the laptop. If the crook can’t log in then they will just end up reinstalling the OS and all will be lost.

The crook will need to access the internet. If they can’t get online then you can’t get them. Try to stick to a pretty straight forward network setup that will work with most DSL routers. The more complicated it is, the less likely it is to work. Perhaps you could provide a link on your desktop to your dial-in account. Some ISPs offer a dial-in service, so you could create a shortcut to this as a courtesy to a scumbag thief.

Here’s what you’ll need:

  • Know-how in php and Java
  • A web server on the internet that runs php scripts with mail sending enabled. The (email part is optional). There are several free web hosting services you could use however many of them have the php mail function disabled. Most commercial php web hosts have php mailing enabled.
  • Your laptop will need the Java Runtime Environment installed. You may wish to port the Java code to some other language if you prefer.
  • RealVNC installed

The iplogger.php script will log and email the IP address of your stolen computer to you. This is to be uploaded to your web server. You will need to modify line 11 with your own email address. Also in the event that your computer is stolen you will need to modify line 5 with the id that you have assigned to your computer. For example:
$stolenuser = “mattslaptop”;

You shouldn’t need to modify the Main.java unless you have installed RealVNC to a different location. This change is made on line 51. If you don’t want to use RealVNC then just delete lines 48 to 53.

Compile the main.java program into a class file and create a shortcut to it. The target of the shortcut will look something like this:

%windir%\system32\javaw.exe “C:\Main.class” http://mydomain.com/iplogger.php?id=mattslaptop

The url of the iplogger script is passed in as an argument and the name of the computer to track is included as part of the url. Change ‘mattslaptop’ to your own computers id.

Note that we use javaw to start the Main.class. This is so that the process runs in the background without a window.

Copy the shortcut into: C:\Documents and Settings\All Users\Start Menu\Programs\Startup


That’s it. You can test if it’s working by looking at the following url on your own web host:

http://mydomain.com/mattslaptop

The output will be something like :

121.22.123.232 Local Date/Time:27-04-2008_12:39      Server Date/Time:26-Apr-2008 19:34

Once your computer is stolen, remember to change line 5 on the iplogger script so that is matches the id of your computer. This will enable regular email updates of IP addresses.

Once you have the recent log of the IP address, you should also be able to VNC to your computer but only if it is not behind a network firewall. Remember to unblock VNC in your laptops firewall. You should VNC in listen mode only to watch what the bandit is doing on your computer. If you try to remote control it, you will give yourself away. You may see the culprit enter personal info that may help to identify them and this can then be given to police.

Okay, so there are a lot of conditions that need to met in order for this to work. Hopefully the villain is not too smart and doesn’t realize this risks of using a stolen computer on the internet. But I guess it’s safe to assume they probably don’t otherwise they would have a higher paying job and wouldn’t have to jack other peoples shit. Good luck.

Of course, there are more elegant ways of doing this. A cleaner way to do this is by avoiding Java altogether and code to a Windows service in Visual Studio. Also VNC should be run as a service also. This would be much more covert. The solution that I’ve provided here was just hacked together yesterday just as a proof of concept. So there’s plenty of enhancements you could make to this.

Music for Short Films

April 23rd, 2008

The V 48 Hours Furious Filmmaking contest is creeping up on us again. It’s 16-18 of May to be precise. I’ve been involved in this for three years now and I’m always amazed at how much the films improve over the previous years. The part I play in our team (Fractured Radius) is to produce the music. 48 hours is a pretty tight deadline to try to write, shoot and edit a film and to then provide appropriate music for. So while the writing and shooting is going on, I’m on my PC composing music, stings or other sounds that will be added into the film during the editing.

What I like most about the contest is that you never know which genre your team will have to make a film for. Personally I would really like to get Horror or Sci-fi. As I have a the Arturia Minimoog V plug-in that will be ideal for this type of film. If you’ve heard the music on Planet Terror then you’ll know what I’ m on about. The genre that I would like to get the least would probably be musical. Only because I would have loads more responsibility in making the film work. You will never know how it may turn out. It could be a masterpiece.

Anyways if your interested in checking out the films that I’ve been involved in previous years, check out the links below.

The Big Job 2007, Genre: Crime
Fruits Of passion 2005, Genre: Romance
Sceptre of MacGuffin 2004, Genre: Action/Adventure

Recording a Demo DIY Style – FREE ebook

March 5th, 2008

Way back in 2005 I started writing a beginners guide to recording a demo using a PC. This was to be my first big foray into the info-publishing business. Basically the book was pretty much finished and resided on the computer until now. I just opened the Doc about an hour ago and made some minor changes. It’s probably still full of typos but the content is pretty good.

I was planning on selling it but the information is nothing new and is easily found elsewhere. So if you looking for a step-by-step guide for recording vocals and instruments into your computer through to mixing, then download Recording a Demo DIY Style. The ebook is licensed under creative commons so you can share it as you wish. I’ll probably convert it to HTML and run some adds on it to make some money that way. So this will probably be done in 2010. In the meantime here’s the pdf.

Three Docos on the Torrents

February 28th, 2008

One of the best things since the internet itself is the Bit Torrent protocol. Most of the articles that you’ll read about bit torrent are generally about the legal aspects of P2P file-sharing. There are many points of view on this issue. Personally, I’m all for it. Recently I’ve downloaded three really good docos off the torrents. What’s different about these docos is the film makers actually encourage you to download the movies. So here’s a quick review of each of them.

Good Copy Bad Copy
This film does a really good job of discussing remix culture, file sharing and distribution methods. Some of the people interviewed include Russian movie pirates, Brazilian techno brega producers, Mash-up maestro Girltalk, a Nigerian film industry guy along with a few lawyers and a big movie studio boss. So both sides of the argument are represented. Overall an excellent film.
link, torrent, donate

Steal This Film
This film was alright, however it came across a little self-serving. It was all about P2P file-sharing networks and how unstoppable they are. The film largely focuses on the The Pirate Bay which was raided by Swedish police under pressure by the US (which has no jurisdiction in Sweden). Following the raid, The Pirate Bay was up and running in very little time. So the film makes a fairly strong argument for file-sharing and highlights how futile efforts are to shut them down.

link, torrent

Steal This Film II
I really liked this film. It nicely builds on the first film and discusses the way file-sharing is having a profound change on society for the better. Comparisons are made with the invention of the printing press. When early literature was able to be duplicated, it meant that culture could then freely spread throughout the world. The same is happing with file-sharing. I’m now listening to music that I like and would otherwise not have access to. I can’t buy it, hear it on the radio or find it anywhere other than on P2P networks. At the same time we have access to cultural works that we haven’t had access to before; prohibitive laws are being introduced that are eroding our freedoms. Again there is some weighty and though provoking stuff in this movie, so I can’t recommend this one enough.
link, torrent, donate

Now if you are wondering how these film makers are getting paid for their awesome work, then wonder no more. They use a donation remuneration model. If you like their film then send a bit of money their way.

No DVD audio playback with Windows Media Player

January 26th, 2008

Another problem I’ve had with DVDs is that I couldn’t hear the audio when I played them on the computer. I had checked all of the obvious things like having the speakers turned on and having the volume up. I don’t often have the need to play DVDs on my computer so hadn’t bothered to get to the cause of this until now.

I was able to rule out a hardware fault as I could hear the audio on some discs but not others. I thought that it may have been a fault in the audio cable that runs from the CD/DVD drive to the audio CD Line In on the motherboard. It turns out that this cable isn’t even required. It was a software issue relating to Windows Media Player.

Windows Media Player does not have a built in AC3 or DTS decoder. Therefore audio will not work for these types of DVDs. AC3 or DTS are licensable technologies that developers of DVD playing software have to pay for. Therefore the cost is transferred to you. I guess that Microsoft was too cheap to include this for their media player. Or if they did the cost of Windows XP would be more.  

But there is an easy fix. After some googling I found this forum. There is a reverse engineered open source audio decoder for DVDs called AC3 Filter. Apparently this will fix the problem in most cases fairly reliably. I downloaded and installed it and played the DVD and the audio now worked. I didn’t need to change the default configuration but if you need to, there are plenty of options to tweak.

DVD-R discs that wont play in DVD players

January 25th, 2008

I’ve been trying for ages to create DVDs on my computer that will work on my DVD player. In theory, with a little knowledge and know-how, it should be pretty straight forward. In my case, this was not so. By doing a bit of research, I was finally able to successfully create discs that will actually play on a DVD player.

The DVDs that I make are photo slideshows for clients of my wife’s wedding photography business. For each wedding, there will be around 150 images that we create a slideshow of using Microsoft Photo Story 3. This software does really nice transitions that look quite elegant. You have the option of outputting your project in WMV format in DVD quality at 768 x 576 along with a few other formats.

The authoring software I use is Adobe Encore CS3, which is an excellent product for creating menus and planning the project. What it isn’t good for is transcoding WMV files into a format suitable for DVD. Apparently many of the shipped codecs are quite screwed. I was receiving a PGC error before the DVD burn would even start. I read a good forum that discussed how to fix PGC errors. This lead me to software called Sorenson Squeeze which is used to pre-encode your movie so that Adobe Encore doesn’t have to.

One of the common pitfalls in producing DVDs is the use of cheap media. TDK are fairly reputable as are Verbatim. My main burner is a Lite-On that is about a year old.

I was now ready to burn my DVD project to disc. Encore completed the burn without error messages. The disc would play fine on my computer however it would not play in my Panasonic DVD player. For a while I believed that my DVD player was not compatible with burned media. This issue was frustrating as I didn’t know which was at fault. Was it the disc or the player or a combination of both?

Later I read about a technique called Bitsetting. This is where you use special utility software to change the Book Type of your disc to trick DVD player into thinking the disc is a DVD-ROM. DVDs that are mass replicated are identified as DVD-ROM as the book type. They are not burned with a laser. Instead they are created with a stamp that is from a glass master. It costs hundreds of dollars to do this and is not a viable option for a one-off disc. Bitsetting does not work on DVD-R. It only works on DVD+R/RW discs. As it turns out none of my DVD writers were compatible with the software so I had to try something else.

I contacted a local DVD authoring and replication outfit in Auckland called Express Video mainly just to find out the cost of making a glass master. I wondered how they went about creating one-off DVDs for clients and if they had any issues with discs not working in their clients’ players. I emailed Jon and the advice that he gave me was to use quality media (They use Verbatim DVD-R discs). He also said to burn the discs at a slower speed. All of my previous attempts were at 16x. I tried again at 8x speed. This disc played but the audio and video kept dropping out. The slowest speed that my Lite-On writer would do was 6x. On this attempt, the disc played with fewer video and audio dropouts but it was still far from perfect. I found another older DVD writer under my desk. I considered scrap and I didn’t even think it was working. I’m not sure what brand it is but it allowed me to burn my DVD at 1x speed. At last this disc played flawlessly on my Panasonic player.

So if you’ve had problems creating discs that will play on DVD players, maybe this advice will help: Use quality DVD-R discs and burn at the slowest speed possible. Good luck.

Xin Ji Qi Toys Vs Mega Bloks Inc

January 17th, 2008

My son just celebrated his first birthday this month and we held a big party for him. He received many gifts, and below are two of the gifts he received. I find it interesting to write about these two particular gifts for a few reasons. Firstly these two trucks are almost identical but the one of the left is made in China by Xin Ji Qi Toys. The truck on right is made in Canada by Mega Bloks Inc.

 

Xin Ji Qi and Mega Bloks Truck

The mold is the same except for the truck’s load. The Canadian truck seems to be made with a higher grade plastic than the Chinese one as it is already broken. Both trucks came with a plastic figurine that sits in the truck along with a few bricks that lock together like Lego. The blocks that came with the Chinese truck do not actually connect to the studs on the truck whereas they do on the Canadian truck. The figurine that comes with the Canadian truck locks onto the supplied blocks. But guess what? The Chinese one does not.

Xin Ji Qi Truck Label

Another interesting thing is the sticker on the bottom of the Chinese truck. It doesn’t make much sense. It reads:

“The intelligence development educates the series. The hand eye brain integration moderates”.


Just another example of bad English translation from Chinese imported goods.

I’m not sure if Xin Ji Qi have just ripped off the Mega Bloks truck or if they have made it under a license but they’ve done a pretty crap job of it. No worries though, my son enjoys them both and he couldn’t care less.