Staredit Network > Forums > Technology & Computers > Topic: RE: .WAV Files
RE: .WAV Files
Jan 14 2009, 8:34 pm
By: Heinermann
Pages: 1 2 3 >
 

Jan 14 2009, 8:34 pm Heinermann Post #1

SDE, BWAPI owner, hacker.

Original topic: http://www.staredit.net/topic/5294/

WAV compression could also mean the compression inside of an MPQ archive. WAV files can also have unnecessary header information.

An alternate method of "compressing" WAV files(that I use), is manually halve the frequency using a hex editor, and "speeding up" the result through Sound Recorder. (Also works from going stereo to mono)
Another thing you could do with a hex editor is:
A) Remove any appended data left by some programs.
B) Remove the unnecessary "fact" header.
C) Resize the original header to 0x10.

Also, WAV files will compress better in MPQ archives if they are 16-bit and imported at maximum audio compression.

A good example of crap WAV files are in the map "Lost City". They have extended headers, appended data, and everything you don't want in a WAV.
So, starting with the original quality WAV, perform my above steps, and you should have minimal quality loss.




Jan 15 2009, 4:38 am Kellimus Post #2



.WAVs are uncompressed and compressing them will change the file completely...

You can change the size of your .WAV by changing the sample rate and if its mono/stereo..

Doesn't sound like what you're doing is compressing, just altering the file..



None.

Jan 15 2009, 4:48 am Syphon Post #3



Altering the file to have a smaller size is compressing it, Kellimus.



None.

Jan 15 2009, 4:58 am Kellimus Post #4



Quote from Syphon
Altering the file to have a smaller size is compressing it, Kellimus.

How does Hexediting == Compression?

From what it sounds like to me, he just cuts off the information associated with the .WAV file which would just cut some of the bytage off... That's not converting it to a compressed file such as .mp3



None.

Jan 15 2009, 5:30 am poiuy_qwert Post #5

PyMS and ProTRG developer

Compression is making the file smaller, removing bytes from the file makes it smaller. You don't need to use a compression algorithm to make a file smaller or to be called a compressed file.




Jan 15 2009, 5:31 am Syphon Post #6



Quote from Kellimus
Quote from Syphon
Altering the file to have a smaller size is compressing it, Kellimus.

How does Hexediting == Compression?

From what it sounds like to me, he just cuts off the information associated with the .WAV file which would just cut some of the bytage off... That's not converting it to a compressed file such as .mp3

.mp3 is a different file format, not a smaller .wav, oh, and you're an idiot.



None.

Jan 15 2009, 12:37 pm Vi3t-X Post #7



Its just taking off unneccessary information to lower filesize. Sort of like a box. Remove the box to get the good stuff inside. (Or the box...)



None.

Jan 16 2009, 1:33 am Falkoner Post #8



The way he's compressing it, at least with the speeding up part, will give lower quality, Kellimus, however, it still compresses it nicely for how it sounds.



None.

Jan 16 2009, 8:20 pm Kellimus Post #9



Quote from Syphon
Quote from Kellimus
Quote from Syphon
Altering the file to have a smaller size is compressing it, Kellimus.

How does Hexediting == Compression?

From what it sounds like to me, he just cuts off the information associated with the .WAV file which would just cut some of the bytage off... That's not converting it to a compressed file such as .mp3

.mp3 is a different file format, not a smaller .wav, oh, and you're an idiot.

Why, because I don't agree with you? Doesn't make me an idiot.

And you're right. .mp3 IS a different file format but it is essentially a compressed .WAV file you twit. I deal with music producers quite a daily basis and they throw around .WAVs because they're uncompressed and the highest quality sound you can get. They give .mp3 files after they are done because they're compressed files with a usually unnoticeable change in quality (well, if its low-quality .mp3 you can tell) so they can give people five minute songs at 5MB instead of 500MB.

.mp3 is a compressed sound file (usually converted from .WAV files) so whose the idiot??



None.

Jan 16 2009, 8:28 pm Symmetry Post #10

Dungeon Master

Regardless, you didn't know what compression was, so you're still an idiot.



:voy: :jaff: :voy: :jaff:

Jan 16 2009, 8:28 pm MasterJohnny Post #11



Quote from Kellimus
Quote from Syphon
Quote from Kellimus
Quote from Syphon
Altering the file to have a smaller size is compressing it, Kellimus.

How does Hexediting == Compression?

From what it sounds like to me, he just cuts off the information associated with the .WAV file which would just cut some of the bytage off... That's not converting it to a compressed file such as .mp3

.mp3 is a different file format, not a smaller .wav, oh, and you're an idiot.

Why, because I don't agree with you? Doesn't make me an idiot.

And you're right. .mp3 IS a different file format but it is essentially a compressed .WAV file you twit. I deal with music producers quite a daily basis and they throw around .WAVs because they're uncompressed and the highest quality sound you can get. They give .mp3 files after they are done because they're compressed files with a usually unnoticeable change in quality (well, if its low-quality .mp3 you can tell) so they can give people five minute songs at 5MB instead of 500MB.

.mp3 is a compressed sound file (usually converted from .WAV files) so whose the idiot??

But we cant use .mp3 in our maps. Why else would we use .wav files?



I am a Mathematician

Jan 16 2009, 8:57 pm Kellimus Post #12



Quote from name:Killer_Kow
Regardless, you didn't know what compression was, so you're still an idiot.

I know what compression is you moron, Hexediting a .WAV file != Compression.

Its cutting down some bytes (according to the topic creator its his method of 'compression' [take notice of the quotes]) of unneeded information off of the .WAV to make it a smaller size.

That's not compression.



None.

Jan 16 2009, 9:08 pm Symmetry Post #13

Dungeon Master

Data compression is by definition:

Quote
A technique in information technology by which the same amount of data is transmitted by using a smaller number of bits; for example, by replacing a string of ten repeated digits with a command to repeat the digit ten times.

So, reducing the number of bytes (and therefore bits) in a file is compression.



:voy: :jaff: :voy: :jaff:

Jan 16 2009, 9:17 pm Kellimus Post #14



Quote from name:Killer_Kow
Data compression is by definition:

Quote
A technique in information technology by which the same amount of data is transmitted by using a smaller number of bits; for example, by replacing a string of ten repeated digits with a command to repeat the digit ten times.

So, reducing the number of bytes (and therefore bits) in a file is compression.

He doesn't replace any information, he erases. He's cutting out the information, not re-arranging it.

Therefore its not compression. He didn't say it was compression either, he used ' 's around the word.



None.

Jan 16 2009, 9:38 pm poiuy_qwert Post #15

PyMS and ProTRG developer

He didn't say anything about replacing. It is the same WAV with a smaller amount of bits to represent it, which IS compression.

And you don't know why Heinermann put quotes around the word, you are just putting words in his mouth. I'm GUESSING he put them there because its such a small difference and doesn't use a compression algorithm, but it is still compression, but maybe he'll clear that up.




Jan 16 2009, 9:46 pm Heinermann Post #16

SDE, BWAPI owner, hacker.

Reducing the quality to lower the file size is still a compression, even if it is the same file format as the original. It's a lossy compression. Even if compression wasn't the right term, I'll use it anyway, and I don't care what anyone has to say about it.

Kellimus, you still troll here to pass time?

Compressing in quotes in the original post is referring to changing the quality of the WAV.




Jan 16 2009, 9:50 pm Kellimus Post #17



Quote from Heinermann
Original topic: http://www.staredit.net/topic/5294/
An alternate method of "compressing" WAV files(that I use), is manually halve the frequency using a hex editor, and "speeding up" the result through Sound Recorder.

Quote from poiuy_qwert
He didn't say anything about replacing. It is the same WAV with a smaller amount of bits to represent it, which IS compression.

And you don't know why Heinermann put quotes around the word, you are just putting words in his mouth. I'm GUESSING he put them there because its such a small difference and doesn't use a compression algorithm, but it is still compression, but maybe he'll clear that up.

Look at the above bold characters. Didn't put any words in his mouth at all.

Quote from Heinermann
Reducing the quality to lower the file size is still a compression, even if it is the same file format as the original. It's a lossy compression. Even if compression wasn't the right term, I'll use it anyway, and I don't care what anyone has to say about it.

Kellimus, you still troll here to pass time?

You don't have to go Hexedit to lower the quality of .WAVs, you just need to change the sampling rate and there you go. So you're just deleting information from the .WAV

How is that
Quote
A technique in information technology by which the same amount of data is transmitted by using a smaller number of bits; for example, by replacing a string of ten repeated digits with a command to repeat the digit ten times.
??

Nah I don't troll. Just speak the truth :)



None.

Jan 16 2009, 9:52 pm Heinermann Post #18

SDE, BWAPI owner, hacker.

There is a distinct difference in quality when hex editing and "speeding up" and when just changing the sampling rate.

Also, can you reference the source for your definition?




Jan 16 2009, 9:53 pm Kellimus Post #19



Quote from Heinermann
There is a distinct difference in quality when hex editing and "speeding up" and when just changing the sampling rate.

Sampling rate doesn't speed anything up or slow anything down, it highers or lowers the quality of the .WAV

A .WAV with a higher sampling rate of lets say 44,000Khz compared to one that's 28,000Khz.

The later will be of lesser quality.



None.

Jan 16 2009, 9:57 pm poiuy_qwert Post #20

PyMS and ProTRG developer

Quote from Kellimus
Quote from Heinermann
Original topic: http://www.staredit.net/topic/5294/
An alternate method of "compressing" WAV files(that I use), is manually halve the frequency using a hex editor, and "speeding up" the result through Sound Recorder.

Quote from poiuy_qwert
He didn't say anything about replacing. It is the same WAV with a smaller amount of bits to represent it, which IS compression.

And you don't know why Heinermann put quotes around the word, you are just putting words in his mouth. I'm GUESSING he put them there because its such a small difference and doesn't use a compression algorithm, but it is still compression, but maybe he'll clear that up.

Look at the above bold characters. Didn't put any words in his mouth at all.

Did you even read what I said or can you just not comprehend? Read the bolded+underlined part...

Quote from Kellimus
Quote from Heinermann
Reducing the quality to lower the file size is still a compression, even if it is the same file format as the original. It's a lossy compression. Even if compression wasn't the right term, I'll use it anyway, and I don't care what anyone has to say about it.

Kellimus, you still troll here to pass time?

You don't have to go Hexedit to lower the quality of .WAVs, you just need to change the sampling rate and there you go. So you're just deleting information from the .WAV

You don't HAVE to, but guess what, you can! Which is compression because you are making the file size smaller! Interesting no?




Options
Pages: 1 2 3 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Roy, Oh_Man