the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
icon

OT - Headphone (Can) Shopping


Post ReplyPost New Topic
< Prev Topic Next Topic >
Poormanq45 
Silver - Posts: 597
Silver spacespace
Joined: October 27, 2004
Location: United States
Posted: March 17, 2005 at 11:36 AM / IP Logged  
Nopoe, compression has a MAJOR effect on the sound quality, mostly dynamic range. Most compression algorithms work by "removing/clipping" the frequencies that the average human can't hear. This is great if you can only hear 50~18k Hz frequencies, but it sounds "different" to those of us that can actually hear the entire frequency range. Even just clipping off frequencies above 20k Hz has an ill effect on the sound to some people.
IE. Try this once: Get a recording of a live band that has "symbals" the metal thingys, and use any compression that you want on it. I bet you $10 that if you compress the file to about half, or less then half, that those symbals will not sound nearly as "Alive" as the original recording.
Now, there is one compression scheme that I know of that has managed to minimize the change in the sound of the recording. That is the OggVorbis codec set to 256Kbps and above.
kfr01 
Gold - Posts: 2,121
Gold spaceThis member has made a donation to the12volt.com. Click here for more info.spacespace
Joined: April 30, 2003
Posted: March 17, 2005 at 11:46 AM / IP Logged  

Poormanq:  I'm sorry, but you're simply wrong here.  Lossless compression doesn't remove or clip anything.  Yes, _LOSSY_ compression, such as that used in mp3s or Ogg files, DOES use perception based encoding.  LOSSY compression does remove or clip information.  LOSSLESS compression does neither.  FLAC is LOSSLESS.  FLAC does not remove or clip information. 

I'm not talking about mp3s or any other lossy scheme.  I'm talking about lossless compression.

Not all compression removes information.  Zip files are an example.  If a zip file removed information we'd never be able to open the binary files contained within once compressed.  FLAC actually works very very similarly to zip compression.  Indeed, the MAJORITY of compression schemes use lossless compression.  This text, for example, is compressed and decompressed at multiple layers between the server and your computer.  Nothing is lost.  I've written compression algorithms in my past life as a programmer.  At the core, and very basically, most lossless compression schemes focus on reducing the length of code used to represent redundant pieces of data.  Just because the representation has changed does not mean that the data itself has changed!!   See this introduction to compression techniques:  http://www.faqs.org/faqs/compression-faq/part2/

i.e.  (adapted for plain english)  why store " programmer ", including the spaces, 100 times in a document about a programmer?  Instead, why not define "asdf" as " programmer " and store that ("asdf") 100 times instead?  Instead of storing 12 characters you're now storing 4.  Multiply this savings by 100.  You're saving nearly 800 characters.  It takes time to put the document together, and time to reconstruct the document, but once done it is exactly the same.  Actual compression algorithms take this further and determine the probability of encountering patterns before creating the corresponding codes.  The most frequent patterns are assigned the shortest codes.  So, while " programmer " might have been a relatively frequent pattern, something like, " and " is probably much more frequent and might be assigned the more simple code "asd" in the lookup table instead. 

Anyway, I hope you see that not all compression schemes are lossless. 

New Project: 2003 Pathfinder
Poormanq45 
Silver - Posts: 597
Silver spacespace
Joined: October 27, 2004
Location: United States
Posted: March 17, 2005 at 11:56 AM / IP Logged  
Ah, and do you know how these suposed "lossless" compression schemes work also?
DYohn 
Moderator - Posts: 10,741
Moderator spaceThis member has made a donation to the12volt.com. Click here for more info.spaceThis member has been recognized as an authority in Electrical Theory. Click here for more info.spaceThis member has been recognized as an authority in Mobile Audio and Video. Click here for more info.spacespace
Joined: April 22, 2003
Location: Arizona, United States
Posted: March 17, 2005 at 12:28 PM / IP Logged  
Dude it looks like you are simply trying to stir things up... try using Google first.  http://flac.sourceforge.net/
Support the12volt.com
kfr01 
Gold - Posts: 2,121
Gold spaceThis member has made a donation to the12volt.com. Click here for more info.spacespace
Joined: April 30, 2003
Posted: March 17, 2005 at 12:30 PM / IP Logged  

lol - "supposed lossless"

You seem like a smart guy, I'm frankly shocked that the concept of lossless compression is such a novel concept to you.  Perhaps you need to do some more basic reading.  Here:  http://computer.howstuffworks.com/file-compression.htm

Our computers use lossless compression ALL THE TIME.

New Project: 2003 Pathfinder
Poormanq45 
Silver - Posts: 597
Silver spacespace
Joined: October 27, 2004
Location: United States
Posted: March 17, 2005 at 12:49 PM / IP Logged  
Yep, I know this, I use .Zip and.Rar files all the time.
But there is one big difference between standard computer files and audio files. The thing is, with lossless compression, the algorithm searches for redundent information. Now you probably know that music rarely, if ever, repeats itself exactly. Now it does repeat itself similarily, but not exactly. Applying lossless compression may find these "similarities" as being the same, and it can get rid of one or more of these supposed repitions, but in the end the music is made out to have a uniform repetitive beat, but that's not how it was to begin with.
kfr01 
Gold - Posts: 2,121
Gold spaceThis member has made a donation to the12volt.com. Click here for more info.spacespace
Joined: April 30, 2003
Posted: March 17, 2005 at 1:09 PM / IP Logged  

What?  Now you aren't making any sense at all.  At the core even .wav files are strings of 1s and 0s.  How is this any different than a normal text file?  You're right, music isn't at repetitive as text, but this simply effects the percentage of compression.  It surprises me that you can't see this. 

Any "loss" over the original music is inherent in the digital version of the music itself.  i.e. I agree that analog to digital loses some resolution in the initial process of converting sound waves to 1s and 0s.  However, once digital, it is certainly possible to compress the information in a .wav file without losing anything.  It would be absolutely foolish to believe that the fact the data represents music in the final stage makes it "special" in any way.

New Project: 2003 Pathfinder
Poormanq45 
Silver - Posts: 597
Silver spacespace
Joined: October 27, 2004
Location: United States
Posted: March 17, 2005 at 1:27 PM / IP Logged  
Oh, thank you, you actually just cleared up the conflict I was "seeing"OT - Headphone (Can) Shopping - Page 2 -- posted image. .
I did know that all files are stored in binary 0/1 format, but I was thinking that sinse music is so "non-repetitive" that there wouldn't be many repitions in the code. As you said, dependent on the individual song, the compression will very.
Thank you.
P.S. Thanks for calling me a smart guyOT - Headphone (Can) Shopping - Page 2 -- posted image.
kfr01 
Gold - Posts: 2,121
Gold spaceThis member has made a donation to the12volt.com. Click here for more info.spacespace
Joined: April 30, 2003
Posted: March 17, 2005 at 2:20 PM / IP Logged  

You are a smart guy - you ask questions and challenge your understanding and the understanding of others.  In my opinion that process is more valuable than actually knowing the underlying fact.

Your instinct was right.  Music is not as compressible as most programs or text, but it is still compressible.  :-)

Now - back to the behavior that Haemphyst described - whether the actual FLAC algorithms correctly take the pieces apart and put them back together again might be another story.  I'm interested in hearing his view.  However, based on a light reading of the information available on the flac page, the resulting sound from flac and from the wav should be identical.

New Project: 2003 Pathfinder
haemphyst 
Platinum - Posts: 5,057
Platinum spaceThis member has been recognized as an authority in Electrical Theory. Click here for more info.spaceThis member has been recognized as an authority in Mobile Audio and Video. Click here for more info.spacespace
Joined: January 19, 2003
Location: Michigan, Bouvet Island
Posted: March 17, 2005 at 9:37 PM / IP Logged  
Should be identical... The operative word being "should". I can hear the difference between various FLAC compression levels, and as an interesting side note, I have actually seen SOME wav files "compressed" with FLAC as being LARGER than the original wav... I thought it was wierd as well. Things that make you go "Hmmmm"....
I have scoured the net all day (between moments of working, that is... the boss sometimes walks by my desk, and I have to look busy) and I have been unable to locate any direct Red-Book to FLAC comparisons. I am still looking, because I truly am interested... I do know that the FLAC codec is based (loosely, from my understanding) on MLP - Meridian Lossless Packing, which means to me, it should be pretty good, and it is. BUT, if the scheme is TRULY lossless, then why are there eight (eight, Bob...) different levels of compression available in EZCDExtractor, which is the extract/convert software I use. EITHER 1: EZCDX does not use true FLAC, or B: there REALLY IS A DIFFERENCE in the compressed file vs. the uncompressed file - besides size. I think I will encode some 10K to 20K sine waves into WAV, and then compress those WAVs into FLAC, then burn them DIRECTLY to CD at 2X, without re-converting them back. This will minimize additional damages done, and will place all of the files on an even playing field. I will then observe the waveforms on my O-Scope. Being a steady state, it should be fairly obvious what the compression scheme is doing to the orginal source. Unfortunately, all I have is a handheld scope, with no PC interface, so a screen cap might be (really, it IS) out of the question, but I will let everbody know what I find.
I am really of the mind that FLAC is a "lossless" scheme, not a lossless scheme. I believe some experimentation is in order here, y'all... I will keep you updated!
It all reminds me of something that Molière once said to Guy de Maupassant at a café in Vienna: "That's nice. You should write it down."
Page of 4

  Printable version Printable version Post ReplyPost New Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

  •  
Search the12volt.com
Follow the12volt.com Follow the12volt.com on Facebook
Wednesday, May 21, 2025 • Copyright © 1999-2025 the12volt.com, All Rights Reserved Privacy Policy & Use of Cookies
Disclaimer: *All information on this site ( the12volt.com ) is provided "as is" without any warranty of any kind, either expressed or implied, including but not limited to fitness for a particular use. Any user assumes the entire risk as to the accuracy and use of this information. Please verify all wire colors and diagrams before applying any information.

Secured by Sectigo
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
Support the12volt.com
Top
the12volt.com spacer
the12volt.com spacer