Home   | About   | Contact  | Lyrics  | Tabs  | Forum

The Igloo

Go Back   The Igloo > Damien Rice > Trading

Reply
 
Thread Tools Display Modes
Old 02-26-2004, 01:53 PM   #1
#Ian#
Destroyer of worlds
 
#Ian#'s Avatar
 
Join Date: Aug 2003
Location: Ireland
Posts: 2,783
Default

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
#Ian# is offline   Reply With Quote
Old 02-26-2004, 01:58 PM   #2
Bumpman
...
 
Join Date: Jul 2003
Posts: 2,801
Default

that's a damn good question... if people download with broadband anyway then why not just use wav. files?
Bumpman is offline   Reply With Quote
Old 02-26-2004, 03:28 PM   #3
Angela
Eskimo Regular
 
Angela's Avatar
 
Join Date: Jun 2003
Location: cloud #9
Posts: 5,029
Default

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.
Angela is offline   Reply With Quote
Old 02-26-2004, 04:11 PM   #4
#Ian#
Destroyer of worlds
 
#Ian#'s Avatar
 
Join Date: Aug 2003
Location: Ireland
Posts: 2,783
Default

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
#Ian# is offline   Reply With Quote
Old 02-26-2004, 04:38 PM   #5
Adrian
Eskimo Regular
 
Join Date: Feb 2004
Location: Ireland
Posts: 103
Default



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.
Adrian is offline   Reply With Quote
Old 02-26-2004, 05:15 PM   #6
#Ian#
Destroyer of worlds
 
#Ian#'s Avatar
 
Join Date: Aug 2003
Location: Ireland
Posts: 2,783
Default

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
#Ian# is offline   Reply With Quote
Old 02-26-2004, 05:57 PM   #7
Angela
Eskimo Regular
 
Angela's Avatar
 
Join Date: Jun 2003
Location: cloud #9
Posts: 5,029
Default

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!
Angela is offline   Reply With Quote
Old 02-26-2004, 08:01 PM   #8
Bumpman
...
 
Join Date: Jul 2003
Posts: 2,801
Default

you mean they have the internet on computers now?
__________________
Mic Christopher Is Great
Bumpman is offline   Reply With Quote
Old 02-27-2004, 07:03 AM   #9
Adrian
Eskimo Regular
 
Join Date: Feb 2004
Location: Ireland
Posts: 103
Default



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
Adrian is offline   Reply With Quote
Old 02-27-2004, 07:57 AM   #10
daol20
Eskimo irRegular
 
daol20's Avatar
 
Join Date: Jul 2003
Location: Southern Yemen
Posts: 2,091
Default



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
daol20 is offline   Reply With Quote
Old 02-27-2004, 08:35 AM   #11
daol20
Eskimo irRegular
 
daol20's Avatar
 
Join Date: Jul 2003
Location: Southern Yemen
Posts: 2,091
Default



Quote:
Originally Posted by #Ian#
How does that work then?

For that matter does anyone know how zip files work?

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
daol20 is offline   Reply With Quote
Old 02-27-2004, 02:47 PM   #12
#Ian#
Destroyer of worlds
 
#Ian#'s Avatar
 
Join Date: Aug 2003
Location: Ireland
Posts: 2,783
Default

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
#Ian# is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:29 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
All content copyright © EskimoFriends.com 2002-today. Special thanks to Damien, Lisa, Tomo, Shane & Vyvienne.