Thursday 26 September 2013

Melodies - Part 3 : That revolutionary codec!

To read Part 1 of this post, click here
To read Part 2 of this post, click here

At around the same time CDs sold like hotcakes and planet M bosses were laughing all the way to their banks, a ground breaking technology was already gaining ground and finding its way onto computers. Using an inherent limitation of human auditory system known as auditory masking, scientists at AT&T Bell labs were fine tuning some algorithms in the late 80s and early 90s. And sometime in 1991, a committee known by the name of Moving Picture Experts Group (MPEG) adopted a lossy compression algorithm submitted by a Mr. Brandenberg as a standard for compressing audio files – MPEG – 1 audio layer III or more commonly known as MP3.

So, what exactly did this MP3 do? It used a lossy compression algorithm to discard all the unwanted bits from the audio file and compressed it into just 1/11th of its original size, which meant that a 5 minute song would now need only 4.6 MB instead of 50 MB!! Of course, there would be a little loss in the audio quality due to the compression, but that is where all effort of the scientists/researchers went into – to make sure that the drop in quality was too small to be noticed by the listener as compared to the significant savings in space required to save the file. This file would then require something called a CODEC – a coder decoder software which would uncompress the file and play the music encoded in those bits. It was not long before the codecs were developed using programming languages and distributed to computers leading to the launch of this:


Nullsoft’s Winamp, which installed and played that whipping llama introduction immediately after install was one software which totally revolutionized the way people saw PCs. If you had a PC that ran Windows, there is no way that you could have missed this software (unless ofcourse, you were a media player fanatic who thought WMP was the best thing that could have happened to Windows). By the beginning of new millennium, the MP3 codec was so ubiquotuos in PCs thanks to software like Winamp and WMP. But wait, if they could build a specialized computer device that played audio CDs, and they could build a universally available codec for playing MP3 on a computer, could they not merge the two?? Well, it was only a matter of time that this happened and we saw the emergence of these:


The Mp3 codec enabled Mp3 players were a totally unprecendented innovation in the music industry. Even when gramophone was replaced by the cassette player, the changes were not that disruptive. And as always it was met with strong opposition from the music industry who feared revenue losses by the unauthorised use of such files. They had every reason to be worried –but even with their scepticism, there was nothing that they could to do to stop the spread, because unlike a cassette or a CD which has a physical form and easy to track, there was very little knowledge among people on what a file is and where all it can be stored. A file is just virtual entity and can be present everywhere – on a mobile device, on a USB storage disk, on an encrypted/hidden area of the disk, or even on the internet (on the cloud). For that matter, one could just change the extension of .Mp3 files and no one would know what these files stored anyway, unless they knew more about computers and files. (Yes, there were a lot little people who knew about computers then as compared to today)

Those were the days of a booming PC market, combined with the entry of feature phones in India and the possibilities of having a high quality song reside in the form of a 5 MB file were limitless. With MP3, you could have almost 200 songs reside on a single CD and play it for hours together. With MP3 stored as files in your personal computer, you could choose the order of songs which you wanted to listen, and not stick with the same order that the cassette player played. You could even build your own playlists with only hits and choose to ignore or totally delete (SHIFT+DELETE) those unwanted songs. While playing ‘Rangeela’ songs on a cassette, I used to hate the fact that I had to listen to a rather boring ‘HAYE RAMA’ immediately after Asha Bhonsle’s hit song ‘RANGEELA RE’. After I got winamp on my system and an MP3 player at home, I have never listened to that song in almost 15 years now!!! With MP3, you could transfer a song onto your friend’s PC and it played with exactly the same quality as the original. With an MP3 player and just one MP3 CD on your car, you could travel 350 kms from Bangalore to Mangalore, without ever having listen to the same song! Combined with other add-on technologies which were launched that time, MP3s totally destroyed the AUDIO CD market in just a matter of 1-2 years, something which the cassette could not have done to gramophone in more than a decade. Which meant there would be no more of these:


And there would be emergence of single person, noiseless, non-disturbing headphones/earphones, where no one could make out what you are listening to. Something like these:


Apart from the fact that MP3 songs were of superior quality, they came packed with lot of inherent features: take the ID3v2 tag for example – you could store upto 20 fields of information embedded into the file itself. There is no need for any inlay card or additional details outside of the file – even the album art can be stored into the file itself. Easily available software allowed cutting of the files which was again a welcome feature, especially in some songs such as ‘aisa zakhm diya hai’ where you had to wait for like eternity till the nice part of the song set in. And since the codec was found on almost every mobile device, sharing of songs became child’s play. If I bought an audio CD and ripped it to MP3, I could use the same file on my mobile, my home audio player or any device and be assured of the same quality. Of course, the logical extension of this would be privacy – since there was ABSOLUTELY NO loss in copies of MP3, anyone could make any number of copies of a song and distribute to whoever needed them. The exclusivity of owning songs/music collection immediately became a thing of the past – all that mattered was how much the disk could store and people could store all the songs that bollywood has ever produced with them! Although, I liked the fact that more people now got a chance to listen to music than the proprietary cassette/CD days, what hurt me most was that absolute morons who had no sense of music now stored virtually every song ever composed (even the great, timeless compositions) without any intention of listening to all them!

Cut to present day – the digital revolution has created superabundance in almost every aspect of the music industry. There are like umpteen technologies which compete with MP3 like WMA, aac, avi, mp4, RM and even the proprietary ones like itunes/zune audio. There are a million ways to buy music – internet downloads, mobile downloads, online marketplaces like Amazon/flipkart, itunes shop and what not! There are again a thousand device types on which you can store music – DVDs, mobiles, memory cards, flash drives, hard disks, ipods, the internet CLOUD, etc and I don’t even have to tell you where all you can listen to songs. And the option of selective listening has taken a new meaning altogether. We have the option of buying just one song or in some cases, just parts of a song to set as ringtones. Those days, we were forced to listen to many bad songs in a movie just to listen to one great song – but today, only one hit song of the movie gets downloaded leaving the others as “also theres”. I don’t think i will ever get time to listen all songs of ‘Aashiqui2’ anytime even when that is touted as the biggest hits of 2013!

The problem that the end-user faces is not that of lack of music but an overexposure to it. If you like ‘kolaveri di’, you can have it as your alarm tone, your call ringtone, your message alert tone, your hello tune, the default song on your ipod/phone, create a ‘i love kolaveri’ page on facebook without knowing what kolaveri means :P, listen to it while you drive, and even watch it while at work if your company is benevolent enough to allow youtube! And all this, without even having to know which movie the song is from and which are the other songs of that movie! Guess it’s time to throw all the ‘marginal satisfaction’ theories of economics out of the window ? The only things that have continued to remain exclusive are some of the shows/tidbits on FM Radio (for example, I eagerly wait for SULTAAN on FM94.3 to learn two English words daily! :)

My original purpose while writing this blog was to delve into listening experiences. I know that every time we listen to a song (regardless of how many bits coded/decoded/compressed on what device), there is some feeling which you experience – maybe you go off to the sunflower fields of Punjab while you listen to 'Tujhe dekha to', maybe the Darjeeling train comes to your mind when you listen to ‘Mere sapnon ki rani’ or you totally associate the song with a personal memory – but poignant listening experiences are those when you get completely lost in the song. I wanted to write about some of such awesome listening experiences which I have had till now. But I guess, I let my technology instincts take over:) Anyway, I plan to write more on the same in the coming posts. Till then, I would want to know from all of you on some of the best listening experiences which you have had till now. Drop me a note or leave a comment below about such wonderful experiences you might have had. I’ll come back soon with some of my own. Till then, happy listening.

NOTE: There has been a lot of talk about all this digital revolution has put the artists in losses because of piracy issues, which is not totally baseless. I understand that due credit should be given to the composers. Apart from the sound which I recorded, I have always been used to buy cassettes and Cds and had a nice collection of these till very recently. But that does not mean we should do away totally with convenient formats like “MP3”/”WMA” just because of the threats. At the end of the day, even with their vulnerability, the fact remains that technologies like MP3, mp4, avi, etc have let a lot more people experience, enjoy and appreciate music instead of limiting it to a few elite. Because it is very easy to share, well made audio and video can go viral in a matter of days (even hours sometimes) earning a lot of traffic and revenue for the producers. In turn, this has encouraged more and more people to take up careers in the digital music and recording industry. We see a lot more people employed in the music industry today than before, which cannot be a bad thing, right? And then there a lot of options like mobile formats, ring tones, hello tunes, itunes, etc each of which can be major sources of revenue for the artists by their sheer volumes. Steve Jobs got it right when he thought of pricing per song instead of selling an entire album. Today, lot of music sales happen by song. And I am sure we can work out pricing issues amicably such that the composers and artists get their due, eliminating all the middle men and unwanted costs, thereby creating a win-win situation for composers and listeners.

PS:
1. Images courtesy: Google images and Wiki images. All images are copyrights of their respective owners, used here purely for illustrative purposes
2. WMP : Windows Media Player - a prorietary music playing software that comes pre-loaded on MS-Windows Operating systems. It plays MP3s and also supports compression on its own proprietary format - WMA (Windows Media Audio)

Saturday 21 September 2013

Melodies - Part 2 : Those significant bits

To read part 1 of this post, click here

*********

A bit is just a ‘0’ or a ‘1’ – it is such a small piece of information in the entire computing universe filled with terabytes and petabytes of data.

It takes 16 such bits to store a value between -32768 to +32767 (65536 unique values!)

If the unique values refer to an audio source, then you get to hear 65536 unique values if you had just 16 bits with you! Let us call this unique value of sound a ‘sample’

Now, it gets interesting – from one second of audio, 44,100 such unique values are taken and 16 bits are given to each of these 44,100 samples resulting in a total of 705600 bits worth of information for just 1 second of audio. Imagine the quality of the sound when 705600 bits are used to say what the audio should sound like in that particular second.

If you have used a stereo headphone/speaker, you already know that there are left and right channels superimposed on one another to create a stereo sound. So, add a further 705600 bits to store the information on the second channel. One second of stereo sound, therefore, requires 1411200 bits! Since we know 8 bits is a byte and 1024 bytes is a kB, we can work out that one second of digital audio needs 172 kB!

A song is approximately 5 minutes or 300 seconds. So, we arrive at 51679.8 kB for every song or moving on to more common megabyte (MB) terminology, a digital audio song needs atleast 50.4 MB.

*********

So, with 50 MB at your disposal, you could have one full song stored on your personal computer as a data file and play it over and over again – excellent sound quality – each time every time. This format was referred to as Compact disc digital audio and eventually led to the birth of this:

       

A compact disc player was specialised computer which took only a CD-DA disc as input, read the zeroes and ones on the disc, and converted it into high quality music. A CD-R was hailed as revolutionary because of the excellent quality of music it produced. Suddenly, all well recorded and digitally re-mastered cassettes sounded pale in comparison to the crystal clear music that these CDs produced. Those with cars even wanted ACD players on it instead of just cassette stereos. People flocked to electronics stores to exchange their ‘two-in-one’s for ‘3-in-one’ or ‘4-in-one’, the third and fourth functionality being audio and video CD playing capabilities. The compact discs, which were till now being used to store computer data now started to be sold in the audio CD format pre-recorded disks like this. However, if you had bought the original audio CD, you could also make a backup of the data on your system. Even personal audio recordings could be stored on a system and recorded to a disc using a process called BURNING a CD-ROM. All you needed to have was CD- R hardware on your system, support software and of course, the blank CD-R to burn, which came initially with 650MB of storage allowing 12-13 songs. Very soon, there was space for about 18-20 songs, sometimes offering space upto 850 or 900 MB. And yes, they were a little costlier than cassettes, with CDs priced at around 100-180 per piece

 
Some of the biggest selling music on Audio CDs - inlay card comes engraved on Kasoor's CD while a glass case cover with traditional inlay card is how RHTDM was sold

Around the same time, there were changes in the Indian retail scene which led to organised retail and malls entering India. And that was when stores like ‘Planet-M’ and ‘Music world’ became popular. People liked to shop at these big outlets because they could listen to the music on the preview players before buying the albums. These outlets were usually located in city centres and it was super convenient to hang around in a airconditioned planet-m listening to music, while waiting for a friend or colleague. Popstars and celebrities liked these stores too – they could visit these places and launch their albums and promote music sales. Fans got an opportunity to meet the stars – the music worlds, and planet-Ms were roaring successes.

Continued in Part 3....click here to read part 3

PS:
Images courtesy: Google images and Wiki images. All images are copyrights of their respective owners, used here purely for illustrative purposes

Wednesday 18 September 2013

Melodies - Part 1 : Taped delights


If you are of the same generation that I am, then I am sure you will know what this rectangular looking thing with two teethy holes in between is – it is an audio cassette or more commonly, just ‘tape’!

Tapes stored audio and could be played on cassette players and walkmans. Some magnetic thing in the tape stored information about what sound to play and a cassette head would read it and reproduce the sound on speakers. The sound quality was great, but it always depended on the quality of the head which was reading the magnetic tape. There would also be special cassettes called ‘head cleaners’ which would have a special coating on them to automatically clean the player’s head when they were being read. If Mohd Rafi’s voice sounded a little too low pitched and sober, you could use some alcohol with cotton to clean the dust and it would go back to being his golden voice again.


The information about the playback singers, the composers and the lyricists could not be fit inside the magnetic tape and hence, all commercial music cassettes came with something called an ‘inlay card’. The design of these cards were such that, you could stack up the cassette cases on each other and still get the album names of all the cassettes, just like books in a library! If you visited homes of music lovers, there would be a shelf in the living room next to the TV and hifi cassette players with 2-4 big speakers where they would proudly show off their collections! Hailing from the middle class homes which could not afford to buy all album titles, some of us would take ‘khaali’ cassette to their houses, ask them to record (atleast the top hits) on our blank cassettes and get back home to play it on our economy two-in-one players and enjoy it for hours together! Sometimes the haughty rich guy would refuse to record all songs of the cassette citing trivial reasons and the receiver had to be content with whatever was given.

The biggest drawback of these cassettes was that of reuse. If you kept the cassette write enabled, there could be a chance of some moron taking your cassette to get it copied and wiping it off “by mistake”. And if you made it write-protected, you could not reuse it in times of urgent need. And making a copy from a copy would decrease sound quality so badly that you would start hating the very song which you so keenly copied in the first place. If you ever participated in a group dance competition while at school in the 90s, then I am sure you would have made copy cassette for practice and used the main one only during the final performance, sometimes perhaps missing a step on the stage because the copied one did not contain that level of detail as the original :)


Movies like ‘Hum Aapke Hain Kaun’ were such superhits, but they always presented a dilemma to audio buyers like us. In a time where buying a cassette would get you songs from two movies, who would want to buy a cassette with over 15 songs from the same movie? There were too many songs and some were skipped in the movie theaters for want of time (and added back later). And if you did decide to go for only select songs, there was a chance you missed the best song from the other movie on side B, thus leaving you some difficult choices to make. When A R Rahman’s super hit tamil movie ‘Kaadhalan’ got released, I remember having visited so many cassette shops around my house to see if a combination was available such that I got all the songs of the movie and an optional second movie. I was overjoyed when I found that ‘Akash Lahari’ (music company like saregama hmv, venus, t-series, tips, etc) had released this combination:


Yes – two of A R Rahman’s biggest hits of that time in just one cassette- Kaadalan and Roja – with all the songs of the movie! This would become our favourite cassette for almost a year and more, we losing count of the number of times we played it. By the time we bought a new speaker set and a cassette player in our house in the late 90s, we had purchased almost all hit albums that A R Rahman had churned out from his Panchathan record inn studios at Madras – Rangeela, Hindustani, Kadal desam, Dil Se, etc and played one after the other almost every day. Even we had some sort of a collection now – with mom having bought many of Mohd. Rafi songs, some old and new Kannada songs from reputed singers and hit movies, Kishore Kumar’s collections and many more. We had started to buy music without looking for deals but instead focusing on the quality of songs, even if it was only a single movie album. I still consider ‘Taal – a beat of passion’ coming from the house of TIPS music house, one of my best buys of all times. A R Rahman’s passionate music with voices as diverse as Asha Bhonsle, Hariharan, Sukhwinder Singh, Alka Yagnik, etc and a very big 8-fold inlay card with lyrics of the songs was total treat to the music lovers. Add it to Aishwarya Rai's pictures on all pages for visual appeal - that was Rs. 55/ well spent on audio!


Although there were improvements to the quality of recording on cassettes with digital technology, it still largely depended on the tape recorders head to reproduce the exact quality of the recording. And then there was this bigger problem of cassettes - even with people not looking for multiple movies in an album, the chances of buying an entire album just with one hit song in the movie was totally useless like in the case of this movie:

one hit song movie
The movie ‘One two ka four’ for example – only hit song in this movie was the ‘khamoshiyan ghungunane lagi’ sung by Lata Mangeshkar and Sonu Nigam. I went and actually bought this movie cassette paying Rs 60/ - a huge amount those days, only because of the Rahman factor and just hoped that I would like the other songs of the movie just by listening to it over and over again! And even to this day, I do not :) Atleast I should have combined it with some other movie songs of those days like ‘Virasat’ or ‘Sapnay’ (both of which have some nice songs). And then, there was English pop/movie music too, which came at a huge premium - the Vengaboyz album was priced at Rs. 100/ - totally on a different scale as compared to the Rs. 30/ cassettes of Kannada movies. All said, the audio world of the 80s 90s was totally dominated by these tapes, with lots of scope for improvements on all fronts....

Continued in Part 2.... To read, please click here

PS:
Images courtesy: Google images and Wiki images. All images are copyrights of their respective owners, used here purely for illustrative purposes