🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Compressing audio file size whilst trying to preserve more quality

Started by
12 comments, last by jalport 6 years, 7 months ago

Hi, I'm trying to work out a way to preserve some more quality when I compress to a low bit rate m4a to be used in an online browser game.

Any help would be greatly appreciated for any software oriented musicians! 

Cheers

Advertisement

Google audio file converters and you'll get a ton of options. I'm on Mac and use one called Switch. Lots of options and works great. I've also used Triumph as well as Soundforge (PC version is better than the Mac one) and have used Audition as well. iZotope's RX is great for this as well but that's probably overkill for what you're after. 

If you're just changing the file and not doing any actual audio processing (i.e. limiting, EQ, clean up, etc) then it's very easy to do and you'll find a ton of options. If you're looking to do a bit more audio processing then you'll need a more specialized program. 

Nathan Madsen
Nate (AT) MadsenStudios (DOT) Com
Composer-Sound Designer
Madsen Studios
Austin, TX

Thanks for you response, I've been trying out a few different options such as Max and my go-to DAW Logic X, but will definitely check out using switch and Triumph. I have to get iZotope's RX, it's been a long time coming. This particular project I'm working on is extremely limiting on audio file size, we're talking getting a 38mb 7min track down to below 1.6mb :( Complete heresy in other words.

I've experimented with Limiting, compressing and EQ to try to make the potential file size smaller before encoding to m4a, would you have any tips on that side of things?

I think my next steps will be to get iZotope's RX, would you have any suggestions on what to experiment in RX to get the file size as small as possible without it sounding like it's underwater?

Cheers!

 

 

5 hours ago, jalport said:

Limiting, compressing and EQ to try to make the potential file size smaller

Correct me if I'm wrong, but I would have guessed those things shouldn't have any serious effect on the resulting file size, as far as I'd imagine.  And if the goal is to preserve "quality" of your sound, those steps will absolutely have an audible effect on the end result, as opposed to finding another way to package the audio.

"Audio compression" and "file compression" are essentially unrelated. Limiting / compression changes the dynamic range of your music (i.e. the spread from the quietest sounds to the lowest sounds) but has no impact on file size afaik.

If you have bad file quality, though, it might be a result of bouncing tracks that haven't been properly metered. Try just dropping your master volume and then doing all your rendering / file conversions. 

I think your right, It definitely has minimal impact on it if any- but it would be interesting to find out if there's anyone out there who has some clever techniques up their wizard sleeves. Unfortunately the sort of compression rate I've had to use is 60 kbps for an mp4, to reach the sort of file size needed, and crushing my dreams in the process :(

 

Thanks Will, it was on a bit of whim- I understand they're both very different things but I thought there could be a chance, there wasn't.

Will make sure the metering is right too, thanks for the suggestion!

Sorry if I confused you. I only mentioned some of the other, more advanced features with audio production, because sometimes a user will want to do some sonic changes while also converting the files themselves. For example, normalize all assets and export them out as an OGG file. 

The sonic changes do nothing to change the file size itself. Just the sonic qualities. 

Nathan Madsen
Nate (AT) MadsenStudios (DOT) Com
Composer-Sound Designer
Madsen Studios
Austin, TX

It is worth noting that decisions made when mixing and mastering audio can help when crushing it down to a lower bit rate. For example, avoid things like cymbal swells and such that just eat up information in the upper range and sound like total crap when really squashed during data compression. So  you may want to narrow your frequency range some and see how well you can make it sound at a low fidelity. 

RX Advanced has a codec previewer where you can hear the impacts of such data compression while still having options from an audio engineering side. May be worth checking that out. Hope that helps! 

 

Nathan Madsen
Nate (AT) MadsenStudios (DOT) Com
Composer-Sound Designer
Madsen Studios
Austin, TX

That's a good point to mention on preparing the track in a compositional and mixing sense. I think I'll have to incorporate that into the process. I suppose the advantage of making those changes, is that you can lower the bit rate further whilst avoiding being overwhelmed by chunky bits, and therefore getting the file size smaller as a result. Thanks for the heads up on it not directly affecting file size though!

 

RX does sound decent but I'm feeling intimidated by the huge cost of the advanced version. Do you think the standard version would have enough plugins to help tackle this issue?

Thanks for your help!

This topic is closed to new replies.

Advertisement