Read WAV, Increase Volume, Write WAV
Posted on 2006-06-30
I receive WAV files from another system at a set volume level (which cannot be changed - hence the problem) and then make them available for download via an ASP page. I basically read the WAV file, and send it to the browser as a stream - which prompts the receiving computer to do a OPEN/SAVE/CANCEL dialog.
The problem I have is the WAV files are very quiet and when played via the computer they were sent to (via the ASP page) they are often not clearly audiable - even with the volume up high.
I was wondering if there was a way to create a VB class (or something that would work with ASP), that could be called from the ASP page to read the WAV file, increase it's volume, and write it again with a higher volume.
I'm guessing a VB class would probably be easiest, as it could be referenced and called from the ASP page - but I'm open to suggestions, methods and ideas here as there may well be a better way.
I'm using VB6 SP5, and classic ASP.