Restored from previous forum. Originally posted by Paul.
Maybe someone can help me??
I'm looking for a way to load a WAV audio file, adjust the volume and then save the file back to disk with the modified volume.
Thanks.
WAV Audio
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Rings.
Hi Paul,
i guess that the pure wave-format is NOT compressed and in a raw
order(That says every 2 bytes are a peak in the wave (If 16Bit is used)
.So all you have do do is load file in memory bank, and decrement every peak
(Not the header,only the raw data) .If you are ready save the memory bank.
If you want more infos about wave-format, consult the net.
(http://www.wotsit.org/ a dfileformat describe)
greetings from germany
Siggi
Hi Paul,
i guess that the pure wave-format is NOT compressed and in a raw
order(That says every 2 bytes are a peak in the wave (If 16Bit is used)
.So all you have do do is load file in memory bank, and decrement every peak
(Not the header,only the raw data) .If you are ready save the memory bank.
If you want more infos about wave-format, consult the net.
(http://www.wotsit.org/ a dfileformat describe)
greetings from germany
Siggi