Posts

Showing posts from 2013

How to avoid increasing and decreasing the volume of songs when you are listening to different music tracks.

Image
If you are a music fan, you would have definitely faced an issue where some songs are too loud and when you decrease the volume...voila! The next song volume is too low. How do you avoid the small (but really irritating) task of increasing and decreasing the volume? Solution: Normalization to the rescue! Right click on sound icon on the task bar. Click "Playback devices". Select "Speakers". Right click on "Speakers" and click on "Properties". You will see four tabs a. General b. Levels c. Enhancements d. Advanced Click on "Enhancement" tab. You will see four types of enhancements a. Bass Boost. b. Virtual surround c. Room correction d. Loudness Equalization. Click on "Loudness Equalization" to select it. Click on Ok. You are done!! Now try playing two music files recorded at different amplitudes. You will find that both play at the same loudness. Problem solved! Next question: You want to play these music fi...

Using simple methods for data extraction

Image
Here is a simple problem IMDB publishes movies of all time. The list contains 250 movies. Problem : In the web page, there is no sorting based on rating or votes. Goal : I want to sort it by year, so that I can watch movies from latest to the old ones. And year is not a field at all in their table. It will be good to have sorting by votes,rating as well. How to go about it? We can use very simple methods to achieve the solution instead of writing a full fledged program. Steps The first step is to copy the data into excel and separate it out into columns. (Excel can separate it out into columns if we copy the data into a text file and use the import operator.) But there are problems with importing into excel. The two broad types of import are "fixed width" and "delimiter". The length of the movie name is not fixed. So we cannot use fixed width column import. We cannot use space as delimiter. Since movie names contain space. Alternate Solu...