{"id":485,"date":"2020-04-02T04:08:06","date_gmt":"2020-04-01T19:08:06","guid":{"rendered":"https:\/\/machiaworx.net\/?p=485"},"modified":"2020-04-11T09:38:55","modified_gmt":"2020-04-11T00:38:55","slug":"nativeaudioplugin%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%81%ae%e6%83%85%e5%a0%b1%e3%81%be%e3%81%a8%e3%82%81%e3%80%82","status":"publish","type":"post","link":"https:\/\/machiaworx.net\/?p=485","title":{"rendered":"Unity\u306eNativeAudioPlugin\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u307e\u3068\u3081\u3002"},"content":{"rendered":"<h3>\u52d5\u4f5c\u30b5\u30f3\u30d7\u30eb\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f<\/h3>\n<p>kzr\u3055\u3093\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u53c2\u8003\u306b\u62e1\u5f35\u3057\u3066\u3001<br \/>\n\u305d\u308c\u3092IL2CPP\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u307f\u305f\u3082\u306e\u3002\uff08\u3068\u3044\u3046\u304bIL2CPP\u3068NativeAudioPlugin\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u30c6\u30b9\u30c8\uff09<\/p>\n<p><a href=\"https:\/\/machiaworx.net\/wp-content\/uploads\/2020\/04\/test_pgm.zip\">https:\/\/machiaworx.net\/wp-content\/uploads\/2020\/04\/test_pgm.zip<\/a><\/p>\n<h3>\u305d\u3082\u305d\u3082NativeAudioPlugin\u3063\u3066\u3001\u4f55\u3092\u3059\u308b\u3082\u306e\uff1f<\/h3>\n<p>\u516c\u5f0f\u306e\u8aac\u660e\uff1a<br \/>\nhttps:\/\/docs.unity3d.com\/Manual\/AudioMixerNativeAudioPlugin.html<br \/>\n\uff08\u65e5\u672c\u8a9e\u7248\u306f\u5358\u306b\u76f4\u8a33\u3063\u307d\u3044\u306e\u3067\u3001\u82f1\u8a9e\u7248\u306eURL\u3092\u53c2\u7167\u3057\u305f\uff09<\/p>\n<p>\u672c\u6765\u3060\u3068Mixer\u306b\u8ffd\u52a0\u3059\u308b\u30a8\u30d5\u30a7\u30af\u30c8\u3001\u306e\u6271\u3044\u307f\u305f\u3044\u3002<br \/>\n\u305f\u3060\u3001\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u52a0\u5de5\u3057\u305f\u4e0a\u3067\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306a\u305f\u3081\uff08Callback\u95a2\u6570\u3067\u51e6\u7406\uff09\u3001<br \/>\n\u30a4\u30f3\u30d7\u30c3\u30c8\u3092\u3059\u3079\u3066\u30b9\u30eb\u30fc\u3057\u3066\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u306e\u51e6\u7406\u3092\u66f8\u304f\u3053\u3068\u3067\u3001<br \/>\n\u30b7\u30f3\u30bb\u30b5\u30a4\u30b6\u30fc\u7b49\u3092\u5b9f\u88c5\u3057\u3066\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3002<br \/>\n\u3061\u306a\u307f\u306bGUI\u3092\u5b9f\u88c5\u3057\u3066\u305d\u308c\u3068\u9023\u643a\u3057\u3066\u9cf4\u3089\u3059\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u516c\u5f0f\u30ea\u30dd\u30b8\u30c8\u30ea<br \/>\nhttps:\/\/bitbucket.org\/Unity-Technologies\/nativeaudioplugins\/src<br \/>\n\uff08\u516c\u5f0f\uff09<\/p>\n<p>https:\/\/github.com\/keijiro\/MinimumAudioPlugin<br \/>\n\uff08kzr\u3055\u3093\u4f5c\u306e\u6700\u5c0f\u9650\u69cb\u6210\uff09<\/p>\n<h3>\u5229\u7528\u624b\u9806\uff08\u30b6\u30c3\u30af\u30ea\u3068\uff09<\/h3>\n<ul>\n<li>\u30d7\u30e9\u30b0\u30a4\u30f3\u4f5c\u6210<\/li>\n<li>\u30d5\u30a9\u30eb\u30c0\u914d\u7f6e<\/li>\n<li>\u540d\u524d\u5909\u66f4\uff08\u300caudioplugin_XXX\u300d\u3068\u3044\u3046\u540d\u524d\u306b\u3059\u308b\u3053\u3068\u3067NativeAudioPlugin\u3068\u8a8d\u8b58\u3059\u308b<\/li>\n<li>\u30df\u30ad\u30b5\u30fc\u4e0a\u306b\u30a8\u30d5\u30a7\u30af\u30c8\u3068\u3057\u3066\u51e6\u7406\u3092\u8ffd\u52a0\uff08Add Effect\uff09<\/li>\n<li>\u5404\u7a2eCallback\u95a2\u6570\u304c\u81ea\u52d5\u7684\u306b\u51e6\u7406\u3092\u958b\u59cb\u3059\u308b<\/li>\n<\/ul>\n<h3>\u30d7\u30e9\u30b0\u30a4\u30f3\u4f5c\u6210\u624b\u9806<\/h3>\n<ul>\n<li>DLL\u4f5c\u6210\u6e96\u5099\u3092\u884c\u3046\uff08\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u306e\u3067\u305d\u308c\u4f7f\u3044\u307e\u308f\u3057\u3067\u3082\u3044\u3044\uff09<\/li>\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u30d5\u30a1\u30a4\u30eb\u300cAudioPluginInterface.h\u300d\u3092\u8aad\u307f\u8fbc\u307e\u305b\u308b<\/li>\n<li>\u5404\u7a2eCallback\u95a2\u6570\u306e\u4e2d\u8eab\u3092\u8a18\u8f09\u3059\u308b<\/li>\n<li>\u30b3\u30f3\u30d1\u30a4\u30eb<\/li>\n<li>\u914d\u7f6e\u30fb\u540d\u524d\u5909\u66f4\uff08\u4e0a\u8a18\u5229\u7528\u624b\u9806\u53c2\u7167\uff09<\/li>\n<\/ul>\n<h3>\u6319\u52d5\u306eTips<\/h3>\n<ul>\n<li>Mixer\u306b\u5165\u3063\u3066\u304d\u305f\u97f3\u306b\u5bfe\u3057\u3066\u81ea\u52d5\u7684\u306b\u51e6\u7406\u3059\u308b\u5f62<\/li>\n<li>\u30a8\u30d5\u30a7\u30af\u30c8\u540d\u79f0\u306b\u3064\u3044\u3066\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u5185\u90e8\u3067\u5b9a\u7fa9\u3059\u308b\u3002\uff08\u3053\u308c\u306f\u3069\u3061\u3089\u304b\u3068\u3044\u3046\u3068\u5b9f\u88c5Tips\u304b\u306a\u3042\uff09<\/li>\n<li>\u30df\u30ad\u30b5\u30fc\u81ea\u4f53\u3092\u30bd\u30ed\u306b\u3059\u308b\u3068Callback\u3082\u6b62\u307e\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308b\u6a21\u69d8<\/li>\n<li>AudioSource\u3078\u306e\u76f4\u63a5\u7684\u306a\u30a2\u30af\u30bb\u30b9\u306f\u4e0d\u53ef\u80fd<br \/>\n\uff08\u3042\u304f\u307e\u3067\u51fa\u529b\u3055\u308c\u305f\u30aa\u30fc\u30c7\u30a3\u30aa\u306b\u5bfe\u3057\u30b9\u30c8\u30ea\u30fc\u30e0\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3060\u3051\uff09<\/li>\n<\/ul>\n<h3>\u5b9f\u88c5Tips<\/h3>\n<ul>\n<li>Callback\u51e6\u7406\u306b\u3064\u3044\u3066\u306f\u901a\u5e38\u7279\u6bb5\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f\u4e0d\u8981\u3002\u5e38\u306b\u9cf4\u308b\u3082\u306e\u3068\u3057\u3066\u51e6\u7406\u3092\u66f8\u3044\u3066\u304a\u304f<\/li>\n<li>\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u30ec\u30fc\u30c8\u306f\u5404\u74b0\u5883\u306b\u4f9d\u5b58\u3059\u308b\u305f\u3081\u3001\u5404\u7a2e\u69cb\u9020\u4f53\u304b\u3089\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/li>\n<li>Callback\u95a2\u6570\u306e\u5f15\u6570\u30fb\u623b\u308a\u5024\u306b\u3064\u3044\u3066\u306f\u300cAudioPluginInterface.h\u300d\u306b\u8a18\u8f09\u304c\u3042\u308b<\/li>\n<li>Callback\u95a2\u6570\u5185\u306b\u5206\u5c90\u306b\u3088\u3063\u3066\u300c\u66f8\u304d\u8fbc\u307e\u306a\u3044\u300d\u51e6\u7406\u3092\u884c\u3046\u3068\u30b0\u30ea\u30c3\u30c1\u304c\u767a\u751f\u3059\u308b\u306e\u3067\u6ce8\u610f<br \/>\n\u3064\u307e\u308a\u300c\u4f55\u3082\u3057\u306a\u3044\u51e6\u7406\u3092\u66f8\u304d\u8fbc\u3080\u300d\u524d\u63d0\u3067\u51e6\u7406\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b<\/li>\n<li>Editor\u4e0a\u3067\u306e\u51e6\u7406\u304c\u5fc5\u8981\u3067\u3042\u308c\u3070\u7279\u5b9aCallback\u95a2\u6570\u3078\u306e\u5024\u5f15\u304d\u6e21\u3057\u3067\u8abf\u6574\u53ef\u80fd<\/li>\n<li>DLL\u4e0a\u3067\u95a2\u6570\u3092\u516c\u958b\u3059\u308b\u3053\u3068\u3067\u3001C#\u7b49\u304b\u3089\u306e\u95a2\u6570\u547c\u3073\u51fa\u3057\u304c\u53ef\u80fd<br \/>\n\u305f\u3060\u3057\u30de\u30f3\u30b0\u30ea\u30f3\u30b0\u304c\u5fc5\u8981\u306a\u305f\u3081\u3001\u66f8\u304d\u65b9\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3002<br \/>\n\u8a18\u8ff0\u4f8b\uff1a\u300cextern &#8220;C&#8221; UNITY_AUDIODSP_EXPORT_API void xxx(xxx xxx) {}\u300d<br \/>\n\uff08\u597d\u304d\u306a\u95a2\u6570\u540d\u30fb\u5f15\u6570\u30fb\u623b\u308a\u5024\u306e\u578b\u3092\u6c7a\u3081\u3089\u308c\u307e\u3059\uff09<br \/>\n\u30de\u30f3\u30b0\u30ea\u30f3\u30b0\u306b\u3064\u3044\u3066\u306e\u53c2\u8003URL\uff1ahttps:\/\/albel06.hatenablog.com\/entry\/2016\/03\/17\/180000<\/li>\n<li>\u516c\u958b\u3057\u305f\u95a2\u6570\u306f\u4ee5\u4e0b\u8a18\u8f09\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067C#\u3067\u306e\u547c\u3073\u51fa\u3057\u304c\u53ef\u80fd<br \/>\n\u8a18\u8f09\u4f8b\uff1a[DllImport(&#8220;AudioPluginSinOsc&#8221;)]private static extern void xxx();<\/li>\n<li>Editor\u4e0a\u3067\u306e\u8aad\u307f\u8fbc\u307f\u306f\u3001\u300c\u5e38\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u5f62\u306b\u306a\u308b\u300d\u305f\u3081\u3001<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5185\u5bb9\u3092\u5909\u66f4\u3059\u308b\u969b\u3001Editor\u3067\u3059\u3067\u306b\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u5834\u5408\u306fEditor\u306e\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002<\/li>\n<li>\u3042\u3068Editor\u4e0a\u3060\u3068\u305a\u3063\u3068\u8aad\u307f\u8fbc\u307e\u308c\u3066\u308b\u5f62\u306a\u306e\u3067\u3001\u72b6\u614b\u3092\u4fdd\u7ba1\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u521d\u671f\u5316\u3055\u308c\u306a\u3044\u72b6\u614b\u304c\u305a\u3063\u3068\u7d9a\u304f\u305f\u3081\u3001\u7e70\u308a\u8fd4\u3057\u30c6\u30b9\u30c8\u3059\u308b\u5834\u5408\u306b\u4e0d\u5177\u5408\u304c\u8d77\u3053\u308b\u3053\u3068\u304c\u4e88\u60f3\u3055\u308c\u308b\u3002<br \/>\n\uff08\u7d20\u76f4\u306b\u30b7\u30fc\u30f3\u958b\u59cb\u6642\u306b\u5b9f\u884c\u3059\u308b\u81ea\u524d\u306e\u5909\u6570\u521d\u671f\u5316\u51e6\u7406\u66f8\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\uff09<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u52d5\u4f5c\u30b5\u30f3\u30d7\u30eb\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f kzr\u3055\u3093\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u53c2\u8003\u306b\u62e1\u5f35\u3057\u3066\u3001 \u305d\u308c\u3092IL2CPP\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u307f\u305f\u3082\u306e\u3002\uff08\u3068\u3044\u3046\u304bIL2CPP\u3068NativeAudioPlugin\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u30c6\u30b9\u30c8\uff09 https:\/\/machi&hellip; <span class=\"clear\"><\/span><a href=\"https:\/\/machiaworx.net\/?p=485\" class=\"more-link read-more\" rel=\"bookmark\"><span class=\"screen-reader-text\">Unity\u306eNativeAudioPlugin\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u307e\u3068\u3081\u3002<\/span><i class=\"fa fa-arrow-right\"><\/i> \u306e\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11,4],"tags":[],"class_list":["post-485","post","type-post","status-publish","format-standard","hentry","category-unity","category-synth-dev","category-pgm"],"_links":{"self":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=485"}],"version-history":[{"count":5,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/485\/revisions"}],"predecessor-version":[{"id":498,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/485\/revisions\/498"}],"wp:attachment":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}