{"id":3077,"date":"2014-06-16T13:27:11","date_gmt":"2014-06-16T20:27:11","guid":{"rendered":"http:\/\/www.realhd-audio.com\/?p=3077"},"modified":"2014-06-16T13:27:11","modified_gmt":"2014-06-16T20:27:11","slug":"upgrading-lossy-music-files","status":"publish","type":"post","link":"https:\/\/www.realhd-audio.com\/?p=3077","title":{"rendered":"Upgrading Lossy Music Files"},"content":{"rendered":"<p>Audio researchers at Yamaha, Denon, Harman Kardon, Sony and few other companies have developed and deployed technologies that promise to sonically restore the stuff that is removed by &#8220;lossy&#8221; compression algorithms. I visited this topic a few months ago when I analyzed the DSEE [Digital Sound Enhancement Engine] process that Sony developed and includes on their new high-resolution playback machines (<a href=\"http:\/\/www.realhd-audio.com\/?p=2233\" target=\"_blank\">click here<\/a> to read that post).<\/p>\n<p>The basic concept is that the fidelity of a music selection prior to being encoded as a lossy MP3\/AAC can be &#8220;restored&#8221; by a few fancy signal-processing algorithms. It certainly true that once a file is digitized that all sorts of creative things can be done to change the sound. The power of DSP (digital signal processors) and the clever algorithms that run on them have brought revolutionary possibilities to audio.<\/p>\n<p>I attended the NAMM (National Association of Music Merchants) and happened by a small company that had developed a &#8220;repitching&#8221;software tool. As the guy played a chord on his small MIDI keyboard the tonality of a Michael Jackson tune was instantly changed. Imagine a completely mixed stereo track switching from major to minor mode at the touch of a few keys. I was very impressed!<\/p>\n<p>So it would not seem out of the realm of possibility that the DSP gurus at Sony or Harman could coax some fidelity back into a lossy compressed music file that had been stripped of some of its high-frequency content. Unfortunately, the marketing claims exceed the realities. I thought I would reopen this subject with the Harman Clari-Fi processing that is built in to the HTC One M8 HKE Smartphone, which features prominently in their advertising.<\/p>\n<p>There&#8217;s a lot of complexity here. What compression algorithm was used to convert the original file to the lossy format? What bandwidth was used? How much fidelity was in the original file prior to the conversion? <\/p>\n<p>I took the Laurence Juber &#8220;Mosaic&#8221; track (a track that has universally been recognized as a great example of real HD-Audio and which won the 2002 CEA &#8220;Demmy&#8221; award) and converted it to a series of MP3 files. I set the parameters of the conversion to CBR (Constant Bit Rate) 64, 96, 128, 256 and 320 kbps. These levels range from really poor to very good. HD Radio, for example, uses 64 and 96 kbps (makes you wonder why they used the HD initials\u2026or not), the majority of music downloads are done at 128 (iTunes Plus uses 256) and if you purchase an MP3 from iTrax (yes, it happens), the files are encoded at 320 kbps.<\/p>\n<p>I loaded these files onto the HTC phone and captured the stereo analog output back to PCM digital files at 96 kHz\/24-bits. I did this with the Clari-Fi algorithm turned off and then with it turned on. Finally, I did the usual spectral analysis on the files. Take a look at the first example below:<\/p>\n<p><a href=\"http:\/\/www.realhd-audio.com\/wp-content\/uploads\/2014\/06\/140616_clari-fi_spectra_mosaic_96kbps.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.realhd-audio.com\/wp-content\/uploads\/2014\/06\/140616_clari-fi_spectra_mosaic_96kbps.jpg\" alt=\"140616_clari-fi_spectra_mosaic_96kbps\" width=\"600\" height=\"329\" class=\"alignnone size-full wp-image-3078\" srcset=\"https:\/\/www.realhd-audio.com\/wp-content\/uploads\/2014\/06\/140616_clari-fi_spectra_mosaic_96kbps.jpg 2159w, https:\/\/www.realhd-audio.com\/wp-content\/uploads\/2014\/06\/140616_clari-fi_spectra_mosaic_96kbps-300x164.jpg 300w, https:\/\/www.realhd-audio.com\/wp-content\/uploads\/2014\/06\/140616_clari-fi_spectra_mosaic_96kbps-1024x561.jpg 1024w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a> <\/p>\n<p>Figure 1 &#8211; The illustration shows a 96 kbps MP3 file of my HD &#8220;Mosaic&#8221; track with and without the Clari-Fi processing. Note the additional high frequencies AND the ultrasonic noise that was added. [Click to enlarge]<\/p>\n<p>My initial thought is why bother with the whole Clari-Fi thing? People that choose to listen to MP3 files encoded at 96 kbps deserve what they get&#8230;terrible sound. And it&#8217;s not just the lack of frequencies above 16 kHz. There&#8217;s a lot more stuff that is thrown away at this level. The sonic impact of a the extra high frequencies is minimal at best.<\/p>\n<p>I&#8217;ll write tomorrow on the use of Clari-Fi on files that have higher bandwidths&#8230;like 256 and 320.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Audio researchers at Yamaha, Denon, Harman Kardon, Sony and few other companies have developed and deployed technologies that promise to<\/p>\n","protected":false},"author":2,"featured_media":3081,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[45,16],"tags":[50,172,53,57,634,87,407,635,70,26,42,251,227,74,169,150,347,27],"class_list":["post-3077","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dr_aixs_posts","category-techtalk","tag-aix-records","tag-audio-resolution","tag-audio-shows","tag-audio-specifications","tag-clari-fi","tag-compact-discs","tag-dsee","tag-harman-clari-fi","tag-hd-downloads","tag-hd-audio","tag-high-resolution-audio","tag-high-resolution","tag-hra","tag-laurence-juber","tag-mark-waldrep","tag-pcm","tag-spectragram","tag-spectragraphs"],"_links":{"self":[{"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=\/wp\/v2\/posts\/3077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3077"}],"version-history":[{"count":3,"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=\/wp\/v2\/posts\/3077\/revisions"}],"predecessor-version":[{"id":3082,"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=\/wp\/v2\/posts\/3077\/revisions\/3082"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=\/wp\/v2\/media\/3081"}],"wp:attachment":[{"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.realhd-audio.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}