{"id":3079,"date":"2023-02-06T19:41:30","date_gmt":"2023-02-06T19:41:30","guid":{"rendered":"http:\/\/mclements.net\/blogWP\/?p=3079"},"modified":"2023-02-08T18:38:51","modified_gmt":"2023-02-08T18:38:51","slug":"audio-how-much-data-is-that","status":"publish","type":"post","link":"http:\/\/mclements.net\/blogWP\/index.php\/2023\/02\/06\/audio-how-much-data-is-that\/","title":{"rendered":"Audio: How Much Data is That?"},"content":{"rendered":"<p>It&#8217;s easy to compute but I figured I&#8217;d save it here for reference<\/p>\n<table>\n<tr>\n<td><strong>Rate<\/strong><\/td><td><strong>bPS<\/strong><\/td><td><strong>BPS<\/strong><\/td><td><strong>KB\/sec<\/strong><\/td><td><strong>Mins\/GB<\/strong><\/td><td><strong>CD ratio<\/strong><\/td><td><strong>Notes<\/strong><\/td><\/tr>\n<tr>\n<td>44.1-16<\/td><td>1,411,200<\/td><td>176,400<\/td><td>172.27<\/td><td>101<\/td><td>1.00<\/td><td>Redbook CD<\/td><\/tr>\n<tr>\n<td>44.1-24<\/td><td>2,116,800<\/td><td>264,600<\/td><td>258.4<\/td><td>67<\/td><td>1.50<\/td><\/tr>\n<tr>\n<td>48-16<\/td><td>1,536,000<\/td><td>192,000<\/td><td>187.5<\/td><td>93<\/td><td>1.09<\/td><\/tr>\n<tr>\n<td>48-24<\/td><td>2,304,000<\/td><td>288,000<\/td><td>281.25<\/td><td>62<\/td><td>1.63<\/td><td>Standard DVD<\/td><\/tr>\n<tr>\n<td>88.2-24<\/td><td>4,233,600<\/td><td>529,200<\/td><td>516.80<\/td><td>33<\/td><td>3.00<\/td><\/tr>\n<tr>\n<td>96-24<\/td><td>4,608,000<\/td><td>576,000<\/td><td>562.5<\/td><td>31<\/td><td>3.27<\/td><td>Popular for modern classical music recordings<\/td><\/tr>\n<tr>\n<td>176.4-24<\/td><td>8,467,200<\/td><td>1,058,400<\/td><td>1,033.6<\/td><td>16.9<\/td><td>6.00<\/td><\/tr>\n<tr>\n<td>192-24<\/td><td>9,216,000<\/td><td>1,152,000<\/td><td>1,125.0<\/td><td>15.5<\/td><td>6.53<\/td><\/tr>\n<\/table>\n\n<p>This represents actual data bits to represent the music &#8211; no overhead. If you want to know what bandwidth is needed to carry an SPDIF signal at a given rate, add extra for packet overhead.<\/p>\n<p>The formula is simple:<\/p>\n<pre>bits per second = S * C * B\r\nS = sample rate (samples per second)\r\nC = channels (2 for stereo)\r\nB = bits per sample<\/pre>\n<p>For example for CD we have<\/p>\n<pre>S = 44100\r\nC = 2\r\nB = 16\r\nS * C * B = 1,411,200 bits per second<\/pre>\n<p>Note: most DACs internally oversample before D-A conversion. They typically oversample at the highest integer multiple of the source rate that is less than their max rate. For example the Cirrus\/Wolfson WM8741 has a max rate of 192k, so CD and DVD are oversampled 4x to 176.4 and 192 respectively. This happens automatically within the DAC chip. Because of this, it&#8217;s usually pointless to oversample an audio signal before feeding it to a DAC &#8211; the DAC is going to do it anyway, so why waste processing power and bandwidth doing it yourself?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s easy to compute but I figured I&#8217;d save it here for reference This represents actual data bits to represent the music &#8211; no overhead. If you want to know what bandwidth is needed to carry an SPDIF signal at a given rate, add extra for packet overhead. The formula is simple: bits per second &hellip; <a href=\"http:\/\/mclements.net\/blogWP\/index.php\/2023\/02\/06\/audio-how-much-data-is-that\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Audio: How Much Data is That?<\/span> <span class=\"meta-nav\">&rarr;<\/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":[4,17,2],"tags":[],"class_list":["post-3079","post","type-post","status-publish","format-standard","hentry","category-audio","category-math","category-tech"],"_links":{"self":[{"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/posts\/3079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/comments?post=3079"}],"version-history":[{"count":15,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/posts\/3079\/revisions"}],"predecessor-version":[{"id":3095,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/posts\/3079\/revisions\/3095"}],"wp:attachment":[{"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/media?parent=3079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/categories?post=3079"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/tags?post=3079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}