{"id":4813,"date":"2022-03-14T15:05:34","date_gmt":"2022-03-14T15:05:34","guid":{"rendered":"http:\/\/mp4gain.com\/mp4gain\/?p=4813"},"modified":"2022-03-14T15:05:34","modified_gmt":"2022-03-14T15:05:34","slug":"4813","status":"publish","type":"post","link":"https:\/\/mp4gain.com\/mp4gain\/4813\/","title":{"rendered":""},"content":{"rendered":"<h2>Audio Coding<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg\" alt=\"Audio Coding\" width=\"400\" height=\"400\" \/><\/p>\n<p>Sampling rate and sample size<br \/>\nSound is actually a type of energy wave, so it also has the characteristics of frequency and amplitude, with frequency corresponding to the time axis and amplitude corresponding to the level axis.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/st2.depositphotos.com\/4428871\/46987\/i\/450\/depositphotos_469877794-stock-photo-aac-advanced-audio-coding-acronym.jpg\" alt=\"Advanced Audio Coding\" width=\"600\" height=\"400\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The wave is infinitely smooth and the chain can be considered to be made up of innumerable points. Since the storage space is relatively limited, in the process of digital encoding, the points of the chain must be sampled. The sampling process consists of extracting the frequency value of a certain point. Obviously, the more points that are extracted in one second, the richer the frequency information that can be obtained. To restore the waveform, there must be two sampling points in one vibration. The highest frequency that can be felt is 20kHz, so to meet the hearing requirements of the human ear, at least 40k samples per second are required, expressed in 40kHz, and these 40kHz are the sampling frequency. Our common CD has a sample rate of 44.1 kHz. It is not enough to have only frequency information, we must also obtain and quantify the energy value of this frequency to represent the strength of the signal. The number of quantization levels is an integer power of 2, and the sample size of our common CD bit is 16 bits, that is, 2 to the power of 16. Sample size is more difficult to understand than frequency. sampling, because it makes it seem abstract. For example, suppose a wave is sampled 8 times and the energy values \u200b\u200bcorresponding to the sample points are A1-A8, but only use a sample size of 2 bits, as a result we can only keep the values \u200b\u200bof 4 points in A1 -A8 and discard the other 4. If we use the sample size of 3bit, all the information of 8 points is recorded. The higher the sample rate and sample size values, the closer the recorded waveform is to the original signal.<br \/>\nlossy and lossless<br \/>\nAccording to the sample rate and sample size, it can be known that compared to the natural signal, the audio encoding can only be infinitely close at most, at least the current technology can only do this. Compared to the natural signal, any digital audio encoding scheme is lossy because it cannot be fully restored. In computer applications, PCM encoding can achieve the highest level of fidelity, which is widely used for material preservation and music appreciation. It is used on CDs, DVDs, and our common WAV files. Therefore, PCM has become lossless encoding by convention, because PCM represents the best level of fidelity in digital audio, it does not mean that PCM can guarantee the absolute fidelity of the signal, and PCM can only be infinitely close in the greater extent. We usually include MP3 in the category of lossy audio encoding, which is relatively PCM encoding. The purpose of emphasizing the relativity of lossy and lossless encoding is to tell everyone that it&#8217;s hard to achieve true lossless, just like expressing pi with numbers, no matter how high the precision is, it&#8217;s infinitely close, not really equal to pi value.<br \/>\nReasons to use audio compression technology<br \/>\nIt is very easy to calculate the bit rate of a PCM audio stream, the value of the sample rate \u00d7 the value of the sample size \u00d7 the number of bps of the channel. A WAV file with a sample rate of 44.1 KHz, a sample size of 16 bits, and two-channel PCM encoding has a data rate of 44.1 K\u00d716\u00d72 = 1411.2 Kbps. We usually say that 128K MP3, the corresponding WAV parameter, is this 1411.2 Kbps, this parameter is also called data bandwidth, it is a concept with the bandwidth in ADSL. Divide the bit rate by 8 to get the data rate for this WAV, which is 176.4 KB\/s. This means storing a 1-second sample rate of 44.1 KHz, a 16-bit sample size, and a two-channel PCM-encoded audio signal, which requires 176.4 KB of space, which is approximately 10.34 M in 1 minute, which is unacceptable. For most users, especially friends who like to listen to music on the computer, to reduce disk usage, there are only 2 ways to downsample or compress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Audio Coding Sampling rate and sample size Sound is actually a type of energy wave, so it also has the characteristics of frequency and amplitude, with frequency corresponding to the time axis and amplitude corresponding to the level axis. &nbsp; The wave is infinitely smooth and the chain can be considered to be made up &hellip; <a href=\"https:\/\/mp4gain.com\/mp4gain\/4813\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[257],"tags":[45845,66502,55401,29686,44305,66500,66503,62495,6820,66504,66498,66501,66506,66505,66499],"class_list":["post-4813","post","type-post","status-publish","format-standard","hentry","category-audio-normalizer","tag-how-audio-encoding-works","tag-how-does-acoustic-encoding-work","tag-how-does-audio-coding-work","tag-how-does-mp3-encoding-work","tag-how-encoding-works","tag-how-to-learn-audio-programming","tag-is-an-advanced-audio-coding-file-audacity","tag-what-are-audio-coding-formats","tag-what-are-audio-formats","tag-what-is-advanced-audio-coding","tag-what-is-audio-coding","tag-what-is-audio-encoding","tag-what-is-audio-programming","tag-what-is-spatial-audio-coding","tag-what-is-the-most-common-audio-file-format"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>- mp4gain.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mp4gain.com\/mp4gain\/4813\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"- mp4gain.com\" \/>\n<meta property=\"og:description\" content=\"Audio Coding Sampling rate and sample size Sound is actually a type of energy wave, so it also has the characteristics of frequency and amplitude, with frequency corresponding to the time axis and amplitude corresponding to the level axis. &nbsp; The wave is infinitely smooth and the chain can be considered to be made up &hellip; Continue reading &quot;&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mp4gain.com\/mp4gain\/4813\/\" \/>\n<meta property=\"og:site_name\" content=\"mp4gain.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mp4gain\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-14T15:05:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg\" \/>\n<meta name=\"author\" content=\"R. Arias\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mp4gain\" \/>\n<meta name=\"twitter:site\" content=\"@mp4gain\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"R. Arias\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/\"},\"author\":{\"name\":\"R. Arias\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc\"},\"headline\":\"No title\",\"datePublished\":\"2022-03-14T15:05:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/\"},\"wordCount\":687,\"image\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg\",\"keywords\":[\"how audio encoding works\",\"how does acoustic encoding work\",\"how does audio coding work\",\"how does mp3 encoding work\",\"how encoding works\",\"how to learn audio programming\",\"is an advanced audio coding file audacity\",\"what are audio coding formats\",\"what are audio formats\",\"what is advanced audio coding\",\"what is audio coding\",\"what is audio encoding\",\"what is audio programming\",\"what is spatial audio coding\",\"what is the most common audio file format\"],\"articleSection\":[\"Audio Normalizer\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/\",\"url\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/\",\"name\":\"- mp4gain.com\",\"isPartOf\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg\",\"datePublished\":\"2022-03-14T15:05:34+00:00\",\"author\":{\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mp4gain.com\/mp4gain\/4813\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/4813\/#primaryimage\",\"url\":\"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg\",\"contentUrl\":\"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#website\",\"url\":\"https:\/\/mp4gain.com\/mp4gain\/\",\"name\":\"mp4gain.com\",\"description\":\"Mp4 Gain Official Website\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mp4gain.com\/mp4gain\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc\",\"name\":\"R. Arias\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g\",\"caption\":\"R. Arias\"},\"description\":\"R. Arias is the author of this article and has extensive experience for more than 30 years as a recording engineer and audio specialist, as well as more than 20 years of experience creating algorithms related to audio and video. Linkedin\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/ricardoariaszorrilla\/\"],\"url\":\"https:\/\/mp4gain.com\/mp4gain\/author\/mp4gain\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"- mp4gain.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mp4gain.com\/mp4gain\/4813\/","og_locale":"en_US","og_type":"article","og_title":"- mp4gain.com","og_description":"Audio Coding Sampling rate and sample size Sound is actually a type of energy wave, so it also has the characteristics of frequency and amplitude, with frequency corresponding to the time axis and amplitude corresponding to the level axis. &nbsp; The wave is infinitely smooth and the chain can be considered to be made up &hellip; Continue reading \"\"","og_url":"https:\/\/mp4gain.com\/mp4gain\/4813\/","og_site_name":"mp4gain.com","article_publisher":"https:\/\/www.facebook.com\/mp4gain","article_published_time":"2022-03-14T15:05:34+00:00","og_image":[{"url":"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg","type":"","width":"","height":""}],"author":"R. Arias","twitter_card":"summary_large_image","twitter_creator":"@mp4gain","twitter_site":"@mp4gain","twitter_misc":{"Written by":"R. Arias","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mp4gain.com\/mp4gain\/4813\/#article","isPartOf":{"@id":"https:\/\/mp4gain.com\/mp4gain\/4813\/"},"author":{"name":"R. Arias","@id":"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc"},"headline":"No title","datePublished":"2022-03-14T15:05:34+00:00","mainEntityOfPage":{"@id":"https:\/\/mp4gain.com\/mp4gain\/4813\/"},"wordCount":687,"image":{"@id":"https:\/\/mp4gain.com\/mp4gain\/4813\/#primaryimage"},"thumbnailUrl":"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg","keywords":["how audio encoding works","how does acoustic encoding work","how does audio coding work","how does mp3 encoding work","how encoding works","how to learn audio programming","is an advanced audio coding file audacity","what are audio coding formats","what are audio formats","what is advanced audio coding","what is audio coding","what is audio encoding","what is audio programming","what is spatial audio coding","what is the most common audio file format"],"articleSection":["Audio Normalizer"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mp4gain.com\/mp4gain\/4813\/","url":"https:\/\/mp4gain.com\/mp4gain\/4813\/","name":"- mp4gain.com","isPartOf":{"@id":"https:\/\/mp4gain.com\/mp4gain\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mp4gain.com\/mp4gain\/4813\/#primaryimage"},"image":{"@id":"https:\/\/mp4gain.com\/mp4gain\/4813\/#primaryimage"},"thumbnailUrl":"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg","datePublished":"2022-03-14T15:05:34+00:00","author":{"@id":"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mp4gain.com\/mp4gain\/4813\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mp4gain.com\/mp4gain\/4813\/#primaryimage","url":"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg","contentUrl":"https:\/\/pbs.twimg.com\/profile_images\/979074659663601664\/btoGfwV4_400x400.jpg"},{"@type":"WebSite","@id":"https:\/\/mp4gain.com\/mp4gain\/#website","url":"https:\/\/mp4gain.com\/mp4gain\/","name":"mp4gain.com","description":"Mp4 Gain Official Website","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mp4gain.com\/mp4gain\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mp4gain.com\/mp4gain\/#\/schema\/person\/36ffddda9988e565bd4a9013324ce2cc","name":"R. Arias","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8ca03263e87418cfde07c571c83fa172297ce230085e4f181b9e5f9af745d6be?s=96&d=blank&r=g","caption":"R. Arias"},"description":"R. Arias is the author of this article and has extensive experience for more than 30 years as a recording engineer and audio specialist, as well as more than 20 years of experience creating algorithms related to audio and video. Linkedin","sameAs":["https:\/\/www.linkedin.com\/in\/ricardoariaszorrilla\/"],"url":"https:\/\/mp4gain.com\/mp4gain\/author\/mp4gain\/"}]}},"_links":{"self":[{"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/posts\/4813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/comments?post=4813"}],"version-history":[{"count":0,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/posts\/4813\/revisions"}],"wp:attachment":[{"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/media?parent=4813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/categories?post=4813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mp4gain.com\/mp4gain\/wp-json\/wp\/v2\/tags?post=4813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}