{"id":896,"date":"2021-05-20T04:23:21","date_gmt":"2021-05-19T19:23:21","guid":{"rendered":"https:\/\/machiaworx.net\/?p=896"},"modified":"2021-05-30T04:40:59","modified_gmt":"2021-05-29T19:40:59","slug":"onaudiofilterread%e9%96%a2%e6%95%b0%e5%86%85%e3%81%a7%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab%e9%b3%b4%e3%82%89%e3%81%99%e6%96%b9%e6%b3%95%e3%80%82","status":"publish","type":"post","link":"https:\/\/machiaworx.net\/?p=896","title":{"rendered":"OnAudioFilterRead\u95a2\u6570\u5185\u3067\u30b5\u30f3\u30d7\u30eb\u9cf4\u3089\u3059\u65b9\u6cd5\u3002"},"content":{"rendered":"<h3>\u306f\u3058\u3081\u306b<\/h3>\n<p>\u203b\u3042\u3068\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3082\u66f8\u3044\u3066\u3057\u307e\u304a\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u3001Unity\u3067\u306f\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u3067AudioClip\uff5eAudioSource\uff5eAudioListener\u3092\u5229\u7528\u3057\u3066\u30b5\u30a6\u30f3\u30c9\u51fa\u529b\u3059\u308b\u304c\u3001<br \/>\n\u7279\u6b8a\u306a\u3053\u3068\u3092\u3057\u305f\u3044\u5834\u5408\u3001OnAudioFilterRead\u95a2\u6570\u306b\u3066\u51e6\u7406\u3092\u66f8\u304f\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u30b7\u30f3\u30bb\u30b5\u30a4\u30b6\u30fc\u3092\u81ea\u4f5c\u3059\u308b\u5834\u5408\u3001\u3053\u3053\u306b\u51e6\u7406\u3092\u66f8\u304f\u5fc5\u8981\u304c\u51fa\u3066\u304f\u308b\u3002<\/p>\n<p>\u305f\u3060\u3001\u3053\u306e\u95a2\u6570\u306f\u3042\u304f\u307e\u3067\u30d0\u30c3\u30d5\u30a1\u304c\u6765\u305f\u6642\u306b\u8aad\u307f\u8fbc\u3080\u305f\u3081\u3001\u30e1\u30a4\u30f3\u3068\u306f\u5225\u306e\u30b9\u30ec\u30c3\u30c9\u306b\u3066\u51e6\u7406\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002<br \/>\n\u3088\u3063\u3066\u3001UnityEngine\u30af\u30e9\u30b9\u5185\u306e\u95a2\u6570\u306f\u5b9f\u884c\u3067\u304d\u306a\u3044\u3002<br \/>\n\u97f3\u5468\u308a\u3067\u306fAudio\u5468\u308a\u306e\u5099\u3048\u4ed8\u3051\u95a2\u6570\u304c\u30ad\u30c3\u30af\u3067\u304d\u306a\u3044\u3002<\/p>\n<p>Update\u95a2\u6570\u4e0a\u3067\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3060\u3068\u4e0b\u8a18\u30ea\u30f3\u30af\u306e\u3088\u3046\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u306a\u308b\u3002<br \/>\n\u518d\u751f\u81ea\u4f53\u306f\u53ef\u80fd\u3060\u3057\u3001\u30b0\u30ea\u30c3\u30c9\u5468\u308a\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3082\u554f\u984c\u306a\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3063\u3066\u308b\u3002<\/p>\n<p><a href=\"https:\/\/radiumsoftware.tumblr.com\/post\/13189647626\">Keijiro&#8217;s Dev Log \u2014 Unity \u3067\u30b7\u30fc\u30b1\u30f3\u30b5\u30fc\u3092\u4f5c\u3063\u3066\u307f\u308b (tumblr.com)<\/a><\/p>\n<p>\u3068\u306f\u3044\u3046\u3082\u306e\u306e\u3001\u30aa\u30fc\u30c7\u30a3\u30aa\u306f\u30d0\u30c3\u30d5\u30a1\u3092\u8a70\u3081\u8fbc\u3093\u3067\u767a\u97f3\u3059\u308b\u5f62\u306e\u305f\u3081\u3001<br \/>\ndelay\u304c\u3069\u3053\u307e\u3067\u6709\u52b9\u304b\u3001\u3063\u3066\u306e\u306f\u6b63\u76f4Update\u95a2\u6570\u306e\u983b\u5ea6\u3001\u3072\u3044\u3066\u306fUnity\u672c\u4f53\u306b\u4f9d\u5b58\u3059\u308b\u306e\u3082\u4e8b\u5b9f\u3002<\/p>\n<p>\u4e0a\u8a18\u65b9\u6cd5\u3092Unity\u3067\u5b9f\u88c5\u3059\u308b\u30e1\u30a4\u30f3\u306e\u65b9\u6cd5\u3068\u3057\u3066\u3001\u5225\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u6a21\u7d22\u3057\u305f\u3044\u3002<\/p>\n<h3>\u60c5\u5831\u6574\u7406<\/h3>\n<p>\u76ee\u7684<\/p>\n<ul>\n<li>OnAudioFilterRead\u95a2\u6570\u5185\u3067\u3069\u3046\u306b\u304b\u3057\u305f\u3044\uff08\u95a2\u9023\u3059\u308b\u51e6\u7406\u306e\u5206\u6563\u9632\u6b62\uff09<\/li>\n<li>\u30e1\u30a4\u30f3\u95a2\u6570\u4ee5\u5916\u3067\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u6271\u3044\u305f\u3044<\/li>\n<li>\u30aa\u30fc\u30c7\u30a3\u30aa\u306e\u767a\u97f3\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u6b63\u78ba\u306b\u53d6\u308a\u305f\u3044<\/li>\n<\/ul>\n<p>\u305f\u3060\u3001\u4ee5\u4e0b\u306e\u70b9\u306f\u6ce8\u610f\u3002<\/p>\n<ul>\n<li>OnAudioFilterRead\u95a2\u6570\u306e\u51e6\u7406\u81ea\u4f53\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u30b9\u30ed\u30fc\u306b\u306a\u308b\u3057\u30ce\u30a4\u30ba\u304c\u8f09\u308b<\/li>\n<li>\u5fc5\u8981\u304c\u3042\u308c\u3070\u30c7\u30fc\u30bf\u306e\u88dc\u9593\u304c\u5fc5\u8981\u304b\u3082\u3057\u308c\u306a\u3044<\/li>\n<li>\u6700\u60aa\u30d7\u30e9\u30b0\u30a4\u30f3\u4f5c\u6210\u3057\u3066\u9ad8\u901f\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<\/li>\n<\/ul>\n<h3>\u30b5\u30f3\u30d7\u30eb\u518d\u751f\u306e\u305f\u3081\u306e\u30c7\u30fc\u30bf\u53d6\u5f97<\/h3>\n<p>\u307e\u305a\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u30c7\u30fc\u30bf\u3092\u3069\u3046\u3084\u3063\u3066\u53d6\u5f97\u3059\u308b\u304b\u3068\u3044\u3046\u8a71\u3067\u3042\u308b\u3002<\/p>\n<p>AudioClip\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308b\u305f\u3081\u3001\u3053\u308c\u3092\u4f7f\u3046\u3002<\/p>\n<p><a href=\"https:\/\/docs.unity3d.com\/jp\/current\/ScriptReference\/AudioClip.GetData.html\">AudioClip-GetData &#8211; Unity \u30b9\u30af\u30ea\u30d7\u30c8\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9 (unity3d.com)<\/a><\/p>\n<p>\u3053\u308c\u3067\u914d\u5217\u3067\u53d6\u5f97\u3057\u3066\u3057\u307e\u3048\u3070\u30e1\u30a4\u30f3\u95a2\u6570\u4ee5\u5916\u3067\u3082\u53d6\u5f97\u53ef\u80fd\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3002<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u5727\u7e2e\u3055\u308c\u305f\u30aa\u30fc\u30c7\u30a3\u30aa\u30d5\u30a1\u30a4\u30eb\u3001\u30aa\u30fc\u30c7\u30a3\u30aa\u30a4\u30f3\u30dd\u30fc\u30bf\u30fc\u3067 Load Type \u304c Decompress on Load \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092\u5f15\u304d\u51fa\u3059\u306e\u307f\u3057\u304b\u3067\u304d\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/strong><\/p>\n<p style=\"padding-left: 40px;\"><strong>\u3082\u3057\u3053\u308c\u304c\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u3001\u914d\u5217\u306f\u3059\u3079\u3066\u306e\u30b5\u30f3\u30d7\u30eb\u5024\u3092 0 \u3068\u3057\u3066\u8fd4\u3059\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/strong><\/p>\n<p>\u3068\u306e\u3053\u3068\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u5024\u304c\uff10\u306e\u5834\u5408\u8aad\u307f\u8fbc\u3081\u3066\u306a\u3044\u3088\u3001\u3068\u3044\u3046\u5206\u5c90\u3092\u7d44\u307f\u8fbc\u3093\u3067\u304a\u304f\u306e\u304c\u3044\u3044\u306e\u304b\u3082\u3002<\/p>\n<h3>\u767a\u97f3<\/h3>\n<p>OnAudioFilterRead\u95a2\u6570\u5185\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u5358\u4f4d\u3067\u6ce2\u5f62\u3092\u66f8\u304d\u8fbc\u3080\u5f62\u306b\u306a\u308b\u305f\u3081\u3001<br \/>\n\u672c\u6765\u3060\u3068\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u30ec\u30fc\u30c8\u3092\u63c3\u3048\u305f\u308a\u30b9\u30c8\u30ec\u30c3\u30c1\u3057\u305f\u4e0a\u3067\u30c7\u30fc\u30bf\u306e\u66f8\u304d\u8fbc\u307f\u304c\u5fc5\u8981\u3002<\/p>\n<p>\u305f\u3060\u307e\u3041\u3084\u3089\u306a\u304f\u3066\u3082\u97f3\u306f\u66f8\u304d\u8fbc\u3081\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u5358\u4f4d\u3067\u6ce2\u5f62\u3092\u30d7\u30e9\u30b9\u3057\u305f\u4e0a\u3067\u3001OnAudioFilterRead\u95a2\u6570\u306e\u5f15\u6570\uff08float[]\uff09\u306b\u66f8\u304d\u8fbc\u3080\u5f62\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001WAV\u30c7\u30fc\u30bf\u3067\u6ce8\u610f\u306a\u306e\u306f\u3001\uff11\u70b9\u3002<\/p>\n<ul>\n<li>\u30c1\u30e3\u30f3\u30cd\u30eb\u3054\u3068\u306e\u30c7\u30fc\u30bf\u306f\u307e\u3068\u307e\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001<br \/>\n\u300c\u30c1\u30e3\u30f3\u30cd\u30eb\uff11\u2192\u30c1\u30e3\u30f3\u30cd\u30eb\uff12\u2192\u30c1\u30e3\u30f3\u30cd\u30eb\uff11\u2192\u30fb\u30fb\u30fb\u300d\u307f\u305f\u3044\u306a\u66f8\u304d\u65b9\u306b\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\n\u3088\u3063\u3066\u3001\u30c7\u30fc\u30bf\u3092\u5f15\u3063\u3053\u629c\u304f\u969b\u306b\u305f\u3060\u306e\u7dda\u5f62\u7684\u306a\u5f15\u7528\u3067\u306f\u306a\u304f\u3001\u30c7\u30fc\u30bf\uff11\u500b\u98db\u3070\u3057\u307f\u305f\u3044\u306a\u5f62\u3067\u53d6\u5f97\u3057\u3066\u304f\u308b\u5fc5\u8981\u3042\u308a<\/li>\n<\/ul>\n<p>\u3053\u308c\u306f\u610f\u5916\u3068\u76f2\u70b9\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<h3>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h3>\n<p>\u6642\u9593\u304c\u3042\u308c\u3070\u66f8\u304f\u3002\uff08\u4eca\u306e\u6240\u8272\u3005\u6539\u9020\u3057\u3066\u30b7\u30f3\u30d7\u30eb\u306a\u4f8b\u3092\u4f5c\u3063\u3066\u306a\u3044\u306e\u3067\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u203b\u3042\u3068\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3082\u66f8\u3044\u3066\u3057\u307e\u304a\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u3002 \u901a\u5e38\u3001Unity\u3067\u306f\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u3067AudioClip\uff5eAudioSource\uff5eAudioListener\u3092\u5229\u7528\u3057\u3066\u30b5\u30a6\u30f3\u30c9\u51fa\u529b\u3059\u308b\u304c\u3001 \u7279\u6b8a\u306a\u3053\u3068\u3092\u3057\u305f\u3044\u5834&hellip; <span class=\"clear\"><\/span><a href=\"https:\/\/machiaworx.net\/?p=896\" class=\"more-link read-more\" rel=\"bookmark\"><span class=\"screen-reader-text\">OnAudioFilterRead\u95a2\u6570\u5185\u3067\u30b5\u30f3\u30d7\u30eb\u9cf4\u3089\u3059\u65b9\u6cd5\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,4],"tags":[],"class_list":["post-896","post","type-post","status-publish","format-standard","hentry","category-unity","category-pgm"],"_links":{"self":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/896","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=896"}],"version-history":[{"count":7,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/896\/revisions"}],"predecessor-version":[{"id":912,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/896\/revisions\/912"}],"wp:attachment":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}