Home | About | Contact | Lyrics | Tabs | Forum
02-26-2004, 12:53 PM | #1 |
Destroyer of worlds
Join Date: Aug 2003
Location: Ireland
Posts: 2,783
|
why are songs encoded in it when you have to convert it to WAV to listen to them or to burn them.
Just interested
__________________
One day we will die and our ashes will fly from the aeroplane over the sea, but for now we are young let us lay in the sun and count every beautiful thing we can see |
02-26-2004, 12:58 PM | #2 |
...
Join Date: Jul 2003
Posts: 2,801
|
that's a damn good question... if people download with broadband anyway then why not just use wav. files?
|
02-26-2004, 02:28 PM | #3 |
Eskimo Regular
Join Date: Jun 2003
Location: cloud #9
Posts: 5,029
|
SHN compresses WAV files to about 60% their original size, in some cases even more.
With the right applications/plug-ins playing and burning them is transparent. |
02-26-2004, 03:11 PM | #4 |
Destroyer of worlds
Join Date: Aug 2003
Location: Ireland
Posts: 2,783
|
How does that work then?
For that matter does anyone know how zip files work?
__________________
One day we will die and our ashes will fly from the aeroplane over the sea, but for now we are young let us lay in the sun and count every beautiful thing we can see |
02-26-2004, 03:38 PM | #5 |
Eskimo Regular
Join Date: Feb 2004
Location: Ireland
Posts: 103
|
They work kinda like this afik, if you can imagine < kinda a tough one to explain > hmm If you can imagine a Picture of some lovely scenic scene or something to that effect , now thats what you see , ok. But when the computer looks at it, all it see's is that the picture only uses 5 different colours. So it makes A=Blue , B=Black, C=white etc now it can strip the picture of colour and insert the different letters instead of the colours. So effectively it now see's AAAACCBBBEEBEDDBDBEBEBDBBEBSBBSBBEBBBSBBDCCCDEDDEE DEDDE Now what it does is look for paterns in the page for instance, looking at the line I wrote I see the first 4 letters are all A's , so now Ill make the combination of 4 A's in a row =@ <or any other random symbol> looking further along 2 C's in a row, ill make this into # and it continues doing this down the picture So effectively it will a have a table of values for every combination on the picture, now that might sound more complicated, just looking at the one line of code that i wrote, but if you can imagine 1000000000 pages of it, you will get a picture of how it can save you time So anyway it builds its table and then it compress's the picture using clever algorithms < that im not going to get into!> so it knows that when you uncompress the picture , it knows where to replace all the differnt elements back to their correct location, so what you see again is the beautifull picture. That is also why text and will convert alot more that pictures because in text its only black and white , while a picture could have millions of different shades. And that is a very tired mans explaination of how Zips / compression works. |
02-26-2004, 04:15 PM | #6 |
Destroyer of worlds
Join Date: Aug 2003
Location: Ireland
Posts: 2,783
|
I should have mentioned that I have a degree in computer science, it might have made it easier for you as you woudn't have to come up with an laymans analogy.
So its kinda like how a fax machine works then? For those that don't know, fax machines don't transmit whether each pixel (not the exact right term I don't think but close enough) is black or white but it transmits how many pixels in succesion are the same colour. so if you have 5 black pixels instead of transmitting 11111 (where 1 signifies a black pixel) you have a code that says "black 5"
__________________
One day we will die and our ashes will fly from the aeroplane over the sea, but for now we are young let us lay in the sun and count every beautiful thing we can see |
02-26-2004, 04:57 PM | #7 |
Eskimo Regular
Join Date: Jun 2003
Location: cloud #9
Posts: 5,029
|
Yeah, just give us the code for the algorithm. We'll do just fine [img]smileys/smiley14.gif[/img]
Here's the linear prediction model used by lossless compression. Actually, FLAC is even better than SHN! |
02-26-2004, 07:01 PM | #8 |
...
Join Date: Jul 2003
Posts: 2,801
|
you mean they have the internet on computers now?
__________________
Mic Christopher Is Great |
02-27-2004, 06:03 AM | #9 |
Eskimo Regular
Join Date: Feb 2004
Location: Ireland
Posts: 103
|
oops Yes, it might have helped a little Ian Sorry if I came across any way condesending or anything it wasnt my attention at all ! It was a late post last night before I went home Ill just crawl back into my ickle box, close over the lip and roll myself away |
02-27-2004, 06:57 AM | #10 |
Eskimo irRegular
Join Date: Jul 2003
Location: Southern Yemen
Posts: 2,091
|
Ha. I had wondered that myself. I've just read up on the whole Data compression thing, and realised that it's all the stuff i did in college a few years ago, like Huffman and Arithmetic coding. Why didnt my lecturers present it all w.r.t the compression of audio files etc. Something which im sure the majority of the class would find more interesting.
__________________
You leave me here bereaving from the words so hard and plain Saying the love that we had was just selfish and sad To see you now with him is just making me mad Oh so kiss him again just to prove to me that you can an I will stand here and burn in my skin |
02-27-2004, 07:35 AM | #11 | |
Eskimo irRegular
Join Date: Jul 2003
Location: Southern Yemen
Posts: 2,091
|
Quote:
General archivers like Zip are lossless, too, but they often achieve nearly no compression on audio files. It's basically down the algorithms used.
__________________
You leave me here bereaving from the words so hard and plain Saying the love that we had was just selfish and sad To see you now with him is just making me mad Oh so kiss him again just to prove to me that you can an I will stand here and burn in my skin |
|
02-27-2004, 01:47 PM | #12 |
Destroyer of worlds
Join Date: Aug 2003
Location: Ireland
Posts: 2,783
|
No problem Adrian, totally my fault.
__________________
One day we will die and our ashes will fly from the aeroplane over the sea, but for now we are young let us lay in the sun and count every beautiful thing we can see |