Latest post

Twinkle twinkle little star is a short musical piece I composed and recorded last evening.

This piece consists of 56 measures. It is 1 minute 52 seconds long. The music is composed of four tracks. This is my second attempt at recording music with multiple tracks. The last such attempt was more than two years ago when I composed and recorded 'A few notes'.

The links to the audio files, sheet music, etc. are provided below. The files reside in my website. In case, my website is down, the YouTube link provided below should still work.

The four tracks in this piece are:

  1. Grand piano
  2. Slow strings
  3. Xenon pad
  4. Music box

This arrangement is based on the popular melody of the nursery rhyme called Twinkle, twinkle, little star. The melody is played with the treble notes of the piano. I wrote the bass notes for the piano and the strings, and the high notes for the pad and the music box to fill the music with emotions of love and happiness. I recorded this after about two hours of practice.

Random post

With Firefox you can masquerade as your phone in a matter of minutes.

  • Install User Agent Switcher.
  • Open the built-in browser of your phone and visit: UserAgentString.com. This website will show the User-Agent string it receives from the HTTP User-Agent header sent by your browser.
  • From your Firefox menu, select: Tools > User Agent Switcher > Options > Options > User Agent > Add
  • Enter some description in the 'Description' field. In the 'User Agent' field enter the user-agent string carefully and save it.
  • From the menu, select: Tools > User Agent Switcher > [The user agent you just added].

Now, you can browse sites like Google, Yahoo, etc. to get a feel of how these sites are going to look like on your cell phone. The web servers would respond to you in the same manner it would respond to your cell phone.

I was trying to download Opera Mini 4 Beta for my cell phone. But sadly, I found that the website did not have a direct link to the MIDlet jar file for my phone. Instead, it asked me to visit http://mini.opera.com/beta with my cell phone and download the 97 KB file. To save my 1 rupee, I decided to masquerade as the Sony Ericsson K750i browser from my PC. I did it with netcat (the TCP/IP Swiss Army Knife) once. It worked but it was cumbersome. The method discussed above is an easier way to do it.

With the phone's user agent string set in Firefox, you get an XML file on visiting http://mini.opera.com/beta. Save it and find a link to a JAD file in the code. (For me, it was: /beta/mini.jad?rnd=1999705223&edition=hifi. So I could download it from http://mini.opera.com/beta/mini.jad?rnd=1999705223&edition=hifi.) Look for the 'MIDlet-Jar-URL' attribute in the JAD file. It is the URL to the JAR file for your phone. Download it and install it.