Waveform clipping in music (aka NO GOOD!)

For all feedback on our releases in all languages.
Post Reply
User avatar
Nintendo Maniac 64
Posts: 119
Joined: Sun Feb 01, 2009 10:07 pm
Location: Northeast Ohio

Waveform clipping in music (aka NO GOOD!)

Post by Nintendo Maniac 64 » Sat Oct 02, 2010 5:29 pm

Something I've been against for a while is the loudness war, which typically consists of waveform clipping and dynamic range compression.


Now what KS has to do with it is that 7 songs have clipping in their waveforms, which is NO GOOD. (Luckily though I don't think any of the songs have any dynamic range compression)
  • Afternoon
    Daylight
    High Tension
    Moment of Decision
    Out of the Loop
    Parity
    Shadow of the Truth
My guess is that this clipping is not actually intentional, and therefore I would assume could be easily fixed. However, unless you use some evil dynamic range compression, lowering these song's gain values may make them too quiet in comparison to the other songs, so you'd have to adjust ALL the songs.

The easiest way to do this would be via WaveGain (with settings @ 24bits or higher + no dithering), which you would apply before the OGG vorbis conversion.


If you want more proof, I can put up waveform image comparisons of the clipped vs declipped versions - it'll be nowhere as good as the original unclipped waveforms, but it's the closest we can get. It's a total pain for me to make the comparison, but if means getting unclipped audio and KS, it's definitely worth it.
Katawa Shoujo's resident straight male kuutsundere.
(because just "tsundere" makes people think of "Shana clones" *shivers*)

Image

User avatar
Nicol Armarfi
Musician
Posts: 286
Joined: Mon Sep 10, 2007 10:29 pm

Re: Waveform clipping in music (aka NO GOOD!)

Post by Nicol Armarfi » Sat Oct 02, 2010 6:08 pm

Given that there are so few public sneak-peeks of what's going on in the music side of things, you probably get the impression that we are not doing anything with it. But I assure you that, just like all the writing, art, and programming, we are in fact going back and fixing up problems like this in the old tracks behind the scenes.

User avatar
Nintendo Maniac 64
Posts: 119
Joined: Sun Feb 01, 2009 10:07 pm
Location: Northeast Ohio

Re: Waveform clipping in music (aka NO GOOD!)

Post by Nintendo Maniac 64 » Sat Oct 02, 2010 10:07 pm

Heh, you're right about that. :P Good to hear!

It's particularly silly for games and VNs to participate in the loudness war since they usually have a built-in volume level coded in.
Katawa Shoujo's resident straight male kuutsundere.
(because just "tsundere" makes people think of "Shana clones" *shivers*)

Image

User avatar
Warwick
Posts: 392
Joined: Tue May 27, 2008 11:28 pm
Contact:

Re: Waveform clipping in music (aka NO GOOD!)

Post by Warwick » Mon Oct 04, 2010 12:32 am

Yeah, a while back Delta was working on the gain/clipping issues and posting random stuff on IRC. He was a little miffed that Ren'Py didn't support WaveGain.
静音是买外夫

User avatar
Nintendo Maniac 64
Posts: 119
Joined: Sun Feb 01, 2009 10:07 pm
Location: Northeast Ohio

Re: Waveform clipping in music (aka NO GOOD!)

Post by Nintendo Maniac 64 » Mon Oct 04, 2010 12:35 am

Are you sure you don't mean Replay Gain?

WaveGain actually physically adjusts the gain level to 89db, hence why I HIGHLY recommended upsampling to 24bits and/or higher during the WaveGain process (and obviously before the OGG vorbis conversion).
Katawa Shoujo's resident straight male kuutsundere.
(because just "tsundere" makes people think of "Shana clones" *shivers*)

Image

User avatar
Warwick
Posts: 392
Joined: Tue May 27, 2008 11:28 pm
Contact:

Re: Waveform clipping in music (aka NO GOOD!)

Post by Warwick » Mon Oct 04, 2010 12:38 am

Probably. My bad, hard to keep track.
静音是买外夫

Guest

Re: Waveform clipping in music (aka NO GOOD!)

Post by Guest » Tue May 17, 2011 2:06 am

Somewhat relevant; apparently there's a new volume-averaging standard that's even more accurate that Replay Gain: EBU R128.

More info: http://tech.ebu.ch/loudness

Apparently Foobar2000 v1.16 and later uses this for its Replay Gain scanner. (note that, by default, fb2k applies WaveGain when you convert a song that has Replay Gain tags already)

User avatar
Nintendo Maniac 64
Posts: 119
Joined: Sun Feb 01, 2009 10:07 pm
Location: Northeast Ohio

Re: Waveform clipping in music (aka NO GOOD!)

Post by Nintendo Maniac 64 » Tue May 17, 2011 2:07 am

Dang it, that last post was me - I didn't realize that I wasn't logged in.
Katawa Shoujo's resident straight male kuutsundere.
(because just "tsundere" makes people think of "Shana clones" *shivers*)

Image

Post Reply