{"id":61220,"date":"2023-10-31T03:30:14","date_gmt":"2023-10-30T19:30:14","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=61220"},"modified":"2023-10-31T03:30:14","modified_gmt":"2023-10-30T19:30:14","slug":"enscyym","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/61220.html","title":{"rendered":"ESP32\u80fd\u8f93\u51fa\u8bed\u97f3\u5417\uff1f"},"content":{"rendered":"

  ESP32\u662f\u4e00\u6b3e\u975e\u5e38\u6d41\u884c\u7684\u7269\u8054\u7f51\u5f00\u53d1\u677f\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u5404\u79cd\u4e0d\u540c\u7684\u7269\u8054\u7f51\u5e94\u7528\uff0c\u5305\u62ec\u81ea\u52a8\u5316\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5b89\u9632\u7b49\u3002\u5b83\u8fd8\u5177\u6709\u4e00\u4e9b\u6709\u8da3\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u80fd\u591f\u8f93\u51fa\u8bed\u97f3\u3002\u672c\u6587\u5c06\u63a2\u8ba8ESP32\u662f\u5426\u80fd\u591f\u8f93\u51fa\u8bed\u97f3\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u8f93\u51fa\u8bed\u97f3\u3002<\/p>\n

ESP32\u80fd\u591f\u8f93\u51fa\u8bed\u97f3\u5417\uff1f<\/h2>\n

  \u7b54\u6848\u662f\u80af\u5b9a\u7684\uff0cESP32\u53ef\u4ee5\u7528\u6765\u8f93\u51fa\u8bed\u97f3\u3002ESP32\u5185\u7f6e\u4e86\u4e00\u4e2a\u97f3\u9891\u7f16\u89e3\u7801\u5668\uff0c\u53ef\u4ee5\u5c06\u97f3\u9891\u6587\u4ef6\u8f6c\u6362\u6210\u6570\u5b57\u4fe1\u53f7\uff0c\u7136\u540e\u901a\u8fc7I2S\u63a5\u53e3\u8f93\u51fa\u3002ESP32\u8fd8\u5177\u6709\u5185\u7f6e\u7684I2S\u6a21\u5757\uff0c\u53ef\u4ee5\u5c06\u6570\u5b57\u97f3\u9891\u4fe1\u53f7\u8f6c\u6362\u4e3a\u6a21\u62df\u4fe1\u53f7\uff0c\u4ece\u800c\u5b9e\u73b0\u8bed\u97f3\u8f93\u51fa\u3002<\/p>\n

\u5982\u4f55\u4f7f\u7528ESP32\u8f93\u51fa\u8bed\u97f3\uff1f<\/h2>\n

  \u4f7f\u7528ESP32\u8f93\u51fa\u8bed\u97f3\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n

  1.\u51c6\u5907\u97f3\u9891\u6587\u4ef6<\/h3>\n

  \u9996\u5148\uff0c\u60a8\u9700\u8981\u51c6\u5907\u4e00\u4e2a\u97f3\u9891\u6587\u4ef6\uff0c\u8be5\u6587\u4ef6\u53ef\u4ee5\u662fMP3\u3001WAV\u6216\u5176\u4ed6\u4efb\u4f55\u683c\u5f0f\u3002\u60a8\u53ef\u4ee5\u5728\u7f51\u4e0a\u4e0b\u8f7d\u97f3\u9891\u6587\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u81ea\u5df1\u5f55\u5236\u7684\u97f3\u9891\u6587\u4ef6\u3002<\/p>\n

  2.\u5c06\u97f3\u9891\u6587\u4ef6\u8f6c\u6362\u4e3a\u6570\u5b57\u4fe1\u53f7<\/h3>\n

  \u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u4f7f\u7528ESP32\u7684\u97f3\u9891\u7f16\u89e3\u7801\u5668\u5c06\u97f3\u9891\u6587\u4ef6\u8f6c\u6362\u4e3a\u6570\u5b57\u4fe1\u53f7\u3002\u8fd9\u4e00\u6b65\u9700\u8981\u4f7f\u7528\u7279\u5b9a\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u4f8b\u5982C\u6216Python\u3002<\/p>\n

  3.\u5c06\u6570\u5b57\u4fe1\u53f7\u8f6c\u6362\u4e3a\u6a21\u62df\u4fe1\u53f7<\/h3>\n

  \u6700\u540e\uff0c\u60a8\u9700\u8981\u4f7f\u7528ESP32\u7684I2S\u6a21\u5757\u5c06\u6570\u5b57\u4fe1\u53f7\u8f6c\u6362\u4e3a\u6a21\u62df\u4fe1\u53f7\uff0c\u4ece\u800c\u5b9e\u73b0\u8bed\u97f3\u8f93\u51fa\u3002\u8fd9\u4e00\u6b65\u4e5f\u9700\u8981\u4f7f\u7528\u7279\u5b9a\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u4f8b\u5982C\u6216Python\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u63a2\u8ba8\u4e86ESP32\u662f\u5426\u80fd\u591f\u8f93\u51fa\u8bed\u97f3\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u8f93\u51fa\u8bed\u97f3\u3002<\/strong>\u7ed3\u8bba\u662f\uff0cESP32\u53ef\u4ee5\u7528\u6765\u8f93\u51fa\u8bed\u97f3\uff0c\u4f7f\u7528ESP32\u8f93\u51fa\u8bed\u97f3\u7684\u6b65\u9aa4\u662f\uff1a1\uff09\u51c6\u5907\u97f3\u9891\u6587\u4ef6\uff1b2\uff09\u5c06\u97f3\u9891\u6587\u4ef6\u8f6c\u6362\u4e3a\u6570\u5b57\u4fe1\u53f7\uff1b3\uff09\u5c06\u6570\u5b57\u4fe1\u53f7\u8f6c\u6362\u4e3a\u6a21\u62df\u4fe1\u53f7\u3002ESP32\u7684\u8bed\u97f3\u8f93\u51fa\u529f\u80fd\u53ef\u4ee5\u4e3a\u7269\u8054\u7f51\u5e94\u7528\u63d0\u4f9b\u65e0\u7ebf\u8bed\u97f3\u8f93\u51fa\u529f\u80fd\uff0c\u4ece\u800c\u6781\u5927\u5730\u63d0\u9ad8\u4e86\u5e94\u7528\u7684\u53ef\u7528\u6027\u548c\u4fbf\u6377\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

ESP32\u662f\u4e00\u6b3e\u975e\u5e38\u6d41\u884c\u7684\u7269\u8054\u7f51\u5f00\u53d1\u677f\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u5404\u79cd\u4e0d\u540c\u7684\u7269\u8054\u7f51\u5e94\u7528\uff0c\u5305\u62ec\u81ea\u52a8\u5316\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5b89\u9632\u7b49\u3002\u5b83\u8fd8\u5177\u6709\u4e00\u4e9b\u6709\u8da3\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u80fd\u591f\u8f93\u51fa\u8bed\u97f3\u3002\u672c\u6587\u5c06\u63a2\u8ba8ESP32\u662f<\/p>\n","protected":false},"author":1,"featured_media":1839,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[305],"class_list":["post-61220","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/61220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=61220"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/61220\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=61220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=61220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=61220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}