Skip to main content

FLACkey MP3s

Happened to buy a set that promised over 100 songs in a single CD. Should have looked at the small print or made some mental calculations on what bit-rate the songs might have been compiled. But, those were the moments where you have the 'urge' to buy (like shopping for food when you are hungry!). After buying, I realized all songs to be compiled at the rate of 128kb which usually sounds bad using the laptop speakers!

The collection that I maintain through legal CDs purchased over the last ten years were meticulously encoded at 192kbps and when VBR (variable bit rate) came into play, the ranges that I supplied were 32 to 320 kbps which sounded quite good. But with diskspace available for a few rupees / MB, no, infact much less than a rupee, I have moved to using FLAC.

Most encoding techniques are lossy, which means that you loose some information from the original music which cannot be recovered at any cost. FLAC is a loseless compression technique where, if you were to decode a FLAC file, the contents will be equal to the orignal.

Though most media players do play FLAC files, I found minor issues on some of them. But, FLAC being an open source project guarantees that you get the source which you can port to a machine of your choice or convert to a format that could be readable by the platform with ease.

The other popular format is WMA lossless which comes preinstalled with your windows media player. But, then, you do not get the source and possibly will find it difficult to playback on a non-windows box.

So, until then, I am slowly converting my collection to FLAC.

Comments

Popular posts from this blog

Inside a Text Editor Ever since my college days, after dabbling with vi and a few other editors, I always had an yearning to create my own. Now, I am still stuck with XEmacs and jEdit and had a chance to compile / study the sources and documentation of EMACS and a free editor component called Scintilla. Until now, I was under the the belief that text editors used a doubly linked list to represent the text in memory. The advantages of this approach being insertions and deletions are much more easier which is just a matter of just un-linking a node off the list. But the shortcomming is that they tend to fragment memory with each node or line take a bit of memory. The other alternative approach is to have a dynamic array which is a contiguous space of memory and can sometimes be directly written off to a file. The disadvantages are that insertion and deletion are costly and you need to reallocate quite frequently. While goint throug the source and documentation of text editors, I chanced ...
Battle of Wesnoth Been on the lookout for a free turn based strategy game and chanced upon the Battle of Wesnoth . Despite it being an open source game (meaning, you get the source), it was incredibly polished akin to any of the other turn based strategy game (Alpha Centauri), be it the background score or the graphics or the tutorials. The game itself is set in a period similar to the D&D or nethack era. For the film buffs, if you have read or seen the Lord of the Rings, you would probably be able to relate to the clans that populate the game world. The game play, as with any turn based strategy game requires background information on each of the units that you own, their strengths and weaknesses and a lot of planning (a kin to chess, but with a lot more parameters) where factors like day - night cycles are taken into account (e.g, humans fight well during the day, but the orcs are better during the night). It is encouraged to keep your older units as they gain experience and beco...

R programming

Of late, I have been following up with data analytics and learnt R and Pandas (using Python). Somehow, most of the work that I now do is crunching data and representing them in a more fancier way. In a lighter vein, when I am at home, I try to see how my non-work data can be represented as charts and graphs. Here is the first attempt to categorize the list of programmers editors that I had used throughout my life time... This was generated using R and ggplot (ggplot is a great library that allows you to generate different types of charts). Why not excel? Sure, I can do the same in excel as well. But once the data becomes huge to manage, it becomes difficult to monitor each of the cells to see if the formula is right. Sometimes, they get complicated enough that I have to wait for a few seconds every time I make a change in a cell or consider turning off auto-calculation in excel. It is much more simpler to have the processing logic as a source file that you can modify separated from t...