Friday, October 7, 2011

Week 5 - Music

We didn't cover much at all this week, but I'll try to say as much as I can think of. For my social media concept one topic I could word into it would be the two types of music formats along with their advantages and disadvantages. I had mentioned in an earlier post about how people can play any music on their profile pages, so knowing the right format would be important in order to preserve the site's memory.
The default format for all the songs would definitely be mp3 since it takes the least amount of memory. However, the format the site accepts could be either mp3 or wav. The important difference is that if a wav file was used, the site would automatically convert it to an mp3 and use that version instead. This kind of program to be triggered automatically would likely take up a good amount of space in the website's memory as well, so it would also need a limit imposed on it for the length of wav files used. Any song longer than 4 minutes would likely be rejected due to how much space the music program would need to analyze and compress it.
This could theoretically be prevented if the music program could be written so that longer songs were split into two parts and then each half were compressed into an mp3 format one at a time. While this would make the program more complex it would still be a way to preserve some memory while allowing for longer songs. But if it was put into real practice, it would start with some kind of time limitation as well as needed to give credit for the original author of the song if needed.

No comments:

Post a Comment