{"id":1317,"date":"2023-03-25T10:12:45","date_gmt":"2023-03-25T02:12:45","guid":{"rendered":""},"modified":"2023-03-25T10:12:45","modified_gmt":"2023-03-25T02:12:45","slug":"\u8bed\u97f3\u8bc6\u522b","status":"publish","type":"post","link":"https:\/\/bianchenghao6.com\/1317.html","title":{"rendered":"\u8bed\u97f3\u8bc6\u522b"},"content":{"rendered":"


\n <\/head>
\n <\/p>\n

\n

\u8bed\u97f3\u8bc6\u522b<\/h1>\n

\u8bed\u97f3\u8bc6\u522b\u8be6\u7ec6\u64cd\u4f5c\u6559\u7a0b<\/span>\n <\/div>\n

\n \u5728\u672c\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u5b66\u4e60\u4f7f\u7528AI\u548cPython\u8fdb\u884c\u8bed\u97f3\u8bc6\u522b\u3002\u8a00\u8bed\u662f\u6210\u4eba\u4eba\u9645\u6c9f\u901a\u7684\u6700\u57fa\u672c\u624b\u6bb5\u3002 \u8bed\u97f3\u5904\u7406\u7684\u57fa\u672c\u76ee\u6807\u662f\u63d0\u4f9b\u4eba\u4e0e\u673a\u5668\u4e4b\u95f4\u7684\u4ea4\u4e92\u3002\u8bed\u97f3\u5904\u7406\u7cfb\u7edf\u4e3b\u8981\u6709\u4e09\u9879\u4efb\u52a1 -\n <\/div>\n

\u9996\u5148\uff0c\u8bed\u97f3\u8bc6\u522b\u5141\u8bb8\u673a\u5668\u6355\u6349\u6211\u4eec\u6240\u8bf4\u7684\u5355\u8bcd\uff0c\u77ed\u8bed\u548c\u53e5\u5b50<\/span>
\n \u5176\u6b21\uff0c\u81ea\u7136\u8bed\u8a00\u5904\u7406\u4f7f\u673a\u5668\u80fd\u591f\u7406\u89e3\u6211\u4eec\u6240\u8bf4\u7684\u8bdd<\/span>
\n \u7b2c\u4e09\uff0c\u8bed\u97f3\u5408\u6210\u5141\u8bb8\u673a\u5668\u8bf4\u8bdd\u3002<\/span> <\/p>\n

\n \u672c\u7ae0\u91cd\u70b9\u8bb2\u8ff0\u8bed\u97f3\u8bc6\u522b\uff0c\u7406\u89e3\u4eba\u7c7b\u8bf4\u8bdd\u7684\u8fc7\u7a0b\u3002 \u8bf7\u8bb0\u4f4f\uff0c\u5728\u9ea6\u514b\u98ce\u7684\u5e2e\u52a9\u4e0b\u6355\u6349\u8bed\u97f3\u4fe1\u53f7\uff0c\u7136\u540e\u7cfb\u7edf\u624d\u80fd\u7406\u89e3\u5b83\u3002\n <\/div>\n

\u6784\u5efa\u8bed\u97f3\u8bc6\u522b\u5668<\/h2>\n
\n \u8bed\u97f3\u8bc6\u522b\u6216\u81ea\u52a8\u8bed\u97f3\u8bc6\u522b(ASR)\u662fAI\u673a\u5668\u4eba\u7b49AI\u9879\u76ee\u7684\u5173\u6ce8\u7126\u70b9\u3002 \u6ca1\u6709ASR\uff0c\u5c31\u4e0d\u53ef\u80fd\u60f3\u8c61\u4e00\u4e2a\u8ba4\u77e5\u673a\u5668\u4eba\u4e0e\u4eba\u8fdb\u884c\u4ea4\u4e92\u3002 \u4f46\u662f\uff0c\u6784\u5efa\u8bed\u97f3\u8bc6\u522b\u5668\u5e76\u4e0d\u5bb9\u6613\u3002\n <\/div>\n
\n \u5f00\u53d1\u8bed\u97f3\u8bc6\u522b\u7cfb\u7edf\u7684\u56f0\u96be<\/strong>\u5f00\u53d1\u9ad8\u8d28\u91cf\u7684\u8bed\u97f3\u8bc6\u522b\u7cfb\u7edf\u786e\u5b9e\u662f\u4e00\u4e2a\u96be\u9898\u3002 \u8bed\u97f3\u8bc6\u522b\u6280\u672f\u7684\u56f0\u96be\u53ef\u4ee5\u5e7f\u6cdb\u5730\u8868\u5f81\u4e3a\u5982\u4e0b\u6240\u8ba8\u8bba\u7684\u8bb8\u591a\u7ef4\u5ea6 -\n <\/div>\n

\u8bcd\u6c47\u5927\u5c0f<\/strong> - \u8bcd\u6c47\u5927\u5c0f\u5f71\u54cd\u5f00\u53d1ASR\u7684\u96be\u6613\u7a0b\u5ea6\u3002\u8003\u8651\u4ee5\u4e0b\u8bcd\u6c47\u91cf\u4ee5\u4fbf\u66f4\u597d\u5730\u7406\u89e3\u3002 \u4f8b\u5982\uff0c\u5728\u4e00\u4e2a\u8bed\u97f3\u83dc\u5355\u7cfb\u7edf\u4e2d\uff0c\u4e00\u4e2a\u5c0f\u8bcd\u6c47\u75312\u5230100\u4e2a\u5355\u8bcd\u7ec4\u6210<\/span> \u4f8b\u5982\uff0c\u5728\u6570\u636e\u5e93\u68c0\u7d22\u4efb\u52a1\u4e2d\uff0c\u4e2d\u7b49\u5927\u5c0f\u7684\u8bcd\u6c47\u5305\u542b\u51e0\u4e2a100\u52301000\u4e2a\u5355\u8bcd<\/span> \u4e00\u4e2a\u5927\u7684\u8bcd\u6c47\u7531\u51e0\u4e07\u4e2a\u5355\u8bcd\u7ec4\u6210\uff0c\u5982\u5728\u4e00\u822c\u7684\u542c\u5199\u4efb\u52a1\u4e2d\u3002<\/span> <\/span>
\n \u4fe1\u9053\u7279\u6027<\/strong> - \u4fe1\u9053\u8d28\u91cf\u4e5f\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u7ef4\u5ea6\u3002 \u4f8b\u5982\uff0c\u4eba\u7c7b\u8bed\u97f3\u5305\u542b\u5168\u9891\u7387\u8303\u56f4\u7684\u9ad8\u5e26\u5bbd\uff0c\u800c\u7535\u8bdd\u8bed\u97f3\u5305\u542b\u9891\u7387\u8303\u56f4\u6709\u9650\u7684\u4f4e\u5e26\u5bbd\u3002 \u8bf7\u6ce8\u610f\uff0c\u540e\u8005\u66f4\u96be\u3002<\/span>
\n <\/p>\n

\n \u8bf4\u8bdd\u6a21\u5f0f<\/strong> - \u8f7b\u677e\u5f00\u53d1ASR\u8fd8\u53d6\u51b3\u4e8e\u8bf4\u8bdd\u6a21\u5f0f\uff0c\u5373\u8bed\u97f3\u662f\u5904\u4e8e\u5b64\u7acb\u8bcd\u6a21\u5f0f\u8fd8\u662f\u8fde\u63a5\u8bcd\u6a21\u5f0f\uff0c\u8fd8\u662f\u5904\u4e8e\u8fde\u7eed\u8bed\u97f3\u6a21\u5f0f\u3002 \u8bf7\u6ce8\u610f\uff0c\u8fde\u7eed\u8bf4\u8bdd\u5f88\u96be\u8fa8\u8ba4\u3002\n <\/div>\n

<\/span>
\n <\/p>\n

\n \u53e3\u8bed\u98ce\u683c<\/strong> - \u9605\u8bfb\u8bf4\u8bdd\u53ef\u4ee5\u91c7\u7528\u6b63\u5f0f\u98ce\u683c\uff0c\u4e5f\u53ef\u4ee5\u91c7\u7528\u81ea\u53d1\u98ce\u683c\u548c\u5bf9\u8bdd\u98ce\u683c\u3002 \u540e\u8005\u66f4\u96be\u4ee5\u8bc6\u522b\u3002\n <\/div>\n

<\/span>
\n \u626c\u58f0\u5668\u4f9d\u8d56\u6027<\/strong> - \u8bed\u97f3\u53ef\u4ee5\u4f9d\u8d56\u626c\u58f0\u5668\uff0c\u626c\u58f0\u5668\u81ea\u9002\u5e94\u6216\u626c\u58f0\u5668\u72ec\u7acb\u3002 \u72ec\u7acb\u53d1\u8a00\u4eba\u662f\u6700\u96be\u5efa\u7acb\u7684\u3002<\/span>
\n \u566a\u97f3\u7c7b\u578b<\/strong> - \u566a\u97f3\u662f\u5f00\u53d1ASR\u65f6\u9700\u8981\u8003\u8651\u7684\u53e6\u4e00\u4e2a\u56e0\u7d20\u3002 \u4fe1\u566a\u6bd4\u53ef\u4ee5\u5728\u5404\u79cd\u8303\u56f4\u5185\uff0c\u8fd9\u53d6\u51b3\u4e8e\u89c2\u5bdf\u8f83\u5c11\u7684\u58f0\u5b66\u73af\u5883\u4e0e\u8f83\u591a\u7684\u80cc\u666f\u566a\u58f0 - \u5982\u679c\u4fe1\u566a\u6bd4\u5927\u4e8e30dB\uff0c\u5219\u8ba4\u4e3a\u662f\u9ad8\u8303\u56f4<\/span> \u5982\u679c\u4fe1\u566a\u6bd4\u572830dB\u523010db\u4e4b\u95f4\uff0c\u5219\u8ba4\u4e3a\u662f\u4e2d\u7b49\u4fe1\u566a\u6bd4<\/span> \u5982\u679c\u4fe1\u566a\u6bd4\u5c0f\u4e8e10dB\uff0c\u5219\u8ba4\u4e3a\u662f\u4f4e\u8303\u56f4<\/span> <\/span>
\n \u9ea6\u514b\u98ce\u7279\u6027<\/strong> - \u9ea6\u514b\u98ce\u7684\u8d28\u91cf\u53ef\u80fd\u5f88\u597d\uff0c\u5e73\u5747\u6c34\u5e73\u6216\u4f4e\u4e8e\u5e73\u5747\u6c34\u5e73\u3002 \u6b64\u5916\uff0c\u5634\u548c\u5fae\u578b\u7535\u8bdd\u4e4b\u95f4\u7684\u8ddd\u79bb\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\u3002 \u8bc6\u522b\u7cfb\u7edf\u4e5f\u5e94\u8003\u8651\u8fd9\u4e9b\u56e0\u7d20\u3002<\/span> <\/p>\n

\n \u5c3d\u7ba1\u5b58\u5728\u8fd9\u4e9b\u56f0\u96be\uff0c\u7814\u7a76\u4eba\u5458\u5728\u8bed\u97f3\u7684\u5404\u4e2a\u65b9\u9762\u505a\u4e86\u5f88\u591a\u5de5\u4f5c\uff0c\u4f8b\u5982\u7406\u89e3\u8bed\u97f3\u4fe1\u53f7\uff0c\u8bf4\u8bdd\u4eba\u4ee5\u53ca\u8bc6\u522b\u53e3\u97f3\u3002\n <\/div>\n
\n \u6240\u4ee5\uff0c\u9700\u8981\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u6784\u5efa\u8bed\u97f3\u8bc6\u522b\u5668 -\n <\/div>\n

\u53ef\u89c6\u5316\u97f3\u9891\u4fe1\u53f7 - \u4ece\u6587\u4ef6\u8bfb\u53d6\u5e76\u8fdb\u884c\u5904\u7406<\/h2>\n
\n \u8fd9\u662f\u6784\u5efa\u8bed\u97f3\u8bc6\u522b\u7cfb\u7edf\u7684\u7b2c\u4e00\u6b65\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u7406\u89e3\u97f3\u9891\u4fe1\u53f7\u7684\u7ed3\u6784\u3002 \u5904\u7406\u97f3\u9891\u4fe1\u53f7\u53ef\u9075\u5faa\u7684\u4e00\u4e9b\u5e38\u89c1\u6b65\u9aa4\u5982\u4e0b\u6240\u793a -\n <\/div>\n
\n \u8bb0\u5f55<\/strong>\u5f53\u5fc5\u987b\u4ece\u6587\u4ef6\u4e2d\u8bfb\u53d6\u97f3\u9891\u4fe1\u53f7\u65f6\uff0c\u9996\u5148\u4f7f\u7528\u9ea6\u514b\u98ce\u5f55\u5236\u3002\n <\/div>\n
\n \u91c7\u6837<\/strong>\u7528\u9ea6\u514b\u98ce\u5f55\u97f3\u65f6\uff0c\u4fe1\u53f7\u4ee5\u6570\u5b57\u5f62\u5f0f\u5b58\u50a8\u3002 \u4f46\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u673a\u5668\u9700\u8981\u4f7f\u7528\u79bb\u6563\u6570\u5b57\u5f62\u5f0f\u3002 \u56e0\u6b64\uff0c\u6211\u4eec\u5e94\u8be5\u4ee5\u67d0\u4e2a\u9891\u7387\u8fdb\u884c\u91c7\u6837\uff0c\u5e76\u5c06\u4fe1\u53f7\u8f6c\u6362\u4e3a\u79bb\u6563\u6570\u5b57\u5f62\u5f0f\u3002 \u9009\u62e9\u9ad8\u9891\u91c7\u6837\u610f\u5473\u7740\u5f53\u4eba\u7c7b\u542c\u5230\u4fe1\u53f7\u65f6\uff0c\u4ed6\u4eec\u4f1a\u611f\u89c9\u5b83\u662f\u4e00\u4e2a\u8fde\u7eed\u7684\u97f3\u9891\u4fe1\u53f7\u3002\n <\/div>\n
\n \u793a\u4f8b<\/strong>\n <\/div>\n
\n \u4ee5\u4e0b\u793a\u4f8b\u663e\u793a\u4e86\u4f7f\u7528Python\u5b58\u50a8\u5728\u6587\u4ef6\u4e2d\u7684\u9010\u6b65\u5206\u6790\u97f3\u9891\u4fe1\u53f7\u7684\u65b9\u6cd5\u3002 \u8fd9\u4e2a\u97f3\u9891\u4fe1\u53f7\u7684\u9891\u7387\u662f44,100HZ\u3002\n <\/div>\n
\n \u4e0b\u9762\u5bfc\u5165\u5fc5\u8981\u7684\u8f6f\u4ef6\u5305 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
import <\/span>numpy as <\/span>np
import <\/span>matplotlib.pyplot as <\/span>plt
from <\/span>scipy.io import <\/span>wavfile
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u8bfb\u53d6\u5b58\u50a8\u7684\u97f3\u9891\u6587\u4ef6\u3002 \u5b83\u4f1a\u8fd4\u56de\u4e24\u4e2a\u503c:\u91c7\u6837\u9891\u7387\u548c\u97f3\u9891\u4fe1\u53f7\u3002 \u63d0\u4f9b\u5b58\u50a8\u97f3\u9891\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u5982\u4e0b\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
frequency_sampling, audio_signal = wavfile.read<\/span>(\"\/Users\/admin\/audio_file.wav\"<\/span>)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u4f7f\u7528\u663e\u793a\u7684\u547d\u4ee4\u663e\u793a\u97f3\u9891\u4fe1\u53f7\u7684\u91c7\u6837\u9891\u7387\uff0c\u4fe1\u53f7\u7684\u6570\u636e\u7c7b\u578b\u53ca\u5176\u6301\u7eed\u65f6\u95f4\u7b49\u53c2\u6570 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
print('\\nSignal shape:'<\/span>, audio_signal.shape)
print('Signal Datatype:'<\/span>, audio_signal.dtype)
print('Signal duration:'<\/span>, round(audio_signal.shape[0] \/
float(frequency_sampling), 2), 'seconds'<\/span>)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u8fd9\u4e00\u6b65\u6d89\u53ca\u5982\u4e0b\u6240\u793a\u5bf9\u4fe1\u53f7\u8fdb\u884c\u6807\u51c6\u5316 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
audio_signal = audio_signal \/ np.power<\/span>(2, 15)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u5728\u8fd9\u4e00\u6b65\u4e2d\uff0c\u4ece\u8fd9\u4e2a\u4fe1\u53f7\u4e2d\u63d0\u53d6\u51fa\u524d100\u4e2a\u503c\u8fdb\u884c\u53ef\u89c6\u5316\u3002 \u4e3a\u6b64\u76ee\u7684\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
audio_signal = audio_signal [:100]
time_axis <\/span>= 1000 * np.arange<\/span>(0, len(signal), 1) \/ float(frequency_sampling)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u4f7f\u7528\u4e0b\u9762\u7ed9\u51fa\u7684\u547d\u4ee4\u53ef\u89c6\u5316\u4fe1\u53f7 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
plt.plot<\/span>(time_axis, signal, color='blue'<\/span>)
plt.xlabel<\/span>('Time (milliseconds)'<\/span>)
plt.ylabel<\/span>('Amplitude'<\/span>)
plt.title<\/span>('Input audio signal'<\/span>)
plt.show<\/span>()
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u4e0b\u9762\u8f93\u51fa\u56fe\u5f62\u662f\u4e0a\u8ff0\u97f3\u9891\u4fe1\u53f7\u63d0\u53d6\u7684\u6570\u636e\uff0c\u5982\u56fe\u6240\u793a -\n <\/div>\n
\n \u8bed\u97f3\u8bc6\u522b_https:\/\/bianchenghao6.com_\u3010\u4eba\u5de5\u667a\u80fd\u6559\u7a0b\u3011_\u7b2c1\u5f20\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
Signal shape: (132300,)
Signal Datatype: int16
Signal duration: 3.0 seconds
<\/span><\/code><\/pre>\n<\/p><\/div>\n

\u8868\u5f81\u97f3\u9891\u4fe1\u53f7:\u8f6c\u6362\u5230\u9891\u57df<\/h2>\n
\n \u8868\u5f81\u97f3\u9891\u4fe1\u53f7\u6d89\u53ca\u5c06\u65f6\u57df\u4fe1\u53f7\u8f6c\u6362\u4e3a\u9891\u57df\uff0c\u5e76\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u7406\u89e3\u5176\u9891\u7387\u5206\u91cf\u3002 \u8fd9\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u6b65\u9aa4\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u5173\u4e8e\u4fe1\u53f7\u7684\u5927\u91cf\u4fe1\u606f\u3002 \u53ef\u4ee5\u4f7f\u7528\u50cf\u5085\u7acb\u53f6\u53d8\u6362\u8fd9\u6837\u7684\u6570\u5b66\u5de5\u5177\u6765\u6267\u884c\u6b64\u8f6c\u6362\u3002\n <\/div>\n
\n \u793a\u4f8b<\/strong>\n <\/div>\n
\n \u4ee5\u4e0b\u793a\u4f8b\u5c06\u9010\u6b65\u8bf4\u660e\u5982\u4f55\u4f7f\u7528\u5b58\u50a8\u5728\u6587\u4ef6\u4e2d\u7684Python\u6765\u8868\u5f81\u4fe1\u53f7\u3002 \u8bf7\u6ce8\u610f\uff0c\u8fd9\u91cc\u4f7f\u7528\u5085\u91cc\u53f6\u53d8\u6362\u6570\u5b66\u5de5\u5177\u5c06\u5176\u8f6c\u6362\u4e3a\u9891\u57df\u3002\n <\/div>\n
\n \u5bfc\u5165\u5fc5\u8981\u7684\u8f6f\u4ef6\u5305\uff0c\u5982\u4e0b\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
import <\/span>numpy as <\/span>np
import <\/span>matplotlib.pyplot as <\/span>plt
from <\/span>scipy.io import <\/span>wavfile
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u8bfb\u53d6\u5b58\u50a8\u7684\u97f3\u9891\u6587\u4ef6\u3002 \u5b83\u4f1a\u8fd4\u56de\u4e24\u4e2a\u503c:\u91c7\u6837\u9891\u7387\u548c\u97f3\u9891\u4fe1\u53f7\u3002 \u63d0\u4f9b\u5b58\u50a8\u97f3\u9891\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u5982\u547d\u4ee4\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
frequency_sampling, audio_signal = wavfile.read<\/span>(\"\/Users\/admin\/sample.wav\"<\/span>)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u5728\u8fd9\u4e00\u6b65\u4e2d\uff0c\u5c06\u4f7f\u7528\u4e0b\u9762\u7ed9\u51fa\u7684\u547d\u4ee4\u663e\u793a\u97f3\u9891\u4fe1\u53f7\u7684\u91c7\u6837\u9891\u7387\uff0c\u4fe1\u53f7\u7684\u6570\u636e\u7c7b\u578b\u548c\u6301\u7eed\u65f6\u95f4\u7b49\u53c2\u6570 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
print('\\nSignal shape:'<\/span>, audio_signal.shape)
print('Signal Datatype:'<\/span>, audio_signal.dtype)
print('Signal duration:'<\/span>, round(audio_signal.shape[0] \/
float(frequency_sampling), 2), 'seconds'<\/span>)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u5728\u8fd9\u4e00\u6b65\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u5bf9\u4fe1\u53f7\u8fdb\u884c\u6807\u51c6\u5316\uff0c\u5982\u4e0b\u9762\u7684\u547d\u4ee4\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
audio_signal = audio_signal \/ np.power<\/span>(2, 15)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u8fd9\u4e00\u6b65\u6d89\u53ca\u63d0\u53d6\u4fe1\u53f7\u7684\u957f\u5ea6\u548c\u534a\u957f\u3002\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
length_signal = len(audio_signal)
half_length = np.ceil<\/span>((length_signal + 1) \/ 2.0).astype<\/span>(np.int)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u9700\u8981\u5e94\u7528\u6570\u5b66\u5de5\u5177\u6765\u8f6c\u6362\u5230\u9891\u57df\u3002 \u8fd9\u91cc\u4f7f\u7528\u5085\u91cc\u53f6\u53d8\u6362\u3002\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
signal_frequency = np.fft.fft<\/span>(audio_signal)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u8fdb\u884c\u9891\u57df\u4fe1\u53f7\u7684\u5f52\u4e00\u5316\u5e76\u5c06\u5176\u5e73\u65b9 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
signal_frequency = abs(signal_frequency[0:half_length]) \/ length_signal
signal_frequency **= 2
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u63a5\u4e0b\u6765\uff0c\u63d0\u53d6\u9891\u7387\u53d8\u6362\u4fe1\u53f7\u7684\u957f\u5ea6\u548c\u4e00\u534a\u957f\u5ea6 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
len_fts = len(signal_frequency)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u8bf7\u6ce8\u610f\uff0c\u5085\u91cc\u53f6\u53d8\u6362\u4fe1\u53f7\u5fc5\u987b\u9488\u5bf9\u5947\u5076\u60c5\u51b5\u8fdb\u884c\u8c03\u6574\u3002\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
if <\/span>length_signal % 2:
   signal_frequency[1:len_fts] *= 2
else:<\/span>
   signal_frequency[1:len_fts-1] *= 2
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u4ee5\u5206\u8d1d(dB)\u4e3a\u5355\u4f4d\u63d0\u53d6\u529f\u7387 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
signal_power = 10 * np.log10<\/span>(signal_frequency)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u8c03\u6574X\u8f74\u7684\u4ee5kHz\u4e3a\u5355\u4f4d\u7684\u9891\u7387 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
x_axis <\/span>= np.arange<\/span>(0, len_half, 1) * (frequency_sampling \/ length_signal) \/ 1000.0
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u5c06\u4fe1\u53f7\u7684\u7279\u5f81\u53ef\u89c6\u5316\u5982\u4e0b -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
plt.figure<\/span>()
plt.plot<\/span>(x_axis, signal_power, color='black'<\/span>)
plt.xlabel<\/span>('Frequency (kHz)'<\/span>)
plt.ylabel<\/span>('Signal power (dB)'<\/span>)
plt.show<\/span>()
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u53ef\u4ee5\u89c2\u5bdf\u4e0a\u9762\u4ee3\u7801\u7684\u8f93\u51fa\u56fe\u5f62\uff0c\u5982\u4e0b\u56fe\u6240\u793a -\n <\/div>\n
\n \u8bed\u97f3\u8bc6\u522b_https:\/\/bianchenghao6.com_\u3010\u4eba\u5de5\u667a\u80fd\u6559\u7a0b\u3011_\u7b2c2\u5f20\n <\/div>\n

\u751f\u6210\u5355\u8c03\u97f3\u9891\u4fe1\u53f7<\/h2>\n
\n \u5230\u76ee\u524d\u4e3a\u6b62\u4f60\u6240\u770b\u5230\u7684\u4e24\u4e2a\u6b65\u9aa4\u5bf9\u4e8e\u4e86\u89e3\u4fe1\u53f7\u5f88\u91cd\u8981\u3002 \u73b0\u5728\uff0c\u5982\u679c\u8981\u4f7f\u7528\u67d0\u4e9b\u9884\u5b9a\u4e49\u53c2\u6570\u751f\u6210\u97f3\u9891\u4fe1\u53f7\uff0c\u6b64\u6b65\u9aa4\u5c06\u5f88\u6709\u7528\u3002 \u8bf7\u6ce8\u610f\uff0c\u6b64\u6b65\u9aa4\u4f1a\u5c06\u97f3\u9891\u4fe1\u53f7\u4fdd\u5b58\u5728\u8f93\u51fa\u6587\u4ef6\u4e2d\u3002\n <\/div>\n
\n \u793a\u4f8b<\/strong>\n <\/div>\n
\n \u5728\u4e0b\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5c06\u4f7f\u7528Python\u751f\u6210\u4e00\u4e2a\u5355\u8c03\u4fe1\u53f7\uff0c\u5b83\u5c06\u88ab\u5b58\u50a8\u5728\u4e00\u4e2a\u6587\u4ef6\u4e2d\u3002\u9700\u8981\u91c7\u53d6\u4ee5\u4e0b\u6b65\u9aa4 -\n <\/div>\n
\n \u5bfc\u5165\u5fc5\u8981\u7684\u8f6f\u4ef6\u5305 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
import <\/span>numpy as <\/span>np
import <\/span>matplotlib.pyplot as <\/span>plt
from <\/span>scipy.io.wavfile import <\/span>write
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u6307\u5b9a\u8f93\u51fa\u4fdd\u5b58\u7684\u6587\u4ef6 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
output_file = 'audio_signal_generated.wav'<\/span>
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u6307\u5b9a\u9009\u62e9\u7684\u53c2\u6570\uff0c\u5982\u56fe\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
duration = 4 # in <\/span>seconds
<\/span> frequency_sampling = 44100 # in <\/span>Hz
<\/span> frequency_tone = 784
min_val = -4 * np.pi
max_val = 4 * np.pi
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u5728\u8fd9\u4e00\u6b65\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u751f\u6210\u97f3\u9891\u4fe1\u53f7\uff0c\u5982\u4e0b\u4ee3\u7801\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
t = np.linspace<\/span>(min_val, max_val, duration * frequency_sampling)
audio_signal = np.sin<\/span>(2 * np.pi * tone_freq * t)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u5c06\u97f3\u9891\u6587\u4ef6\u4fdd\u5b58\u5728\u8f93\u51fa\u6587\u4ef6\u4e2d -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
write(output_file, frequency_sampling, signal_scaled)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u5982\u56fe\u6240\u793a\uff0c\u63d0\u53d6\u56fe\u5f62\u7684\u524d100\u4e2a\u503c -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
audio_signal = audio_signal[:100]
time_axis <\/span>= 1000 * np.arange<\/span>(0, len(signal), 1) \/ float(sampling_freq)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u5c06\u751f\u6210\u7684\u97f3\u9891\u4fe1\u53f7\u53ef\u89c6\u5316\u5982\u4e0b -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
plt.plot<\/span>(time_axis, signal, color='blue'<\/span>)
plt.xlabel<\/span>('Time in <\/span>milliseconds'<\/span>)
plt.ylabel<\/span>('Amplitude'<\/span>)
plt.title<\/span>('Generated audio signal'<\/span>)
plt.show<\/span>()
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u53ef\u4ee5\u89c2\u5bdf\u8fd9\u91cc\u7ed9\u51fa\u7684\u56fe\u5f62 -\n <\/div>\n
\n \u8bed\u97f3\u8bc6\u522b_https:\/\/bianchenghao6.com_\u3010\u4eba\u5de5\u667a\u80fd\u6559\u7a0b\u3011_\u7b2c3\u5f20\n <\/div>\n

\u8bed\u97f3\u7279\u5f81\u63d0\u53d6<\/h2>\n
\n \u8fd9\u662f\u6784\u5efa\u8bed\u97f3\u8bc6\u522b\u5668\u7684\u6700\u91cd\u8981\u6b65\u9aa4\uff0c\u56e0\u4e3a\u5728\u5c06\u8bed\u97f3\u4fe1\u53f7\u8f6c\u6362\u4e3a\u9891\u57df\u540e\uff0c\u6211\u4eec\u5fc5\u987b\u5c06\u5176\u8f6c\u6362\u4e3a\u53ef\u7528\u7684\u7279\u5f81\u5411\u91cf\u5f62\u5f0f\u3002 \u53ef\u4ee5\u4e3a\u6b64\u4f7f\u7528\u4e0d\u540c\u7684\u7279\u5f81\u63d0\u53d6\u6280\u672f\uff0c\u5982MFCC\uff0cPLP\uff0cPLP-RASTA\u7b49\u3002\n <\/div>\n
\n \u793a\u4f8b<\/strong>\n <\/div>\n
\n \u5728\u4ee5\u4e0b\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5c06\u4f7f\u7528MFCC\u6280\u672f\u9010\u6b65\u4f7f\u7528Python\u4ece\u4fe1\u53f7\u4e2d\u63d0\u53d6\u7279\u5f81\u3002\n <\/div>\n
\n \u5bfc\u5165\u5fc5\u8981\u7684\u8f6f\u4ef6\u5305\uff0c\u5982\u4e0b\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
import <\/span>numpy as <\/span>np
import <\/span>matplotlib.pyplot as <\/span>plt
from <\/span>scipy.io import <\/span>wavfile
from <\/span>python_speech_features import <\/span>mfcc, logfbank
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u8bfb\u53d6\u5b58\u50a8\u7684\u97f3\u9891\u6587\u4ef6\u3002 \u5b83\u4f1a\u8fd4\u56de\u4e24\u4e2a\u503c - \u91c7\u6837\u9891\u7387\u548c\u97f3\u9891\u4fe1\u53f7\u3002 \u63d0\u4f9b\u5b58\u50a8\u97f3\u9891\u6587\u4ef6\u7684\u8def\u5f84\u3002\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
frequency_sampling, audio_signal = wavfile.read<\/span>(\"\/Users\/admin\/audio_file.wav\"<\/span>)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u8bf7\u6ce8\u610f\uff0c\u5728\u6b64\u9996\u5148\u62bd\u53d615000\u4e2a\u6837\u672c\u8fdb\u884c\u5206\u6790\u3002\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
audio_signal = audio_signal[:15000]
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u4f7f\u7528MFCC\u6280\u672f\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u63d0\u53d6MFCC\u7279\u5f81 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
features_mfcc = mfcc(audio_signal, frequency_sampling)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u6253\u5370MFCC\u53c2\u6570\uff0c\u5982\u4e0b\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
print('\\nMFCC:\\nNumber of windows ='<\/span>, features_mfcc.shape[0])
print('Length of each feature ='<\/span>, features_mfcc.shape[1])
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u4f7f\u7528\u4e0b\u9762\u7ed9\u51fa\u7684\u547d\u4ee4\u7ed8\u5236\u5e76\u53ef\u89c6\u5316MFCC\u7279\u5f81 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
features_mfcc = features_mfcc.T
plt.matshow<\/span>(features_mfcc)
plt.title<\/span>('MFCC'<\/span>)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u5728\u8fd9\u4e00\u6b65\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u5982\u4e0b\u6ee4\u5668\u7ec4\u7279\u5f81\uff0c\u63d0\u53d6\u8fc7\u6ee4\u5668\u7ec4\u7279\u5f81 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
filterbank_features = logfbank(audio_signal, frequency_sampling)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0c\u6253\u5370\u8fc7\u6ee4\u5668\u7ec4\u53c2\u6570\u3002\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
print('\\nFilter bank:\\nNumber of windows ='<\/span>, filterbank_features.shape[0])
print('Length of each feature ='<\/span>, filterbank_features.shape[1])
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u7ed8\u5236\u5e76\u53ef\u89c6\u5316\u8fc7\u6ee4\u5668\u7ec4\u7279\u5f81\u3002\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
filterbank_features = filterbank_features.T
plt.matshow<\/span>(filterbank_features)
plt.title<\/span>('Filter bank'<\/span>)
plt.show<\/span>()
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u6839\u636e\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u89c2\u5bdf\u5230\u4ee5\u4e0b\u8f93\u51fa:\u56fe1\u4e3aMFCC\uff0c\u56fe2\u4e3a\u8fc7\u6ee4\u5668\u7ec4\u3002\n <\/div>\n
\n \u8bed\u97f3\u8bc6\u522b_https:\/\/bianchenghao6.com_\u3010\u4eba\u5de5\u667a\u80fd\u6559\u7a0b\u3011_\u7b2c4\u5f20\n <\/div>\n
\n \u8bed\u97f3\u8bc6\u522b_https:\/\/bianchenghao6.com_\u3010\u4eba\u5de5\u667a\u80fd\u6559\u7a0b\u3011_\u7b2c5\u5f20\n <\/div>\n

<\/span>\u53e3\u8bed\u8bcd\u7684\u8bc6\u522b<\/h2>\n
\n \u8bed\u97f3\u8bc6\u522b\u610f\u5473\u7740\u5f53\u4eba\u4eec\u8bf4\u8bdd\u65f6\uff0c\u673a\u5668\u5c31\u4f1a\u7406\u89e3\u5b83\u3002 \u8fd9\u91cc\u4f7f\u7528Python\u4e2d\u7684Google Speech API\u6765\u5b9e\u73b0\u5b83\u3002 \u9700\u8981\u4e3a\u6b64\u5b89\u88c5\u4ee5\u4e0b\u8f6f\u4ef6\u5305 -\n <\/div>\n

Pyaudio - \u5b83\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528pip\u5b89\u88c5Pyaudio\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\u3002<\/span>
\n SpeechRecognition - \u8fd9\u4e2a\u8f6f\u4ef6\u5305\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528pip install SpeechRecognition\u8fdb\u884c\u5b89\u88c5\u3002<\/span>
\n Google-Speech-API - \u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4pip install google-api-python-client\u8fdb\u884c\u5b89\u88c5\u3002<\/span> <\/p>\n

\n \u5b9e\u4f8b<\/strong>\n <\/div>\n
\n \u89c2\u5bdf\u4e0b\u9762\u7684\u4f8b\u5b50\u6765\u7406\u89e3\u53e3\u8bed\u7684\u8bc6\u522b\u3002\u5982\u4e0b\u6240\u793a\u5bfc\u5165\u5fc5\u8981\u7684\u8f6f\u4ef6\u5305 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
import <\/span>speech_recognition as <\/span>sr
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u521b\u5efa\u4e00\u4e2a\u5bf9\u8c61\uff0c\u5982\u4e0b\u6240\u793a -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
recording = sr.Recognizer<\/span>()
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\uff0cMicrophone()\u6a21\u5757\u5c06\u628a\u8bed\u97f3\u4f5c\u4e3a\u8f93\u5165 -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
with <\/span>sr.Microphone<\/span>() as <\/span>source: recording.adjust_for_ambient_noise<\/span>(source)
   print(\"Please Say something:\"<\/span>)
   audio = recording.listen<\/span>(source)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u73b0\u5728\u8c37\u6b4cAPI\u4f1a\u8bc6\u522b\u8bed\u97f3\u5e76\u63d0\u4f9b\u8f93\u51fa\u3002\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
try:
   print(\"You said: \\n\"<\/span> + recording.recognize_google<\/span>(audio))
except <\/span>Exception as <\/span>e:
   print(e)
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u53ef\u4ee5\u770b\u5230\u4e0b\u9762\u7684\u8f93\u51fa -\n <\/div>\n
\n
 # Filename : example.py<\/span>
# Copyright : 2020 By Lidihuo<\/span>
# Author by : www.lidihuo.com<\/span>
# Date : 2020-08-26<\/span>
Please Say Something:
You said:
<\/span><\/code><\/pre>\n<\/p><\/div>\n
\n \u4f8b\u5982\uff0c\u5982\u679c\u60a8\u8bf4hello lidihuo\uff0c\u90a3\u4e48\u7cfb\u7edf\u4f1a\u5982\u4e0b\u6b63\u786e\u8bc6\u522b\u5b83 -\n <\/div>\n
\n
 hello lidihuo
<\/span><\/code><\/pre>\n<\/p><\/div>\n

<\/body>
\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"\u8bed\u97f3\u8bc6\u522bzh-cn","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[137],"tags":[],"class_list":["post-1317","post","type-post","status-publish","format-standard","hentry","category-rgznjc1"],"_links":{"self":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/1317"}],"collection":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/comments?post=1317"}],"version-history":[{"count":0,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/1317\/revisions"}],"wp:attachment":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/media?parent=1317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/categories?post=1317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/tags?post=1317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}