Skip to main content
DavidSweeneyBear
Inspiring
September 26, 2021
Question

Clipping in "HD" digital files

  • September 26, 2021
  • 1 reply
  • 527 views

I have a subscription to Amazon Music HD.

 

They allow downloads of music files in HD and ULTRA HD.

 

HD is defined as 44.1khz 16 bit - CD quality in other words.

 

Just out of interest, I though I'd have a go at recording the dowloaded files (encrypted and only playable through Amazon's app of course) into Audition and see how they compare to a mastered CD.

 

I'm using "what U hear" under MME driver on my Soundblaster E5, which is supposed to record the computer's audio stream.

 

I find that the signal level varies depending on how high I set the playback volume of the Amazon music app, so have been playing around with this.

 

Through trial and error, it seems the only way not to register clipping in audition's level meter is to set the app volume at 60 (100 being full).

The resulting waveform looks like this:

 

Certainly doesn't look like a mastered CD! I'm surprised to see the odd peaks, although they are very short and don't result in any audible peaks when listening.

 

If I record with the app volume at 100, I get something that at least looks right, except for the clipping:

 

The clipping I'm referring to is not audible when listening, just that it shows on the level meter and shows possibly clipped samples in the analysis panel, (although 0% clipped in Match loudness panel).

 

Obviously, if i hard limit the "clipped" recording (recorded at 100 level in the app) to -0.1db there's no problem.

 

Similarly, if I hard limit the non-clipped sample recorded at level 60 in the app to -3.1db (a ball-park estimation based on visual assessment of the moving peaks), then amplify by 3db, I get a file that looks very much like a mastered CD.

 

(Be interested to know if anyone has an opinion on which of the above would be the better approach)

 

Anyway... just thought I'd share this... mainly, I'm wondering why the clipping occurs - is it something to do with Amazon's app or something about the "what U hear" driver selection... or something else?

This topic has been closed for replies.

1 reply

SteveG_AudioMasters_
Community Expert
Community Expert
September 27, 2021

All bets are off when it comes to Amazon's app - we have absolutely no idea what it does, neither have we any idea of what processing may have been done to a signal before it gets to the app either. 'What you hear' generally works reasonably well - it's unlikely to be having any significant impact on the result. Except that you've got a Soundblaster, and there have been some significant sound issues with them in the past; doing A/B tests with them revealed clear sonic differences between them and many other devices, but in all honesty I don't think that's it.

 

The clipping is almost a different issue. For a start, you need to read some of the background to this, which is generally referred to as 'The Loudness War' - there's a Wikipedia page about this here and a search using the term will reveal plenty more. But in general now it's been 'fixed' (and I don't think in a particularly good way) by all of the streaming companies so that basically, everything sounds the same. There's an article about that here. In general though, what this means is that you don't see anything like as much of those clipped peaks as you used to, which does make me wonder exactly what Amazon are up to, and that's the thing - unless you have the actual CD release of a track, you won't really be able to judge exactly what's happening with the processed version.

 

In general, if you want to increase the overall level of something without introducing clipping, then you limit the peaks - we've been doing that for years. Once it's done though it's really difficult to undo, and it's rare for music tracks to be released looking like they've got a lot of spiky peaks in them. So really, more information is needed.

DavidSweeneyBear
Inspiring
September 27, 2021

Thanks Steve. Back in the old days, if a friend had a nice album on vinyl or CD, I'd take a tape recording of it - setting the levels and bias to achieve the best, cleanest recording I could. In a way this is a similar idea but in the digital domain... and certainly I've no complaints audio quality wise in what I've recorded. The resulting recording goes into my Musicbee library in flac - my preferred library software app.

As it happens, I did try an alternative method using my in-built Realtek sound device in Audacity. For that, I used audacity's loopback driver which is a direct full signal transfer and changing the playback volume in the amazon app has no effect. The resulting file was also showing clipping. However, as I said in my post this is not audible clipping, just "on paper" so to speak.

I do have a Focusrite Forte which I use for voice-over work and I know it to be very tolerant of high signal levels, but I don't have a "what U hear" driver for that to my knowledge and besides I don't feel inclined to drag that out of my recording booth! I do have an ancient Edirol 2 channel inteface.. I could always give that a whirl, but again from memory there was no way to record the computer stream.

In the end I'm quite happy with the reults and will continue adding to my flac music collection... Amazon are giving a 3 month free trial so it's happy days! 🙂

<br>~ David Sweeney-Bear ~
Trevor L NSSC
Participating Frequently
September 27, 2021

Just a note that Jaksta (https://www.jaksta.com) enables recording of any audio passing through your soundcard/interface and AFAIK doesn't rely on your hardware driver at all. I've used it for a few years (since Windows XP) to record YouTube and other streams.

Cheers,

Trevor