{"id":10006903,"date":"2022-11-23T17:53:56","date_gmt":"2022-11-23T09:53:56","guid":{"rendered":"https:\/\/ityet.com\/?p=10006903"},"modified":"2022-11-23T17:53:56","modified_gmt":"2022-11-23T09:53:56","slug":"ai%e8%b5%8b%e8%83%bd%e9%9f%b3%e4%b9%90%e5%88%9b%e4%bd%9c%ef%bc%8c%e4%ba%ba%e4%ba%ba%e9%83%bd%e6%98%af%e9%9f%b3%e8%a7%86%e9%a2%91%e5%88%9b%e4%bd%9c%e8%80%85","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006903","title":{"rendered":"AI\u8d4b\u80fd\u97f3\u4e50\u521b\u4f5c\uff0c\u4eba\u4eba\u90fd\u662f\u97f3\u89c6\u9891\u521b\u4f5c\u8005"},"content":{"rendered":"<p>\u534e\u4e3aHMS Core<a href=\"https:\/\/link.segmentfault.com\/?enc=%2FWABRtsPG98COEvESpyfqQ%3D%3D.q%2FfneZ4Rc3v0OC%2Fdcq8KLGEaC3EpeRbAf5ZwE7eKQqpcE04uTa6%2BI%2Ff%2BtOKiMYGf7cF6iDcUaugtm%2FzGPzOEF94CraTnQYC8qEgon61hkc2Dio0r5JBgQsf10AyhAvi6\" rel=\"nofollow\">\u97f3\u9891\u7f16\u8f91\u670d\u52a1<\/a>\uff08Audio Editor Kit\uff09\u4f9d\u6258\u81ea\u8eabAI\u6280\u672f\u7684\u7814\u53d1\u4f18\u52bf\uff0c\u4e0a\u7ebf\u5168\u65b0\u7684\u6b4c\u58f0\u5408\u6210\u97f3\u8272\u53ca\u4f34\u594f\uff0c\u7ed9\u97f3\u89c6\u9891\u521b\u4f5c\u8005\u63d0\u4f9b\u66f4\u591a\u7684\u521b\u4f5c\u53ef\u80fd\u3002\u5728\u77ed\u89c6\u9891\u573a\u666f\u4e2d\uff0c\u7528\u6237\u81ea\u5b9a\u4e49\u6b4c\u8bcd\u7684\u6b4c\u58f0\u7ed3\u5408\u89c6\u9891\u8ba9\u7528\u6237\u611f\u53d7\u5230\u8eab\u4e34\u5176\u5883\uff0c\u81ea\u7531\u8868\u8fbe\u81ea\u5df1\u7684\u60c5\u7eea\uff1b\u5728\u865a\u62df\u5076\u50cf\u573a\u666f\u4e2d\uff0c\u6b4c\u58f0\u5408\u6210\u529f\u80fd\u8d4b\u4e88\u865a\u62df\u6b4c\u624b\u4eec\u6f14\u5531\u98ce\u683c\u5404\u5f02\u7684\u6b4c\u66f2\uff0c\u5e26\u6765\u521b\u610f\u65e0\u9650\u3002<\/p>\n<p>HMS Core<a href=\"https:\/\/link.segmentfault.com\/?enc=yvit96T3cra09zhAos%2BuEw%3D%3D.BJzwbKTeHKCsT%2FxOysDCY7mCy81Ctqcm8xKHgHqgYUl74tEwMht6y3uLq75HxMKyb9v9osBSLkPEox3ixexw6J82jnM1GgoI6Y0VvV52xSc1gMM2da60PPihshuv7%2Bze\" rel=\"nofollow\">\u97f3\u9891\u7f16\u8f91\u670d\u52a1<\/a>\u6b4c\u58f0\u5408\u6210\u7684AI Singer\u6a21\u578b\u80fd\u529b\u901a\u8fc7\u5b57\u7ea7\u522b\u8f93\u5165\u6b4c\u8bcd\u8fdb\u884c\u97f3\u7d20\u8f6c\u6362\uff0c\u5c31\u53ef\u4ee5\u4e3a\u7528\u6237\u521b\u4f5c\u97f3\u4e50\uff0c\u4e5f\u53ef\u9884\u7f6e\u66f2\u76ee\u5408\u6210\u6b4c\u58f0\u3002\u901a\u8fc7\u81ea\u7814\u97f3\u9ad8\u6a21\u578b\uff0c\u8ba9\u97f3\u9ad8\u66f2\u7ebf\u5728\u4fdd\u6301\u8f93\u5165\u66f2\u8c31\u7684\u97f3\u9ad8\u7cbe\u51c6\u5ea6\u7684\u540c\u65f6\u6539\u5584\u81ea\u7136\u5ea6\uff0c\u66f4\u63a5\u8fd1\u4eba\u7684\u771f\u5b9e\u6f14\u5531\u3002\u4f7f\u7528\u6700\u65b0\u7684\u751f\u6210\u5f0f\u6a21\u578b\uff0c\u5e26\u6765\u66f4\u597d\u7684\u97f3\u8272\u8fd8\u539f\u5ea6\u3001\u5efa\u6a21\u66f4\u591a\u7684\u6f14\u5531\u7ec6\u8282\uff0c\u540c\u65f6\u9ad8\u6e05\u58f0\u7801\u5668\u80fd\u591f\u771f\u5b9e\u8fd8\u539f48k\u9ad8\u6e05\u97f3\u8d28\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u7528\u6237\u901a\u8fc7\u81ea\u7531\u8c03\u6574\u98a4\u97f3\u3001\u6ed1\u97f3\u3001\u547c\u5438\u97f3\u7b49\u529f\u80fd\uff0c\u53ef\u6839\u636e\u60c5\u611f\u9700\u6c42\u8c03\u6574\u6b4c\u58f0\u6f14\u5531\u6280\u5de7\u3002\u5f53\u524d\u6b4c\u58f0\u5408\u6210\u670d\u52a1\u5df2\u5f00\u653e\u4e86\u60c5\u6d41\u884c\u5973\u58f0\u3001\u56fd\u98ce\u5973\u58f0\u548c\u6c11\u8c23\u7537\u58f0\u97f3\u8272\uff0c\u672a\u6765\u4f1a\u6301\u7eed\u66f4\u65b0\u66f4\u591a\u97f3\u8272\u3002<\/p>\n<p>\u534e\u4e3aHMS Core<a href=\"https:\/\/link.segmentfault.com\/?enc=HgvfnF%2FhS6wHJ8SOfFBIzA%3D%3D.WYgBcHM%2BwWWxA23UG3aJqzcZqDok2Hz60LeGQq3Yx1HmVGMG6IO5zXIoOgBKo%2Bdu%2F8wTyKLdw%2FsP99QuI2mJWS%2B%2FczDuOvYWAhkWRslmPDG6dhDpG%2FkPgz1em45iT81V\" rel=\"nofollow\">\u97f3\u9891\u7f16\u8f91\u670d\u52a1<\/a>\uff08Audio Editor Kit\uff09\u8ba9\u673a\u5668\u201c\u6f14\u5531\u201d\u51fa\u771f\u5b9e\u5ea6\u7684\u6b4c\u58f0\uff0c\u4ec5\u9700\u7b80\u5355\u7684\u96c6\u6210\u83b7\u5f97\uff0c\u4ee5\u4e0b\u662f\u5f00\u53d1\u8005\u5e94\u7528\u96c6\u6210\u97f3\u9891\u7f16\u8f91\u670d\u52a1\u6b4c\u58f0\u5408\u6210\u80fd\u529b\u7684\u5177\u4f53\u6b65\u9aa4\u3002<\/p>\n<h3>\u5f00\u53d1\u6b65\u9aa4<\/h3>\n<h4>1.    \u5f00\u53d1\u51c6\u5907<\/h4>\n<p>1.1\u6ce8\u518c\u6210\u4e3a\u5f00\u53d1\u8005<\/p>\n<p>\u5728\u5f00\u53d1\u5e94\u7528\u524d\u9700\u8981\u5728\u534e\u4e3a<a href=\"https:\/\/link.segmentfault.com\/?enc=Ep5AG6B1IYfiZd3wrh2cLg%3D%3D.ublvJOQAQqtfKt%2BHZjEJlDrrc3%2BfzbZfAA2Z5QvJh9Jm5SXkC2cAdUlsGBBRd4nVgKs5OUTHi3%2F1LUUnF03aAw%3D%3D\" rel=\"nofollow\">\u5f00\u53d1\u8005\u8054\u76df\u7f51\u7ad9<\/a>\u4e0a\u6ce8\u518c\u6210\u4e3a\u5f00\u53d1\u8005\u5e76\u5b8c\u6210\u5b9e\u540d\u8ba4\u8bc1\uff0c\u5177\u4f53\u65b9\u6cd5\u8bf7\u53c2\u89c1<a href=\"https:\/\/link.segmentfault.com\/?enc=bWhw%2BNFZfBxP1fFgfFmorQ%3D%3D.fx3Ma3JHqaXioZ48%2BZUFa7BIsDpjBsqVLuJXc4UWeRjjjwOuuOlgojmUResFdTVFqPh5cOAeyfjpzM%2BFTwqyi6lx7oreVA5U2kbUcC9bPcEswXnmBqym1ekK9JOhiVslQ00EP8O4BEivYsHoS6B9VkKXlK%2FLsYAdpqVpIr1ZDE8%3D\" rel=\"nofollow\">\u5e10\u53f7\u6ce8\u518c\u8ba4\u8bc1\u3002<\/a><\/p>\n<p>1.2\u521b\u5efa\u9879\u76ee\u53ca\u5e94\u7528<\/p>\n<p>\u53c2\u89c1<a href=\"https:\/\/link.segmentfault.com\/?enc=4alRdG1Wm8SaH4N37DJTtQ%3D%3D.opmVIjxpuPr3lypHgWd2LF7WWC%2FkAV6cJRcflWMZoFx060%2F1ZZKppPbZvMhbbomZmcEWm9ZClm9ISJbUTVwUXiCTWGE1xRLZh1m%2Bom1dZrXMGWulF54BtS%2FKef08KmQWUP6O2nQZc%2Bs4mxHWN8xX7rXX64qfHSnonqN9Yvi1Xsg%3D\" rel=\"nofollow\">\u521b\u5efa\u9879\u76ee<\/a>\uff0c\u7136\u540e\u5728\u9879\u76ee\u4e0b<a href=\"https:\/\/link.segmentfault.com\/?enc=Fua2BzC6U%2B1jzmumYIrKmg%3D%3D.vnPfvJm3UNTsF%2BalSE%2FDbfDkGS12LB5WQAvhyckhq9NCZtc8q8LAzMfqMm%2BMK5vGe9SAEQaWOlfJJWwn0UAQ3Uk8iUXgKj6FlON0F%2B%2F6YqN%2BkU2CHWFtoP8dX62YRKsujULUQxIe1GHFETF2VWUaKyFOQs7%2FAl2g4J34hKRInus%3D\" rel=\"nofollow\">\u521b\u5efa\u5e94\u7528<\/a>\u5b8c\u6210\u5e94\u7528\u7684\u521b\u5efa\uff0c\u7279\u6b8a\u914d\u7f6e\u5982\u4e0b\uff1a<\/p>\n<p>\u9009\u62e9\u5e73\u53f0\uff1a\u9009\u62e9\u201cWeb\u201d\u3002<\/p>\n<p>1.3\u6253\u5f00\u76f8\u5173\u670d\u52a1<\/p>\n<p>\u4f7f\u7528Audio Editor Kit\u670d\u52a1\u9700\u8981\u60a8\u5728AppGallery Connect\u4e0a\u6253\u5f00Audio Editor Kit\u670d\u52a1\u5f00\u5173\uff0c\u5177\u4f53\u64cd\u4f5c\u6b65\u9aa4\u8bf7\u53c2\u89c1\u6253\u5f00\u670d\u52a1\u5f00\u5173\u3002<\/p>\n<h4>2.\u6b4c\u58f0\u5408\u6210\u529f\u80fd\u96c6\u6210<\/h4>\n<p>2.1\u540c\u6b65\u63a5\u53e3\uff08\u6d41\u5f0f\uff09<\/p>\n<p>2.1.1\u83b7\u53d6access_token\u9274\u6743\u4fe1\u606f<\/p>\n<p>\u4f7f\u7528\u5f00\u53d1\u8005\u8054\u76df\u754c\u9762\u83b7\u5f97\u7684\u5ba2\u6237\u7aefID\u4ee5\u53ca\u5bf9\u5e94\u5bc6\u94a5\uff0c\u53d1\u9001HTTPS POST\u8bf7\u6c42\uff0c\u83b7\u53d6\u67e5\u8be2access_token\u3002\u83b7\u53d6\u65b9\u5f0f\u8bf7<a href=\"https:\/\/link.segmentfault.com\/?enc=vPAR701PEHl9dUmUYgiVyw%3D%3D.PMIsBAj48LE%2B5RX%2B1xIMylo0CjGLKLAT4A4de9AY%2ByJg5kse%2Fm9Jtpiu7LPn%2B5SrXHoqO0x0NtxVF%2BiUmCZ2XYbicWyrOFmhtYBkiF%2BFUciJS9ax7PUkl4uZ%2FbDwdKc2wXrBxzqNex8N%2FERWibQ99ow4iMQj0KgZBeDyqaQweU9apTV4Gr0dJWf8NVYW2yGK1lUT7q%2B8LJYA2Zq4bHHKoA%3D%3D\" rel=\"nofollow\">\u53c2\u89c1\u5ba2\u6237\u7aef\u6a21\u5f0f<\/a>\uff08Client Credentials\uff09\u3002<\/p>\n<p>2.1.2\u8c03\u7528\u540c\u6b65\u63a5\u53e3\uff08\u6d41\u5f0f\uff09<\/p>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\u83b7\u53d6\u7684access_token\u4fe1\u606f\uff0c\u53d1\u9001HTTPS POST\u8c03\u7528\u540c\u6b65\u63a5\u53e3\uff08\u6d41\u5f0f\uff09\u3002<\/p>\n<p>\u793a\u4f8b\u4ee3\u7801\uff08Java\uff09\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>\u5176\u4e2drequestUrl = &#8220;https:\/\/audioeditor-api-drcn.cloud.huawei.com\/v1\/audioeditor\/gateway\/ai\/ttsing\/sync&#8221;\u3002<\/p>\n<p>\u8bf7\u70b9\u51fb\u4e0b\u8f7dMusicXML\u6587\u4ef6\uff0c\u5e76\u4e0a\u4f20\uff1a<\/p>\n<pre><code>     \/**\n     * \u8c03\u7528\u540c\u6b65\u63a5\u53e3\uff08\u6d41\u5f0f\uff09\n     * @throws Exception IO\u5f02\u5e38\n     *\/\n    private static void syncTask() throws Exception {\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42header\n        PostMethod postMethod = new PostMethod(requestUrl);\n        \/\/ \u8bbe\u7f6e\u6587\u672c\u7c7b\u578b\uff08String\uff09\uff0c\u4f8b\uff1a&quot;application\/json;charset=utf-8&quot;\n        postMethod.setRequestHeader(&quot;Content-Type&quot;, contentType);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42ID\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;X-Request-ID&quot;, requestId);\n        \/\/ \u8bbe\u7f6eApp\u5305\u540d\uff08String\uff09\uff0c\u4f8b\uff1a&quot;com.huawei.demo&quot;\n        postMethod.setRequestHeader(&quot;X-Package-Name&quot;, pacageName);\n        \/\/ \u8bbe\u7f6eApp\u6240\u5728\u56fd\u5bb6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;cn&quot;\n        postMethod.setRequestHeader(&quot;X-Country-Code&quot;, countryCode);\n        \/\/ \u8bbe\u7f6eApp\u6807\u8bc6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;HMS-APPLICATION-ID&quot;, applicationId);\n        \/\/ \u8bbe\u7f6e\u8bc1\u4e66\u6307\u7eb9\uff08String\uff09\uff0c\u4f8b\uff1a&quot;xxxxxxxxxxxxxxx&quot;\n        postMethod.setRequestHeader(&quot;certFingerprint&quot;, certFingerprint);\n        \/\/ \u8bbe\u7f6e\u52a8\u6001\u83b7\u53d6\u7684AccessToken\uff08String\uff09\n        postMethod.setRequestHeader(&quot;Authorization&quot;,&quot;Bearer &quot; + accessToken);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42body\n        Map&lt;String, Object&gt; bodyMap = new HashMap&lt;&gt;();\n        Map&lt;String, Object&gt; dataMap = new HashMap&lt;&gt;();\n        Map&lt;String, Object&gt; configMap = new HashMap&lt;&gt;();\n        \/\/ filePath\u662fMusicXML\u6587\u4ef6\u8def\u5f84\uff08\u542b\u6587\u4ef6\u540d\u3001\u540e\u7f00\uff09\n        String lyricFilePath = &quot;filePath&quot;;\n        dataMap.put(&quot;lyric&quot;, FileUtils.readFileToString(new File(lyricFilePath), &quot;UTF-8&quot;));\n        dataMap.put(&quot;language&quot;, &quot;chinese&quot;);\n        configMap.put(&quot;type&quot;, 1);\n        configMap.put(&quot;outputEncoderFormat&quot;, 0);\n        configMap.put(&quot;wordDurationForceAlign&quot;, &quot;false&quot;);\n        bodyMap.put(&quot;data&quot;, dataMap);\n        bodyMap.put(&quot;config&quot;, configMap);\n        RequestEntity requestEntity = new StringRequestEntity(JSONObject.toJSONString(bodyMap),&quot;application\/json&quot; ,&quot;UTF-8&quot;);\n        postMethod.setRequestEntity(requestEntity);\n\n        HttpClient httpClient = new HttpClient();\n        int ret = httpClient.executeMethod(postMethod);\n        if (ret == 200) {\n            Header responseHeader = postMethod.getResponseHeader(&quot;content-type&quot;);\n            if (&quot;application\/octet-stream&quot;.equals(responseHeader.getValue())) {\n                InputStream rpsContent = postMethod.getResponseBodyAsStream();\n                \/\/ filePath\u662f\u8981\u4fdd\u5b58\u6587\u4ef6\u7684\u8def\u5f84\uff08\u542b\u6587\u4ef6\u540d\u3001PCM\u6587\u4ef6\u540e\u7f00\uff09\n                String filePath = &quot;filePath&quot;;\n                FileUtils.copyInputStreamToFile(rpsContent, new File(filePath));\n            } else {\n                String errorString = postMethod.getResponseBodyAsString();\n                System.out.println(errorString);\n            }\n        } else {\n            System.out.println(&quot;callApi failed: ret =&quot; + ret + &quot; rsp=&quot; + postMethod.getResponseBodyAsString());\n        }\n    }<\/code><\/pre>\n<p>\u4f7f\u7528\u9884\u7f6e\u66f2\u76ee\u8f93\u5165\u6b4c\u8bcd\uff1a<\/p>\n<pre><code>   \/**\n     * \u8c03\u7528\u540c\u6b65\u63a5\u53e3\uff08\u6d41\u5f0f\uff09\n     * @throws Exception IO\u5f02\u5e38\n     *\/\n    private static void syncTask() throws Exception {\n        \n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42header\n        PostMethod postMethod = new PostMethod(requestUrl);\n        \/\/ \u8bbe\u7f6e\u6587\u672c\u7c7b\u578b\uff08String\uff09\uff0c\u4f8b\uff1a&quot;application\/json;charset=utf-8&quot;\n        postMethod.setRequestHeader(&quot;Content-Type&quot;, contentType);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42ID\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;X-Request-ID&quot;, requestId);\n        \/\/ \u8bbe\u7f6eApp\u5305\u540d\uff08String\uff09\uff0c\u4f8b\uff1a&quot;com.huawei.demo&quot;\n        postMethod.setRequestHeader(&quot;X-Package-Name&quot;, pacageName);\n        \/\/ \u8bbe\u7f6eApp\u6240\u5728\u56fd\u5bb6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;cn&quot;\n        postMethod.setRequestHeader(&quot;X-Country-Code&quot;, countryCode);\n        \/\/ \u8bbe\u7f6eApp\u6807\u8bc6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;HMS-APPLICATION-ID&quot;, applicationId);\n        \/\/ \u8bbe\u7f6e\u8bc1\u4e66\u6307\u7eb9\uff08String\uff09\uff0c\u4f8b\uff1a&quot;xxxxxxxxxxxxxxx&quot;\n        postMethod.setRequestHeader(&quot;certFingerprint&quot;, certFingerprint);\n        \/\/ \u8bbe\u7f6e\u52a8\u6001\u83b7\u53d6\u7684AccessToken\uff08String\uff09\n        postMethod.setRequestHeader(&quot;Authorization&quot;,&quot;Bearer &quot; + accessToken);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42body\n        Map&lt;String, Object&gt; bodyMap = new HashMap&lt;&gt;();\n        Map&lt;String, Object&gt; dataMap = new HashMap&lt;&gt;();\n        Map&lt;String, Object&gt; configMap = new HashMap&lt;&gt;();\n        String[] lyrics = {&quot;\u8ddf\u968f\u5fc3\u8df3\u7684\u8282\u62cd&quot;, &quot;\u611f\u53d7\u81ea\u7531\u7684\u7545\u5feb&quot;, &quot;\u628a\u70e6\u607c\u901a\u901a\u629b\u5f00&quot;, &quot;\u6211\u4eec\u4e00\u8d77\u55e8&quot;, &quot;\u8c03\u6574\u547c\u5438\u7684\u8282\u62cd&quot;, &quot;\u4fdd\u6301\u6700\u597d\u7684\u72b6\u6001&quot;, &quot;\u5954\u5411\u8000\u773c\u7684\u672a\u6765&quot;, &quot;\u54e6\u5eb7\u5fd9\u5317\u5317&quot;};\n        dataMap.put(&quot;lyrics&quot;, lyrics);\n        dataMap.put(&quot;accompanimentId&quot;, &quot;1&quot;);\n        dataMap.put(&quot;isAutoFill&quot;, &quot;false&quot;);\n        dataMap.put(&quot;language&quot;, &quot;chinese&quot;);\n        configMap.put(&quot;type&quot;, 1);\n        configMap.put(&quot;outputEncoderFormat&quot;, 0);\n        configMap.put(&quot;wordDurationForceAlign&quot;, &quot;false&quot;);\n        bodyMap.put(&quot;data&quot;, dataMap);\n        bodyMap.put(&quot;config&quot;, configMap);\n        RequestEntity requestEntity = new StringRequestEntity(JSONObject.toJSONString(bodyMap),&quot;application\/json&quot; ,&quot;UTF-8&quot;);\n        postMethod.setRequestEntity(requestEntity);\n\n        HttpClient httpClient = new HttpClient();\n        int ret = httpClient.executeMethod(postMethod);\n        if (ret == 200) {\n            Header responseHeader = postMethod.getResponseHeader(&quot;content-type&quot;);\n            if (&quot;application\/octet-stream&quot;.equals(responseHeader.getValue())) {\n                InputStream rpsContent = postMethod.getResponseBodyAsStream();\n                \/\/ filePath\u662f\u8981\u4fdd\u5b58\u6587\u4ef6\u7684\u8def\u5f84\uff08\u542b\u6587\u4ef6\u540d\u3001PCM\u6587\u4ef6\u540e\u7f00\uff09\n                String filePath = &quot;filePath&quot;;\n                FileUtils.copyInputStreamToFile(rpsContent, new File(filePath));\n            } else {\n                String errorString = postMethod.getResponseBodyAsString();\n                System.out.println(errorString);\n            }\n        } else {\n            System.out.println(&quot;callApi failed: ret =&quot; + ret + &quot; rsp=&quot; + postMethod.getResponseBodyAsString());\n        }\n    }<\/code><\/pre>\n<p>\u6ce8\u610f\uff1a<\/p>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u4e2dxxxxx\u5bf9\u5e94\u7684\u503c\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u586b\u5199\uff0c\u5177\u4f53\u53d6\u503c\u8bf7\u53c2\u89c1<a href=\"https:\/\/link.segmentfault.com\/?enc=8g7MFFMa%2FHFwvcZoTyQ6xA%3D%3D.fkrf7ORxUTVf8TowTSvYXdEAySeWOMYqTVDeDYFVBsIMrtnMldS2qGwQxefzcrRmc7MNTSYBLvlOE3tisKXaQ3hOiinv0nXgqXmuPzkTfoLrMqk2EXld3FueUQ%2FO2ScL1NbN2cc0WuPcfOnEZZZG1d808CpTpcZiIeN3PK1rqoF09wc1WvnR4lqGj9p2HmJA\" rel=\"nofollow\">\u540c\u6b65\u63a5\u53e3\uff08\u6d41\u5f0f\uff09<\/a>\u3002<\/p>\n<p>2.2\u5f02\u6b65\u63a5\u53e3<\/p>\n<p>2.2.1\u521b\u5efa\u5f02\u6b65\u4efb\u52a1<\/p>\n<p>\u901a\u8fc7access_token\u4fe1\u606f\uff0c\u53d1\u9001HTTPS POST\u521b\u5efa\u6b4c\u58f0\u5408\u6210\u5f02\u6b65\u4efb\u52a1\u3002<\/p>\n<p>\u793a\u4f8b\u4ee3\u7801\uff08Java\uff09\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>\u5176\u4e2drequestUrl = &#8220;https:\/\/audioeditor-api-drcn.cloud.huawei.com\/v1\/audioeditor\/gateway\/ai\/ttsing\/async\/task\/create&#8221;\u3002<\/p>\n<p>\u8bf7\u70b9\u51fb\u4e0b\u8f7dMusicXML\u6587\u4ef6\uff0c\u5e76\u4e0a\u4f20\uff1a<\/p>\n<pre><code>     \/**\n     * \u8c03\u7528\u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u63a5\u53e3\n     * @throws Exception IO\u5f02\u5e38\n     *\/\n    private static void creatAsyncTask() throws Exception {\n        \n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42header\n        PostMethod postMethod = new PostMethod(requestUrl);\n        \/\/ \u8bbe\u7f6e\u6587\u672c\u7c7b\u578b\uff08String\uff09\uff0c\u4f8b\uff1a&quot;application\/json;charset=utf-8&quot;\n        postMethod.setRequestHeader(&quot;Content-Type&quot;, contentType);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42ID\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;X-Request-ID&quot;, requestId);\n        \/\/ \u8bbe\u7f6eApp\u5305\u540d\uff08String\uff09\uff0c\u4f8b\uff1a&quot;com.huawei.demo&quot;\n        postMethod.setRequestHeader(&quot;X-Package-Name&quot;, pacageName);\n        \/\/ \u8bbe\u7f6eApp\u6240\u5728\u56fd\u5bb6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;cn&quot;\n        postMethod.setRequestHeader(&quot;X-Country-Code&quot;, countryCode);\n        \/\/ \u8bbe\u7f6eApp\u6807\u8bc6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;HMS-APPLICATION-ID&quot;, applicationId);\n        \/\/ \u8bbe\u7f6e\u8bc1\u4e66\u6307\u7eb9\uff08String\uff09\uff0c\u4f8b\uff1a&quot;xxxxxxxxxxxxxxx&quot;\n        postMethod.setRequestHeader(&quot;certFingerprint&quot;, certFingerprint);\n        \/\/ \u8bbe\u7f6e\u52a8\u6001\u83b7\u53d6\u7684AccessToken\uff08String\uff09\n        postMethod.setRequestHeader(&quot;Authorization&quot;,&quot;Bearer &quot; + accessToken);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42body\n        Map&lt;String, Object&gt; bodyMap = new HashMap&lt;&gt;();\n        Map&lt;String, Object&gt; dataMap = new HashMap&lt;&gt;();\n        Map&lt;String, Object&gt; configMap = new HashMap&lt;&gt;();\n        \/\/ filePath\u662fMusicXML\u6587\u4ef6\u8def\u5f84\uff08\u542b\u6587\u4ef6\u540d\u3001\u540e\u7f00\uff09\n        String lyricFilePath = &quot;filePath&quot;;\n        dataMap.put(&quot;lyric&quot;, FileUtils.readFileToString(new File(lyricFilePath), &quot;UTF-8&quot;));\n        dataMap.put(&quot;language&quot;, &quot;chinese&quot;);\n        configMap.put(&quot;type&quot;, 1);\n        configMap.put(&quot;outputEncoderFormat&quot;, 0);\n        configMap.put(&quot;wordDurationForceAlign&quot;, &quot;false&quot;);\n        bodyMap.put(&quot;data&quot;, dataMap);\n        bodyMap.put(&quot;config&quot;, configMap);\n        RequestEntity requestEntity = new StringRequestEntity(JSONObject.toJSONString(bodyMap),&quot;application\/json&quot; ,&quot;UTF-8&quot;);\n        postMethod.setRequestEntity(requestEntity);\n\n        HttpClient httpClient = new HttpClient();\n        int ret = httpClient.executeMethod(postMethod);\n        String rpsContent = postMethod.getResponseBodyAsString();\n        if (ret == 200) {\n            System.out.println(rpsContent);\n        } else {\n            System.out.println(&quot;callApi failed: ret =&quot; + ret + &quot; rsp=&quot; + rpsContent);\n        }\n    }<\/code><\/pre>\n<p>\u4f7f\u7528\u9884\u7f6e\u66f2\u76ee\u8f93\u5165\u6b4c\u8bcd\uff1a<\/p>\n<pre><code>\/**\n     * \u8c03\u7528\u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u63a5\u53e3\n     * @throws Exception IO\u5f02\u5e38\n     *\/\n    private static void creatAsyncTask() throws Exception {\n        \n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42header\n        PostMethod postMethod = new PostMethod(requestUrl);\n        \/\/ \u8bbe\u7f6e\u6587\u672c\u7c7b\u578b\uff08String\uff09\uff0c\u4f8b\uff1a&quot;application\/json;charset=utf-8&quot;\n        postMethod.setRequestHeader(&quot;Content-Type&quot;, contentType);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42ID\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;X-Request-ID&quot;, requestId);\n        \/\/ \u8bbe\u7f6eApp\u5305\u540d\uff08String\uff09\uff0c\u4f8b\uff1a&quot;com.huawei.demo&quot;\n        postMethod.setRequestHeader(&quot;X-Package-Name&quot;, pacageName);\n        \/\/ \u8bbe\u7f6eApp\u6240\u5728\u56fd\u5bb6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;cn&quot;\n        postMethod.setRequestHeader(&quot;X-Country-Code&quot;, countryCode);\n        \/\/ \u8bbe\u7f6eApp\u6807\u8bc6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;HMS-APPLICATION-ID&quot;, applicationId);\n        \/\/ \u8bbe\u7f6e\u8bc1\u4e66\u6307\u7eb9\uff08String\uff09\uff0c\u4f8b\uff1a&quot;xxxxxxxxxxxxxxx&quot;\n        postMethod.setRequestHeader(&quot;certFingerprint&quot;, certFingerprint);\n        \/\/ \u8bbe\u7f6e\u52a8\u6001\u83b7\u53d6\u7684AccessToken\uff08String\uff09\n        postMethod.setRequestHeader(&quot;Authorization&quot;,&quot;Bearer &quot; + accessToken);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42body\n        Map&lt;String, Object&gt; bodyMap = new HashMap&lt;&gt;();\n        Map&lt;String, Object&gt; dataMap = new HashMap&lt;&gt;();\n        Map&lt;String, Object&gt; configMap = new HashMap&lt;&gt;();\n        String[] lyrics = {&quot;\u8ddf\u968f\u5fc3\u8df3\u7684\u8282\u62cd&quot;, &quot;\u611f\u53d7\u81ea\u7531\u7684\u7545\u5feb&quot;, &quot;\u628a\u70e6\u607c\u901a\u901a\u629b\u5f00&quot;, &quot;\u6211\u4eec\u4e00\u8d77\u55e8&quot;, &quot;\u8c03\u6574\u547c\u5438\u7684\u8282\u62cd&quot;, &quot;\u4fdd\u6301\u6700\u597d\u7684\u72b6\u6001&quot;, &quot;\u5954\u5411\u8000\u773c\u7684\u672a\u6765&quot;, &quot;\u54e6\u5eb7\u5fd9\u5317\u5317&quot;};\n        dataMap.put(&quot;lyrics&quot;, lyrics);\n        dataMap.put(&quot;accompanimentId&quot;, &quot;1&quot;);\n        dataMap.put(&quot;isAutoFill&quot;, &quot;false&quot;);\n        dataMap.put(&quot;language&quot;, &quot;chinese&quot;);\n        configMap.put(&quot;type&quot;, 1);\n        configMap.put(&quot;outputEncoderFormat&quot;, 0);\n        configMap.put(&quot;wordDurationForceAlign&quot;, &quot;false&quot;);\n        bodyMap.put(&quot;data&quot;, dataMap);\n        bodyMap.put(&quot;config&quot;, configMap);\n        RequestEntity requestEntity = new StringRequestEntity(JSONObject.toJSONString(bodyMap),&quot;application\/json&quot; ,&quot;UTF-8&quot;);\n        postMethod.setRequestEntity(requestEntity);\n\n        HttpClient httpClient = new HttpClient();\n        int ret = httpClient.executeMethod(postMethod);\n        String rpsContent = postMethod.getResponseBodyAsString();\n        if (ret == 200) {\n            System.out.println(rpsContent);\n        } else {\n            System.out.println(&quot;callApi failed: ret =&quot; + ret + &quot; rsp=&quot; + rpsContent);\n        }\n    }<\/code><\/pre>\n<p>\u6ce8\u610f\uff1a<\/p>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u4e2dxxxxx\u5bf9\u5e94\u7684\u503c\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u586b\u5199\uff0c\u5177\u4f53\u53d6\u503c\u8bf7\u53c2\u89c1<a href=\"https:\/\/link.segmentfault.com\/?enc=BwO9Fs9wbtFlXtpgi0Ixcg%3D%3D.eOhXXbOTnnq%2FCkkbJsb5kPrkPFZOkQb7HGB6DjqW38F6x7zKdULu%2FZx81Heu2Ojgl0CkdL7Rvjg4FS3OZFjEd6jfu%2BseAq2t8jWUu0hya41NNf0kzhNL%2BBkBHXSLrYfvedK83j5dXiy3XRjVrU00hPXjaAJLTHi7f4eGZnQDcD1wutaz6COuYDxRuQfZ4EqH\" rel=\"nofollow\">\u521b\u5efa\u5f02\u6b65\u4efb\u52a1<\/a>\u3002<\/p>\n<p>2.2.2\u67e5\u8be2\u5f02\u6b65\u4efb\u52a1\u72b6\u6001<\/p>\n<p>\u7528\u6237\u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u7528\u8be5\u63a5\u53e3\uff0c\u83b7\u53d6\u4efb\u52a1\u5904\u7406\u72b6\u6001\u7b49\u4fe1\u606f\u3002\u4efb\u52a1\u5904\u7406\u5b8c\u6210\u540e\uff0c\u4f1a\u8fd4\u56de\u4efb\u52a1\u7684\u4e0b\u8f7d\u5730\u5740\uff0c\u76f4\u63a5\u8bbf\u95ee\u8be5\u5730\u5740\u5373\u53ef\u4e0b\u8f7d\u6587\u4ef6\u3002<\/p>\n<p>\u901a\u8fc7access_token\u4fe1\u606f\uff0c\u548c\u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u83b7\u53d6\u5230\u7684taskId\u53d1\u9001HTTPS POST\u67e5\u8be2\u6b4c\u58f0\u5408\u6210\u5f02\u6b65\u4efb\u52a1\u72b6\u6001\u3002<\/p>\n<p>\u793a\u4f8b\u4ee3\u7801\uff08Java\uff09\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>\u5176\u4e2drequestUrl = &#8220;https:\/\/audioeditor-api-drcn.cloud.huawei.com\/v1\/audioeditor\/gateway\/ai\/ttsing\/async\/task\/status&#8221;\u3002<\/p>\n<pre><code>  \/**\n     * \u8c03\u7528\u67e5\u8be2\u5f02\u6b65\u4efb\u52a1\u72b6\u6001\u63a5\u53e3\n     * @param taskId \u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u83b7\u53d6\u7684taskId\n     * @throws Exception IO\u5f02\u5e38\n     *\/\n    private static void queryAsyncTaskInfo(String taskId) throws Exception {\n        \n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42header\n        PostMethod postMethod = new PostMethod(requestUrl);\n        \/\/ \u8bbe\u7f6e\u6587\u672c\u7c7b\u578b\uff08String\uff09\uff0c\u4f8b\uff1a&quot;application\/json;charset=utf-8&quot;\n        postMethod.setRequestHeader(&quot;Content-Type&quot;, contentType);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42ID\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;X-Request-ID&quot;, requestId);\n        \/\/ \u8bbe\u7f6eApp\u5305\u540d\uff08String\uff09\uff0c\u4f8b\uff1a&quot;com.huawei.demo&quot;\n        postMethod.setRequestHeader(&quot;X-Package-Name&quot;, pacageName);\n        \/\/ \u8bbe\u7f6eApp\u6240\u5728\u56fd\u5bb6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;cn&quot;\n        postMethod.setRequestHeader(&quot;X-Country-Code&quot;, countryCode);\n        \/\/ \u8bbe\u7f6eApp\u6807\u8bc6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;HMS-APPLICATION-ID&quot;, applicationId);\n        \/\/ \u8bbe\u7f6e\u8bc1\u4e66\u6307\u7eb9\uff08String\uff09\uff0c\u4f8b\uff1a&quot;xxxxxxxxxxxxxxx&quot;\n        postMethod.setRequestHeader(&quot;certFingerprint&quot;, certFingerprint);\n        \/\/ \u8bbe\u7f6e\u52a8\u6001\u83b7\u53d6\u7684AccessToken\uff08String\uff09\n        postMethod.setRequestHeader(&quot;Authorization&quot;,&quot;Bearer &quot; + accessToken);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42body\n        Map&lt;String, Object&gt; bodyMap = new HashMap&lt;&gt;();\n        \/\/ taskId\u5bf9\u5e94\u7684\u503c\u662f\u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u65f6\u8fd4\u56de\u7684\u4efb\u52a1ID\uff08taskId\uff09\n        bodyMap.put(&quot;taskId&quot;, taskId);\n        RequestEntity requestEntity = new StringRequestEntity(JSONObject.toJSONString(bodyMap),&quot;application\/json&quot; ,&quot;UTF-8&quot;);\n        postMethod.setRequestEntity(requestEntity);\n\n        HttpClient httpClient = new HttpClient();\n        int ret = httpClient.executeMethod(postMethod);\n        String rpsContent = postMethod.getResponseBodyAsString();\n        if (ret == 200) {\n            System.out.println(rpsContent);\n        } else {\n            System.out.println(&quot;callApi failed: ret =&quot; + ret + &quot; rsp=&quot; + rpsContent);\n        }\n    }<\/code><\/pre>\n<p>\u6ce8\u610f\uff1a<\/p>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u4e2dxxxxx\u5bf9\u5e94\u7684\u503c\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u586b\u5199\uff0c\u5177\u4f53\u53d6\u503c\u8bf7\u53c2\u89c1<a href=\"https:\/\/link.segmentfault.com\/?enc=QX%2FXjm%2BPKk4N5JONPc8eYw%3D%3D.lt4ZegF8zcWvxi3JXgcKRUG9dTiSOCvdxhAv8H17E8d%2BfAHefCp1NRhCN%2Bcr%2BIZvYZR%2F9m9AUlkf%2B%2FIcHy6NF5JRJf0cSUbb8eAJgg6u3J7w7kUUHjXf0Sd6Q4ko1Sn6dsHC4Xy8cMkxvYGmsBAV6WWlOKk%2BTRe6CUfhHjT8R9jafdstnWTpqmUCZiJBBpPk\" rel=\"nofollow\">\u67e5\u8be2\u5f02\u6b65\u4efb\u52a1\u72b6\u6001<\/a>\u3002<\/p>\n<p>2.2.3\u53d6\u6d88\u5f02\u6b65\u4efb\u52a1<\/p>\n<p>\u7528\u6237\u521b\u5efa\u6b4c\u58f0\u5408\u6210\u5f02\u6b65\u4efb\u52a1\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u7528\u6b64\u63a5\u53e3\uff0c\u53d6\u6d88\u6307\u5b9a\u5f02\u6b65\u4efb\u52a1\u5e76\u5220\u9664\u76f8\u5e94\u4efb\u52a1\u6570\u636e\u3002<\/p>\n<p>\u901a\u8fc7access_token\u4fe1\u606f\u548c\u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u83b7\u53d6\u5230\u7684taskId\uff0c\u53d1\u9001HTTPS POST\u53d6\u6d88\u5f02\u6b65\u4efb\u52a1\u3002<\/p>\n<p>\u793a\u4f8b\u4ee3\u7801\uff08Java\uff09\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>\u5176\u4e2drequestUrl = &#8220;https:\/\/audioeditor-api-drcn.cloud.huawei.com\/v1\/audioeditor\/gateway\/ai\/ttsing\/async\/task\/cancel&#8221;\u3002<\/p>\n<pre><code>  \/**\n     * \u8c03\u7528\u53d6\u6d88\u5f02\u6b65\u4efb\u52a1\u63a5\u53e3\n     * @param taskId \u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u83b7\u53d6\u7684taskId\n     * @throws Exception IO\u5f02\u5e38\n     *\/\n    private static void cancelAsyncTask(String taskId) throws Exception {\n        \n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42header\n        PostMethod postMethod = new PostMethod(requestUrl);\n        \/\/ \u8bbe\u7f6e\u6587\u672c\u7c7b\u578b\uff08String\uff09\uff0c\u4f8b\uff1a&quot;application\/json;charset=utf-8&quot;\n        postMethod.setRequestHeader(&quot;Content-Type&quot;, contentType);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42ID\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;X-Request-ID&quot;, requestId);\n        \/\/ \u8bbe\u7f6eApp\u5305\u540d\uff08String\uff09\uff0c\u4f8b\uff1a&quot;com.huawei.demo&quot;\n        postMethod.setRequestHeader(&quot;X-Package-Name&quot;, pacageName);\n        \/\/ \u8bbe\u7f6eApp\u6240\u5728\u56fd\u5bb6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;cn&quot;\n        postMethod.setRequestHeader(&quot;X-Country-Code&quot;, countryCode);\n        \/\/ \u8bbe\u7f6eApp\u6807\u8bc6\uff08String\uff09\uff0c\u4f8b\uff1a&quot;9af1aeda-531b-407a-80b4-65b40ef77bd6&quot;\n        postMethod.setRequestHeader(&quot;HMS-APPLICATION-ID&quot;, applicationId);\n        \/\/ \u8bbe\u7f6e\u8bc1\u4e66\u6307\u7eb9\uff08String\uff09\uff0c\u4f8b\uff1a&quot;xxxxxxxxxxxxxxx&quot;\n        postMethod.setRequestHeader(&quot;certFingerprint&quot;, certFingerprint);\n        \/\/ \u8bbe\u7f6e\u52a8\u6001\u83b7\u53d6\u7684AccessToken\uff08String\uff09\n        postMethod.setRequestHeader(&quot;Authorization&quot;,&quot;Bearer &quot; + accessToken);\n        \/\/ \u8bbe\u7f6e\u8bf7\u6c42body\n        Map&lt;String, Object&gt; bodyMap = new HashMap&lt;&gt;();\n        \/\/ taskId\u5bf9\u5e94\u7684\u503c\u662f\u521b\u5efa\u5f02\u6b65\u4efb\u52a1\u65f6\u8fd4\u56de\u7684\u4efb\u52a1ID\uff08taskId\uff09\n        bodyMap.put(&quot;taskId&quot;, taskId);\n        RequestEntity requestEntity = new StringRequestEntity(JSONObject.toJSONString(bodyMap),&quot;application\/json&quot; ,&quot;UTF-8&quot;);\n        postMethod.setRequestEntity(requestEntity);\n\n        HttpClient httpClient = new HttpClient();\n        int ret = httpClient.executeMethod(postMethod);\n        String rpsContent = postMethod.getResponseBodyAsString();\n        if (ret == 200) {\n            System.out.println(rpsContent);\n        } else {\n            System.out.println(&quot;callApi failed: ret =&quot; + ret + &quot; rsp=&quot; + rpsContent);\n        }\n    }<\/code><\/pre>\n<p><strong>\u6ce8\u610f\uff1a<\/strong><\/p>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u4e2dxxxxx\u5bf9\u5e94\u7684\u503c\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u586b\u5199\uff0c\u5177\u4f53\u53d6\u503c\u8bf7\u53c2\u89c1<a href=\"https:\/\/link.segmentfault.com\/?enc=sl35a0ksscERQbrW%2B4AW1g%3D%3D.c%2FVjBxabyw2a%2F06SJ2zz0mF9cGkDpLfbWWF%2FprLuUQpMsRiUdZT6GZ%2FHqH8xXFa55w4342MBZ8SDjlY6ml9OWgnAcvn8rjvk0cdga2uF%2Fokwij6spViHSosdyjc2DZN2sAQUnuJ6FVmH%2FhlOREH0XU8Hat0nbY3yuQ9AehHs06UrzYv4RJQHR86TZ1F8XZmn\" rel=\"nofollow\">\u53d6\u6d88\u5f02\u6b65\u4efb\u52a1<\/a>\u3002<\/p>\n<p>\u9664\u4e86\u6b4c\u58f0\u5408\u6210\u80fd\u529b\uff0c\u97f3\u9891\u7f16\u8f91\u670d\u52a1\u8fd8\u63d0\u4f9b\u97f3\u9891\u57fa\u7840\u526a\u8f91\u3001AI\u914d\u97f3\u3001\u97f3\u6e90\u5206\u79bb\u3001\u7a7a\u95f4\u6e32\u67d3\u3001\u53d8\u58f0\u964d\u566a\u7b49\u97f3\u9891\u5904\u7406\u80fd\u529b\uff0c\u66f4\u591a\u4fe1\u606f\u53ef\u4ee5<a href=\"https:\/\/link.segmentfault.com\/?enc=F7ePKHxzF73VOH46aVbBpQ%3D%3D.AONQhe4ugbkWUClpgroLs1w1rOysxYQkud6nvCJomW0pJI7EgSI9M6RSX3HL0rpIe%2F4O9WTeytd1HgzP%2F6POkk1EG2WMwXXg9ZgLiIfD4DKIIDJ7MTQ9QgF2aj%2F5wPXE\" rel=\"nofollow\">\u8bbf\u95ee\u5b98\u7f51\u83b7\u5f97<\/a>\u3002<\/p>\n<p><strong>\u4e86\u89e3\u66f4\u591a\u8be6\u60c5&gt;&gt;<\/strong><\/p>\n<p>\u8bbf\u95ee<a href=\"https:\/\/link.segmentfault.com\/?enc=wFF5xITsGhJ1ndVn2zQ5vw%3D%3D.m0jjVe6W%2FiS8dG6iti7s4xqE48Ep%2Bxr%2FtOKeII7fXmki5ZyVa%2Fa0H7fl%2BYZZsIr6VPaKEXg7Mhg5qx7CIF8A9A%3D%3D\" rel=\"nofollow\">\u534e\u4e3a\u5f00\u53d1\u8005\u8054\u76df\u5b98\u7f51<\/a>  <br \/>\u83b7\u53d6<a href=\"https:\/\/link.segmentfault.com\/?enc=uT5pYHzTl0C4sUOMBKogQw%3D%3D.GIUdv4qXflhdtQWUpBNMeHJX2R23OS10cLMEWSMOY3GxJB5vmimdZfxEC98PmSRnJs2zewV36yo4vuDAZOg92zJMMXSDeuOk%2BIzUiXoV6Ws%3D\" rel=\"nofollow\">\u5f00\u53d1\u6307\u5bfc\u6587\u6863<\/a>  <br \/>\u534e\u4e3a\u79fb\u52a8\u670d\u52a1\u5f00\u6e90\u4ed3\u5e93\u5730\u5740\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=%2F0JJiMHZNmB3Uu1ZGmI%2BqA%3D%3D.obkckSiEW9TaXmd1FqDLfqUsDct0O%2FowHy%2BEWvNfK9o%3D\" rel=\"nofollow\">GitHub<\/a>\u3001<a href=\"https:\/\/link.segmentfault.com\/?enc=rqWsiHbZNvo2fPY1v0fPXw%3D%3D.MKG%2BvG3x392aWLks%2Bgnisdyj43pfnGnKh7mi%2B0OErxE%3D\" rel=\"nofollow\">Gitee<\/a><\/p>\n<p><strong>\u5173\u6ce8\u6211\u4eec\uff0c\u7b2c\u4e00\u65f6\u95f4\u4e86\u89e3 HMS Core \u6700\u65b0\u6280\u672f\u8d44\u8baf~<\/strong><\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000042875306\">https:\/\/segmentfault.com\/a\/1190000042875306<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u534e\u4e3aHMS Core\u97f3\u9891\u7f16\u8f91\u670d\u52a1\uff08Audio Editor Kit\uff09\u4f9d\u6258\u81ea\u8eabAI\u6280\u672f\u7684\u7814\u53d1\u4f18\u52bf\uff0c\u4e0a\u7ebf\u5168\u65b0\u7684\u6b4c\u58f0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10006903","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006903"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006903\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}