Home General Asylum

General audio topics that don't fit into specific categories.

Polarity could be a file attribute, just like Replay Gain.

It would be logical to add polarity as a file attribute, just like replay gain can be added to a file. That way, the default could be automatically applied by player software when this feature is enabled. One would only have to ascertain the correct polarity once. Like replay gain, this parameter could be easily changed without rewriting the entire file and without loss of any original information.

Of course, if one doesn't mind changing one's files, one can actually reverse the polarity of samples using an audio editor without adding any additional parameters or using special player software. One can use any audio editor with this capability, for example Sony SoundForge. However, there are two problems with this: (1) flipping polarity is not a light weight operation as it involves altering every sample in the file, and (2) it is not completely lossless if the file happens to have a sample that is exactly at the negative limit. (The negative limit of RBCD is -32768, while the positive limit is +32767.) One version of one player had a bug in its polarity reversal software related to this exception which was fixed after I reported it.

Tony Lauck

"Perception, inference and authority are the valid sources of knowledge" - P.R. Sarkar


This post is made possible by the generous support of people like you and our sponsors:
  Kimber Kable  


Follow Ups Full Thread
Follow Ups
  • Polarity could be a file attribute, just like Replay Gain. - Tony Lauck 08:46:05 09/24/08 (0)

FAQ

Post a Message!

Forgot Password?
Moniker (Username):
Password (Optional):
  Remember my Moniker & Password  (What's this?)    Eat Me
E-Mail (Optional):
Subject:
Message:   (Posts are subject to Content Rules)
Optional Link URL:
Optional Link Title:
Optional Image URL:
Upload Image:
E-mail Replies:  Automagically notify you when someone responds.