{"id":1083,"date":"2017-11-15T23:24:09","date_gmt":"2017-11-15T14:24:09","guid":{"rendered":"https:\/\/www.utsbox.com\/?p=1083"},"modified":"2022-05-25T23:13:39","modified_gmt":"2022-05-25T14:13:39","slug":"vst3-6%e5%8b%89%e5%bc%b7%e4%b8%ad-9-midi%e3%83%a1%e3%83%83%e3%82%bb%e3%83%bc%e3%82%b8%e3%81%ae%e5%8f%97%e5%8f%961","status":"publish","type":"post","link":"https:\/\/www.utsbox.com\/?p=1083","title":{"rendered":"VST3\u30d7\u30e9\u30b0\u30a4\u30f3\u958b\u767a09 \u2013 MIDI\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u53d7\u53d61"},"content":{"rendered":"<h1>VST3\u30d7\u30e9\u30b0\u30a4\u30f3\u3067MIDI\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u4fe1\u3059\u308b\u65b9\u6cd51<\/h1>\n<p><a href=\"https:\/\/www.utsbox.com\/?p=1060\">\u524d\u56de<\/a>\u307e\u3067\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u5b9f\u88c5\u3084\u4fdd\u5b58\u306a\u3069\u3001\u3072\u3068\u3068\u304a\u308a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u306f\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u3068\u8003\u3048\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3010\u53c2\u8003\u3011<\/p>\n<table>\n<tr>\n<td><a href=\"https:\/\/www.utsbox.com\/?p=737\">\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5b9f\u88c5\u65b9\u6cd51<\/a><\/td>\n<td>\u306f\u3058\u3081\u3066\u306eVST3\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u57fa\u672c\u3068\u306a\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.utsbox.com\/?p=887\">\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5b9f\u88c5\u65b9\u6cd52<\/a><\/td>\n<td>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5b9f\u88c5\u65b9\u6cd51\u3067\u5b9f\u88c5\u3057\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306f\u300c0.0\uff5e1.0\u300d\u3057\u304b\u8868\u793a\u3067\u304d\u306a\u3044\u306e\u3067\u3001<br \/>\u305d\u308c\u4ee5\u5916(\u4f8b\u3048\u3070\u300c10\uff5e100\u300d\u3084\u6587\u5b57\u5217\u306e\u30ea\u30b9\u30c8\u306a\u3069)\u3092\u8868\u793a\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.utsbox.com\/?p=1016\">\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5b9f\u88c5\u65b9\u6cd53<\/a><\/td>\n<td>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3057\u3066\u81ea\u4f5c\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\u300c\u30d5\u30a3\u30eb\u30bf\u306e\u30ab\u30c3\u30c8\u30aa\u30d5\u5468\u6ce2\u6570\u300d\u7b49\u3067\u5229\u7528\u3059\u308b\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u4f4d\u7f6e\u3068\u51fa\u529b\u306e\u95a2\u4fc2\u304c\u7dda\u5f62\u3067\u306a\u3044\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.utsbox.com\/?p=1060\">\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u4fdd\u5b58\u65b9\u6cd5<\/a><\/td>\n<td>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5b9f\u88c5\u65b9\u6cd51\uff5e3\u3067\u8ffd\u52a0\u3057\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306f\u30db\u30b9\u30c8(DAW\u306a\u3069)\u3092\u7d42\u4e86\u3059\u308b\u3068\u521d\u671f\u5316\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\u7d42\u4e86\u6642\u306b\u4fdd\u5b58\u3057\u3001\u6b21\u56de\u8d77\u52d5\u6642\u306b\u30c7\u30fc\u30bf\u304c\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u4fdd\u5b58\u30fb\u8aad\u8fbc\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<p>\u3067\u3059\u306e\u3067\u3001\u4eca\u56de\u306fMIDI\u306e\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u4f5c\u6210\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306f<a href=\"https:\/\/www.utsbox.com\/?p=737\">VST3\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5b9f\u88c5\u65b9\u6cd5<\/a>\u3067\u4f5c\u6210\u3057\u305f\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30d9\u30fc\u30b9\u306b\u3057\u307e\u3059\u3002<br \/>\n(\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u5b9f\u88c5\u4ee5\u5916\u306b\u4f59\u8a08\u306a\u30b3\u30fc\u30c9\u304c\u5c11\u306a\u3044\u305f\u3081\u3067\u3059\u3002)<\/p>\n<ul>\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306f\u306a\u3057(\u305f\u3060\u3057\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u64cd\u4f5c\u30af\u30e9\u30b9\u306f\u5b9a\u7fa9\u3057\u307e\u3059\u3002)<\/li>\n<li>MIDI\u306e\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u5fdc\u3058\u3066\u97f3\u3092\u9cf4\u3089\u3059\u30e2\u30ce\u30d5\u30a3\u30c3\u30af\u30b7\u30f3\u30bb\u30b5\u30a4\u30b6\u30fc<\/li>\n<li>\u97f3\u8272\u306f\u30b5\u30a4\u30f3\u6ce2\u306e\u307f\u3002(\u30a8\u30f3\u30d9\u30ed\u30fc\u30d7\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u7b49\u306e\u6a5f\u80fd\u3082\u306a\u3057)<\/li>\n<li>\u5165\u529b\u30d0\u30b9\u3001\u51fa\u529b\u30d0\u30b9\u306f1\u3064\u3067\u3001\u5171\u306b\u30b9\u30c6\u30ec\u30aa(2ch)<\/li>\n<\/ul>\n<p>\u4eca\u56de\u30d9\u30fc\u30b9\u3068\u306a\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8aac\u660e\u306f<a href=\"https:\/\/www.utsbox.com\/?p=737\">\u3053\u3061\u3089<\/a>\u306b\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306eVST3\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306f\u3053\u3061\u3089\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u2192<a href=\"https:\/\/www.utsbox.com\/wp-content\/uploads\/2021\/04\/vst3dev_20210403.zip\">vst3dev_20210403<\/a><br \/>\nZIP\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306e\u300cvst3dev06_MIDI\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u4fe1\u3059\u308b\u65b9\u6cd51\u300d\u30d5\u30a9\u30eb\u30c0\u304c\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u30fb\u30d3\u30eb\u30c9\u306e\u65b9\u6cd5\u306f\u7c21\u5358\u306b\u3053\u3061\u3089\u3067\u3054\u8aac\u660e\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u3054\u53c2\u8003\u307e\u3067\u306b\u3002\u2192<a href=\"https:\/\/www.utsbox.com\/?p=1748\">\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u30d3\u30eb\u30c9\u65b9\u6cd5<\/a><\/p>\n<h1 id=\"\u97f3\u58f0\u51e6\u7406\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9\">\u97f3\u58f0\u51e6\u7406\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9<\/h1>\n<p>\u307e\u305a\u306f\u4eca\u56de\u4f5c\u6210\u3059\u308bVST\u306f\u30e2\u30ce\u30d5\u30a3\u30c3\u30af\u30b7\u30f3\u30bb\u30b5\u30a4\u30b6\u30fc\u3068\u3057\u3066\u52d5\u4f5c\u3059\u308b\u305f\u3081\u3001\u97f3\u58f0\u51e6\u7406\u30af\u30e9\u30b9\u306b\u3066\u5fc5\u8981\u306a\u5909\u6570\u7b49\u3092\u4e0b\u8a18\u306e\u901a\u308a\u5b9a\u7fa9\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n<!--more--><br \/>\n\u3010processor.h\u3011<br \/>\n[crayon start-line=&#8221;13&#8243; mark=&#8221;4-5,7,21-24&#8243;]<br \/>\nclass MyVSTProcessor : public AudioEffect<br \/>\n{<br \/>\nprotected:<br \/>\n\tParamValue  volume; \/\/ \u30aa\u30b7\u30ec\u30fc\u30bf\u306e\u97f3\u91cf<br \/>\n\tvector<float> pitchList; \/\/ \u62bc\u3055\u308c\u305f\u30ad\u30fc\u306e\u97f3\u7a0b(\u5468\u6ce2\u6570)\u3092\u4fdd\u5b58\u3059\u308b\u53ef\u5909\u9577\u914d\u5217<\/p>\n<p>\tParamValue theta; \/\/ \u30aa\u30b7\u30ec\u30fc\u30bf\u3068\u3057\u3066\u4f7f\u7528\u3059\u308bSIN\u95a2\u6570\u306e\u89d2\u5ea6\u03b8<br \/>\npublic:<br \/>\n\t\/\/ \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf<br \/>\n\tMyVSTProcessor();<\/p>\n<p>\t\/\/ \u30af\u30e9\u30b9\u3092\u521d\u671f\u5316\u3059\u308b\u95a2\u6570(\u5fc5\u9808)<br \/>\n\ttresult PLUGIN_API initialize(FUnknown* context);<\/p>\n<p>\t\/\/ \u30d0\u30b9\u69cb\u6210\u3092\u8a2d\u5b9a\u3059\u308b\u95a2\u6570\u3002<br \/>\n\ttresult PLUGIN_API setBusArrangements(SpeakerArrangement* inputs, int32 numIns, SpeakerArrangement* outputs, int32 numOuts);<\/p>\n<p>\t\/\/ \u97f3\u58f0\u4fe1\u53f7\u3092\u51e6\u7406\u3059\u308b\u95a2\u6570(\u5fc5\u9808)<br \/>\n\ttresult PLUGIN_API process(ProcessData&#038; data);<\/p>\n<p>\t\/\/ \u81ea\u4f5c\u95a2\u6570<br \/>\n\t\/\/ MIDI\u30ce\u30fc\u30c8\u30aa\u30f3\u30a4\u30d9\u30f3\u30c8\u3001MIDI\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u3051\u53d6\u3063\u305f\u5834\u5408\u306b\u51e6\u7406\u3059\u308b\u95a2\u6570<br \/>\n\tvirtual void onNoteOn (int channel, int note, float velocity);<br \/>\n\tvirtual void onNoteOff(int channel, int note, float velocity);<\/p>\n<p>\t\/\/ \u81ea\u4f5cVST Processor\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u95a2\u6570(\u5fc5\u9808)<br \/>\n\tstatic FUnknown* createInstance(void*) { return (IAudioProcessor*)new MyVSTProcessor(); }<br \/>\n};<br \/>\n[\/crayon]<br \/>\npitchList\u306f\u6a19\u6e96C++\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u52d5\u7684\u914d\u5217\u30af\u30e9\u30b9\u3067\u3042\u308bvector\u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002vector\u30af\u30e9\u30b9\u306e\u8aac\u660e\u306b\u3064\u3044\u3066\u306f\u5272\u611b\u3057\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001MIDI\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u3051\u53d6\u3063\u305f\u969b\u306b\u305d\u308c\u305e\u308c\u306e\u51e6\u7406\u3092\u884c\u3046onNoteOn()\u95a2\u6570\u3068onNoteOff()\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3089\u306e\u95a2\u6570\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<h1 id=\"\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u306e\u8ffd\u52a0\">\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u306e\u8ffd\u52a0<\/h1>\n<p>MIDI\u306e\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u3051\u53d6\u308b\u305f\u3081\u306b\u306f\u3001\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u3092\u5229\u7528\u3057\u307e\u3059\u3002<br \/>\n\u97f3\u58f0\u51e6\u7406\u30af\u30e9\u30b9\u306einitialize()\u95a2\u6570\u3067addEventInput()\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3066\u3001\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u3092\u8ffd\u52a0\u3044\u305f\u3057\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30e1\u30f3\u30d0\u30fc\u5909\u6570\u3082\u9069\u5f53\u306b\u521d\u671f\u5316\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3010processor.cpp\u3011<br \/>\n[crayon start-line=&#8221;23&#8243; mark=&#8221;11&#8243;]<br \/>\ntresult PLUGIN_API MyVSTProcessor::initialize(FUnknown* context)<br \/>\n{<br \/>\n\t\/\/ \u307e\u305a\u7d99\u627f\u5143\u30af\u30e9\u30b9\u306e\u521d\u671f\u5316\u3092\u5b9f\u65bd<br \/>\n\ttresult result = AudioEffect::initialize(context);<br \/>\n\tif (result == kResultTrue)<br \/>\n\t{<br \/>\n\t\t\/\/ \u5165\u529b\u3068\u51fa\u529b\u3092\u8a2d\u5b9a<br \/>\n\t\taddAudioOutput(STR16(&#8220;AudioOutput&#8221;), SpeakerArr::kStereo);<\/p>\n<p>\t\t\/\/ \u5165\u529b\u306eEventBus\u3092\u8ffd\u52a0\u3059\u308b<br \/>\n\t\taddEventInput(STR16(&#8220;Event Input&#8221;), 1);<\/p>\n<p>\t\t\/\/ \u4ee5\u4e0b\u56fa\u6709\u306e\u521d\u671f\u5316\u3092\u5b9f\u65bd\u3002<br \/>\n\t\tvolume = 0.0f;<br \/>\n\t\ttheta = 0.0f;<br \/>\n\t\tpitchList.clear();<br \/>\n\t}<\/p>\n<p>\t\/\/ \u521d\u671f\u5316\u304c\u6210\u529f\u3059\u308c\u3070kResultTrue\u3092\u8fd4\u3059\u3002<br \/>\n\treturn result;<br \/>\n}<br \/>\n[\/crayon]<br \/>\n\u306a\u304a\u3001\u3053\u306eVST\u3067\u306f\u5165\u529b\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u30d0\u30b9\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u8ffd\u52a0\u3057\u3066\u304a\u308a\u307e\u305b\u3093\u3002<\/p>\n<ul>\n<li>addEventInput()\u95a2\u6570<\/li>\n<table>\n<tr>\n<th>\u6982\u8981<\/th>\n<td colspan=\"3\">\u97f3\u58f0\u51e6\u7406\u30af\u30e9\u30b9\u306b\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"2\">\u623b\u308a\u5024<\/th>\n<th>\u578b<\/th>\n<th colspan=\"2\">\u6982\u8981<\/th>\n<\/tr>\n<tr>\n<td>EventBus*<\/td>\n<td colspan=\"2\">\u8ffd\u52a0\u3057\u305f\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u3078\u306e\u30dd\u30a4\u30f3\u30bf<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"5\">\u5f15\u6570<\/th>\n<th>\u578b<\/th>\n<th>\u5909\u6570\u540d<\/th>\n<th>\u6982\u8981<\/th>\n<\/tr>\n<tr>\n<td>const TChar*<\/td>\n<td>name<\/td>\n<td>\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u306e\u540d\u524d\u3002\u4efb\u610f\u306e\u540d\u524d\u3067\u3044\u3044<\/td>\n<\/tr>\n<tr>\n<td>int32<\/td>\n<td>channels<\/td>\n<td>\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u6570\u3002\u7701\u7565\u53ef\u3002\u7701\u7565\u3057\u305f\u5834\u5408\u306f16\u3068\u306a\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>BusType<\/td>\n<td>busType<\/td>\n<td>\u30d0\u30b9\u306e\u30bf\u30a4\u30d7\u3002kMain\u3082\u3057\u304f\u306fkAux\u3092\u6307\u5b9a\u3002\u7701\u7565\u53ef\u3002\u7701\u7565\u3057\u305f\u5834\u5408\u306fkMain\u3068\u306a\u308b\u3002\u57fa\u672c\u7684\u306bkMain\u3067\u3044\u3044\u306f\u305a<\/td>\n<\/tr>\n<tr>\n<td>int32<\/td>\n<td>flags<\/td>\n<td>\u30a4\u30d9\u30f3\u30c8\u30d0\u30b9\u306e\u30d5\u30e9\u30b0\u3002kDefaultActive\u306e\u307f\u6307\u5b9a\u53ef\u80fd\u3002\u7701\u7565\u53ef\u3002\u7701\u7565\u3057\u305f\u5834\u5408\u306fkDefaultActive\u3068\u306a\u308b\u3002<\/td>\n<\/tr>\n<\/table>\n<\/ul>\n<h1 id=\"MIDI\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u306e\u53d7\u3051\u53d6\u308a\">MIDI\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u306e\u53d7\u3051\u53d6\u308a<\/h1>\n<p>MIDI\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u306e\u53d7\u3051\u53d6\u308a\u306fprocess()\u95a2\u6570\u5185\u3067\u884c\u3044\u307e\u3059\u3002<br \/>\nMIDI\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u3092\u542b\u3081\u3044\u308d\u3044\u308d\u306a\u30a4\u30d9\u30f3\u30c8\u304c\u3042\u3063\u305f\u5834\u5408\u3001\u5f15\u6570\u306eProcessData&#038; data\u306b\u683c\u7d0d\u3055\u308c\u3066\u6e21\u3055\u308c\u307e\u3059\u3002<br \/>\n\u6e21\u3055\u308c\u305f\u30a4\u30d9\u30f3\u30c8\u306f\u8907\u6570\u3042\u308b\u305f\u3081\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u5206\u96e2\u3057\u3001\u5fc5\u8981\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u307f\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<br \/>\n(\u4eca\u56de\u306f\u5fc5\u8981\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092MIDI\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u3068\u3057\u307e\u3059\u3002)<\/p>\n<p>\u3010processor.cpp\u3011<br \/>\n[crayon start-line=&#8221;61&#8243; mark=&#8221;41-101&#8243;]<br \/>\ntresult PLUGIN_API MyVSTProcessor::process(ProcessData&#038; data)<br \/>\n{<br \/>\n\t\/\/ \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5909\u66f4\u306e\u51e6\u7406<br \/>\n\t\/\/ \u4e0e\u3048\u3089\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u304c\u3042\u308b\u3068\u304d\u3001data\u306einputParameterChanges\u306b<br \/>\n\t\/\/ IParameterChanges\u30af\u30e9\u30b9\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u306e\u30a2\u30c9\u30ec\u30b9\u304c\u5165\u308b<br \/>\n\tif (data.inputParameterChanges != NULL)<br \/>\n\t{<br \/>\n\t\t\/\/ \u4e0e\u3048\u3089\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u6570\u3092\u53d6\u5f97<br \/>\n\t\tint32 paramChangeCount = data.inputParameterChanges->getParameterCount();<\/p>\n<p>\t\t\/\/ \u4e0e\u3048\u3089\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5206\u3001\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u3002<br \/>\n\t\tfor (int32 i = 0; i < paramChangeCount; i++)\n\t\t{\n\t\t\t\/\/ \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5909\u66f4\u306e\u30ad\u30e5\u30fc\u3092\u53d6\u5f97\n\t\t\t\/\/ (\u51e6\u7406\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u5185\u306b\u8907\u6570\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5909\u66f4\u60c5\u5831\u304c\u3042\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\n\t\t\t\/\/ \u30ad\u30e5\u30fc\u3068\u3044\u3046\u5f62\u306b\u306a\u3063\u3066\u3044\u308b\u3002)\n\t\t\tIParamValueQueue* queue = data.inputParameterChanges->getParameterData(i);<br \/>\n\t\t\tif (queue != NULL)<br \/>\n\t\t\t{<br \/>\n\t\t\t\t\/\/ \u3069\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u304c\u5909\u66f4\u3055\u308c\u305f\u304b\u77e5\u308b\u305f\u3081\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u30fctag\u3092\u53d6\u5f97<br \/>\n\t\t\t\tint32 tag = queue->getParameterId();<\/p>\n<p>\t\t\t\t\/\/ \u5909\u66f4\u3055\u308c\u305f\u56de\u6570\u3092\u53d6\u5f97<br \/>\n\t\t\t\tint32 valueChangeCount = queue->getPointCount();<br \/>\n\t\t\t\tParamValue value;<br \/>\n\t\t\t\tint32 sampleOffset;<\/p>\n<p>\t\t\t\t\/\/ \u6700\u5f8c\u306b\u5909\u66f4\u3055\u308c\u305f\u5024\u3092\u53d6\u5f97<br \/>\n\t\t\t\tif (queue->getPoint(valueChangeCount &#8211; 1, sampleOffset, value) == kResultTrue)<br \/>\n\t\t\t\t{<br \/>\n\t\t\t\t\t\/\/ tag\u306b\u5fdc\u3058\u305f\u51e6\u7406\u3092\u5b9f\u65bd<br \/>\n\t\t\t\t\tswitch (tag)<br \/>\n\t\t\t\t\t{<br \/>\n\t\t\t\t\t\t\/\/ \u4eca\u56de\u306f\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u306a\u3044\u306e\u3067\u4f55\u3082\u3057\u306a\u3044<br \/>\n\t\t\t\t\t}<br \/>\n\t\t\t\t}<br \/>\n\t\t\t}<br \/>\n\t\t}<br \/>\n\t}<\/p>\n<p>\t\/\/ \u30a4\u30d9\u30f3\u30c8\u306e\u51e6\u7406<br \/>\n\t\/\/ \u4e0e\u3048\u3089\u308c\u305f\u30a4\u30d9\u30f3\u30c8\u304c\u3042\u308b\u3068\u304ddata\u306einputEvents\u306b<br \/>\n\t\/\/ IEventList\u30af\u30e9\u30b9\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u306e\u30a2\u30c9\u30ec\u30b9\u304c\u5165\u308b<br \/>\n\tIEventList* eventList = data.inputEvents;<br \/>\n\tif (eventList != NULL)<br \/>\n\t{<br \/>\n\t\t\/\/ \u30a4\u30d9\u30f3\u30c8\u306e\u6570\u3092\u53d6\u5f97\u3059\u308b\u3002<br \/>\n\t\tint32 numEvent = eventList->getEventCount();<br \/>\n\t\tfor (int32 i = 0; i < numEvent; i++)\n\t\t{\n\t\t\t\/\/ i\u756a\u76ee\u306e\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\n\t\t\tEvent event;\n\t\t\tif (eventList->getEvent(i, event) == kResultOk)<br \/>\n\t\t\t{<br \/>\n\t\t\t\tint16 channel;<br \/>\n\t\t\t\tint16 noteNo;<br \/>\n\t\t\t\tfloat velocity;<\/p>\n<p>\t\t\t\t\/\/ \u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u306e\u30bf\u30a4\u30d7\u3054\u3068\u306b\u632f\u308a\u5206\u3051<br \/>\n\t\t\t\tswitch (event.type)<br \/>\n\t\t\t\t{<br \/>\n\t\t\t\tcase Event::kNoteOnEvent: \/\/ \u30ce\u30fc\u30c8\u30aa\u30f3\u30a4\u30d9\u30f3\u30c8\u306e\u5834\u5408<br \/>\n\t\t\t\t\tchannel = event.noteOn.channel;<br \/>\n\t\t\t\t\tnoteNo = event.noteOn.pitch;<br \/>\n\t\t\t\t\tvelocity = event.noteOn.velocity;<\/p>\n<p>\t\t\t\t\tonNoteOn(channel, noteNo, velocity);<\/p>\n<p>\t\t\t\t\tbreak;<\/p>\n<p>\t\t\t\tcase Event::kNoteOffEvent: \/\/ \u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u306e\u5834\u5408<br \/>\n\t\t\t\t\tchannel = event.noteOff.channel;<br \/>\n\t\t\t\t\tnoteNo = event.noteOff.pitch;<br \/>\n\t\t\t\t\tvelocity = event.noteOff.velocity;<\/p>\n<p>\t\t\t\t\tonNoteOff(channel, noteNo, velocity);<br \/>\n\t\t\t\t\tbreak;<br \/>\n\t\t\t\t}<br \/>\n\t\t\t}<br \/>\n\t\t}<br \/>\n\t}<\/p>\n<p>[\/crayon]<\/p>\n<p>MIDI\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u304c\u3042\u3063\u305f\u5834\u5408\u306e\u51e6\u7406\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>\u3010processor.cpp\u3011<br \/>\n[crayon start-line=&#8221;178&#8243;]<br \/>\nvoid MyVSTProcessor::onNoteOn(int channel, int note, float velocity)<br \/>\n{<br \/>\n\t\/\/ MIDI\u30ce\u30fc\u30c8\u30aa\u30f3\u30a4\u30d9\u30f3\u30c8\u306e\u51e6\u7406\u3092\u884c\u3046<\/p>\n<p>\t\/\/ \u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u306a\u306e\u3067\u3001channel\u3068velocity\u306f\u7121\u8996\u3059\u308b<\/p>\n<p>\t\/\/ \u62bc\u3055\u308c\u305f\u30ce\u30fc\u30c8\u304b\u3089\u3001\u97f3\u7a0b\u3092\u8a08\u7b97<br \/>\n\t\/\/ \u30ce\u30fc\u30c8No.69\u304c440Hz\u306b\u306a\u308b\u3002\u3053\u308c\u3092\u57fa\u6e96\u306b\u8a08\u7b97\u3059\u308b\u3002<br \/>\n\t\/\/ \u8a08\u7b97\u5f0f\u306e\u8a73\u7d30\u8aac\u660e\u306b\u3064\u3044\u3066\u306f\u5272\u611b<br \/>\n\tfloat pitch = (440.0f * powf(2.0f, (float)(note &#8211; (69)) \/ 12.0));<\/p>\n<p>\t\/\/ pitchList\u306e\u6700\u5f8c\u306b\u8ffd\u52a0\u3059\u308b<br \/>\n\tpitchList.push_back(pitch);<\/p>\n<p>\t\/\/ \u30dc\u30ea\u30e5\u30fc\u30e0\u304c0.0f\u3060\u3068\u97f3\u304c\u51fa\u306a\u3044\u306e\u3067\u30921.0f\u306b\u3057\u3066\u304a\u304f<br \/>\n\tvolume = 1.0f;<\/p>\n<p>}<\/p>\n<p>void MyVSTProcessor::onNoteOff(int channel, int note, float velocity)<br \/>\n{<br \/>\n\t\/\/ MIDI\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u306e\u51e6\u7406\u3092\u884c\u3046<\/p>\n<p>\t\/\/ \u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u306a\u306e\u3067\u3001channel\u3068velocity\u306f\u7121\u8996\u3059\u308b<\/p>\n<p>\t\/\/ \u62bc\u3055\u308c\u305f\u30ce\u30fc\u30c8\u304b\u3089\u3001\u97f3\u7a0b\u3092\u8a08\u7b97<br \/>\n\tfloat pitch = (440.0f * powf(2.0f, (float)(note &#8211; (69)) \/ 12.0));<\/p>\n<p>\t\/\/ pitchList\u3092\u6700\u521d\u304b\u3089\u691c\u7d22\u3057\u3001pitch\u306b\u5408\u81f4\u3059\u308b\u3082\u306e\u3092\u524a\u9664\u3059\u308b<br \/>\n\tfor (int i = 0; i < (int)pitchList.size(); i++)\n\t{\n\t\tif (pitchList[i] == pitch)\n\t\t{\n\t\t\t\/\/ pitch\u3068\u5408\u81f4\u3059\u308b\u3082\u306e\u304c\u3042\u3063\u305f\u5834\u5408\u3001\n\t\t\t\/\/ \u8a72\u5f53\u3059\u308b\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u9664\u3044\u3066\u691c\u7d22\u3092\u7d42\u4e86\u3059\u308b\n\t\t\tpitchList.erase(pitchList.begin() + i);\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t\/\/ pitchList\u306e\u30b5\u30a4\u30ba\u304c0\u306e\u5834\u5408\u3001\u3064\u307e\u308a\u62bc\u3055\u308c\u305f\u30ce\u30fc\u30c8\u304c\u306a\u3044\u5834\u5408\u3001\n\t\/\/ \u30dc\u30ea\u30e5\u30fc\u30e0\u30920.0f\u306b\u3057\u3066\u97f3\u3092\u6d88\u3059\n\tif (pitchList.size() == 0)\n\t{\n\t\tvolume = 0.0f;\n\t}\n\n}\n[\/crayon]\n\nMIDI\u30ce\u30fc\u30c8\u30aa\u30f3\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u3051\u53d6\u3063\u305f\u969b\u306b\u306f\u3001\u30ce\u30fc\u30c8No\u306b\u5bfe\u5fdc\u3059\u308b\u97f3\u7a0b(\u5468\u6ce2\u6570)\u3092\u8a08\u7b97\u3057\u3001pitchList\u914d\u5217\u306e\u6700\u5f8c\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\n\u305d\u3057\u3066\u3001\u30aa\u30b7\u30ec\u30fc\u30bf\u306e\u97f3\u91cf\u30921.0\u306b\u3057\u3066\u97f3\u304c\u51fa\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\n\nMIDI\u30ce\u30fc\u30c8\u30aa\u30d5\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u3051\u53d6\u3063\u305f\u969b\u306b\u306f\u3001\u30ce\u30fc\u30c8No\u306b\u5bfe\u5fdc\u3059\u308b\u97f3\u7a0b(\u5468\u6ce2\u6570)\u3092\u8a08\u7b97\u3057\u305f\u3042\u3068\u3001pitchList\u914d\u5217\u304b\u3089\u8a72\u5f53\u3059\u308b\u97f3\u7a0b(\u5468\u6ce2\u6570)\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u9664\u304d\u307e\u3059\u3002\n\u305d\u3057\u3066\u3001pitchList\u914d\u5217\u306e\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\u3057\u30010\u306e\u5834\u5408(\u3064\u307e\u308a\u62bc\u3055\u308c\u3066\u3044\u308b\u9375\u76e4\u304c\u306a\u3044\u5834\u5408)\u97f3\u91cf\u30920\u306b\u3057\u307e\u3059\u3002\n\n\n\n<h1 id=\"\u97f3\u58f0\u51fa\u529b\u51e6\u7406\">\u97f3\u58f0\u51fa\u529b\u51e6\u7406<\/h1>\n<p>\u97f3\u58f0\u51e6\u7406\u90e8\u5206\u306f\u7c21\u5358\u306b\u4e0b\u8a18\u306e\u3068\u304a\u308a\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3010processor.cpp\u3011<br \/>\n[crayon start-line=&#8221;143&#8243; mark=&#8221;12-29&#8243;]<br \/>\n\t\/\/ \u5165\u529b\u30fb\u51fa\u529b\u30d0\u30c3\u30d5\u30a1\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u308f\u304b\u308a\u3084\u3059\u3044\u5909\u6570\u306b\u683c\u7d0d<br \/>\n\t\/\/ inputs[]\u3001outputs[]\u306fAudioBus\u306e\u6570\u3060\u3051\u3042\u308b(addAudioInput()\u3001addAudioOutput()\u3067\u8ffd\u52a0\u3057\u305f\u5206\u3060\u3051)<br \/>\n\t\/\/ \u4eca\u56de\u306fAudioBus\u306f1\u3064\u3060\u3051\u306a\u306e\u3067 0 \u306e\u307f\u3068\u306a\u308b<br \/>\n\t\/\/ channelBuffers32\u306f32bit\u6d6e\u52d5\u5c0f\u6570\u70b9\u578b\u306e\u30d0\u30c3\u30d5\u30a1\u3067\u97f3\u58f0\u4fe1\u53f7\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u6570\u5206\u3042\u308b<br \/>\n\t\/\/ \u30e2\u30ce\u30e9\u30eb(kMono)\u306a\u3089 0 \u306e\u307f\u3067\u3001\u30b9\u30c6\u30ec\u30aa(kStereo)\u306a\u3089 0(Left) \u3068 1(Right) \u3068\u306a\u308b<br \/>\n\tSample32* outL = data.outputs[0].channelBuffers32[0];<br \/>\n\tSample32* outR = data.outputs[0].channelBuffers32[1];<\/p>\n<p>\t\/\/ numSamples\u3067\u793a\u3055\u308c\u308b\u30b5\u30f3\u30d7\u30eb\u5206\u3001\u97f3\u58f0\u3092\u51e6\u7406\u3059\u308b<br \/>\n\tfor (int32 i = 0; i < data.numSamples; i++)\n\t{\n\t\t\/\/ \u30aa\u30b7\u30ec\u30fc\u30bf\u30fc\u306e\u97f3\u7a0b\u3092\u53d6\u5f97\u3059\u308b\u3002\n\t\tfloat pitch = 0.0f;\n\n\t\t\/\/ \u97f3\u7a0b\u30ea\u30b9\u30c8\u306e\u30b5\u30a4\u30ba\u304c0\u3067\u306a\u3044\u5834\u5408\n\t\tif (pitchList.size() != 0)\n\t\t{\n\t\t\t\/\/ \u6700\u5f8c\u306b\u62bc\u3055\u308c\u305fMIDI\u30ce\u30fc\u30c8\u306e\u97f3\u7a0b\u3092\u53d6\u5f97\u3059\u308b\n\t\t\tpitch = pitchList[pitchList.size() - 1];\n\t\t}\n\n\t\t\/\/ \u89d2\u5ea6\u03b8\u306b\u97f3\u7a0b\u306b\u5fdc\u3058\u305f\u89d2\u901f\u5ea6\u3092\u52a0\u3048\u308b\n\t\t\/\/ (\u3053\u3053\u3067\u306f\u30b5\u30f3\u30d7\u30eb\u30ec\u30fc\u30c844100Hz\u56fa\u5b9a\u3067\u8a08\u7b97\u3057\u3066\u3044\u308b\u306e\u3067\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u51e6\u7406\u3059\u308b)\n\t\ttheta += (2.0f * 3.14159265f * pitch) \/ 44100.0f;\n\n\t\t\/\/ \u30dc\u30ea\u30e5\u30fc\u30e0\u3068\u30aa\u30b7\u30ec\u30fc\u30bf(sin()\u95a2\u6570)\u306e\u5024(\u632f\u5e45)\u3092\u8a08\u7b97\u3057\u3066\u51fa\u529b\u3059\u308b\n\t\t\/\/ (\u7a81\u7136\u5927\u304d\u306a\u97f3\u304c\u3067\u308b\u3068\u307e\u305a\u3044\u306e\u3067\u3068\u308a\u3042\u3048\u305a0.3f\u3092\u639b\u3051\u3066\u3044\u308b)\n\t\toutL[i] = 0.3f * volume * sin(theta);\n\t\toutR[i] = 0.3f * volume * sin(theta);\n\t}\n[\/crayon]\n\nMIDI\u30ce\u30fc\u30c8\u304c\u62bc\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001volume\u304c0\u3068\u306a\u308a\u7121\u97f3\u72b6\u614b\u3068\u306a\u308a\u3001\u304b\u3064theta\u304c\u66f4\u65b0\u3055\u308c\u306a\u3044\u72b6\u614b\u3068\u306a\u308a\u307e\u3059\u3002\n\u62bc\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u6700\u5f8c\u306b\u62bc\u3055\u308c\u305fMIDI\u30ce\u30fc\u30c8\u306e\u97f3\u7a0b(\u5468\u6ce2\u6570)\u3092\u53d6\u5f97\u3057\u3001\u305d\u308c\u306b\u5408\u308f\u305b\u3066sin()\u95a2\u6570\u3092\u51fa\u529b\u3044\u305f\u3057\u307e\u3059\u3002\n\n\n\n\n<h1 id=\"\u30db\u30b9\u30c8\u306b\u697d\u5668(VSTi)\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307e\u305b\u308b\u305f\u3081\u306b\">\u30db\u30b9\u30c8\u306b\u697d\u5668(VSTi)\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307e\u305b\u308b\u305f\u3081\u306b<\/h1>\n<p>\u30db\u30b9\u30c8(DAW\u306a\u3069)\u306b\u697d\u5668(VSTi)\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307e\u305b\u308b\u305f\u3081\u306b\u306f\u3001factory.cpp\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u751f\u6210\u95a2\u6570\u306e\u81ea\u4f5cVST\u30ab\u30c6\u30b4\u30ea\u3092\u5909\u66f4\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<p>\u3010factroy.cpp\u3011<br \/>\n[crayon start-line=&#8221;18&#8243; mark=&#8221;8&#8243;]<br \/>\n\/\/ \u81ea\u4f5c\u3059\u308bVST\u306e\u540d\u524d\u3002\u7d42\u7aef\u6587\u5b57\u300c\\0\u300d\u542b\u3081\u306664\u6587\u5b57\u307e\u3067\u3002<br \/>\n#define MYVST_VSTNAME  &#8220;MyVST Name&#8221;<\/p>\n<p>\/\/ \u81ea\u4f5c\u3059\u308bVST\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3002\u7d42\u7aef\u6587\u5b57\u300c\\0\u300d\u542b\u3081\u306664\u6587\u5b57\u307e\u3067\u3002<br \/>\n#define MYVST_VERSION  &#8220;0&#8221; <\/p>\n<p>\/\/ \u81ea\u4f5c\u3059\u308bVST\u306e\u30ab\u30c6\u30b4\u30ea\u3002\u7d42\u7aef\u6587\u5b57\u300c\\0\u300d\u542b\u3081\u306664\u6587\u5b57\u307e\u3067\u3002<br \/>\n#define MYVST_SUBCATEGORIES Vst::PlugType::kInstrument<\/p>\n<p>[\/crayon]<\/p>\n<p>\u4eca\u307e\u3067\u306fVst::PlugType::kFx\u3068\u3057\u3066\u3044\u305f\u306e\u3067\u30a8\u30d5\u30a7\u30af\u30bf\u30fc\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307e\u305b\u3066\u3044\u307e\u3057\u305f\u304c\u3001<br \/>\nVst::PlugType::kInstrument\u3068\u3059\u308b\u3053\u3068\u3067\u697d\u5668(VSTi)\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u4ed6\u306b\u3082\u30ab\u30c6\u30b4\u30ea\u306f\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u7701\u7565\u3044\u305f\u3057\u307e\u3059\u3002\u8a73\u3057\u304f\u306f<a href=\"https:\/\/www.utsbox.com\/?p=1152\">\u3053\u3061\u3089<\/a>\u3067\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1 id=\"\u6ce8\u610f\u4e8b\u9805\u306b\u3064\u3044\u3066\">\u6ce8\u610f\u4e8b\u9805\u306b\u3064\u3044\u3066<\/h1>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067volume\u30920.0\u21921.0\u30841.0\u21920.0\u306e\u3088\u3046\u306b\u632f\u5e45\u3092\u6025\u6fc0\u306b\u5909\u5316\u3055\u305b\u3066\u3044\u308b\u305f\u3081\u3001\u30ce\u30a4\u30ba\u304c\u5165\u308a\u307e\u3059\u3002<br \/>\n\u57fa\u672c\u7684\u306b\u306f\u554f\u984c\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u5927\u304d\u306a\u97f3\u91cf\u306e\u5834\u5408\u3001\u8033\u3084\u30b9\u30d4\u30fc\u30ab\u30fc\u3092\u75db\u3081\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u5c11\u3057\u5c0f\u3055\u3081\u306e\u97f3\u3067\u8a66\u3057\u3066\u3044\u305f\u3060\u304f\u3088\u3046\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<h1 id=\"\u6700\u5f8c\u306b\">\u6700\u5f8c\u306b<\/h1>\n<p>\u4ee5\u4e0a\u3067MIDI\u306e\u30ce\u30fc\u30c8\u30aa\u30f3\/\u30ce\u30fc\u30c8\u30aa\u30d5\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u306a\u304a\u672c\u30b5\u30f3\u30d7\u30eb\u3067\u306fMIDI\u30a4\u30d9\u30f3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u53b3\u5bc6\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u51e6\u7406\u3092\u7701\u7565\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u8981\u671b\u304c\u3042\u308c\u3070\u8a18\u8f09\u3044\u305f\u3057\u307e\u3059\u306e\u3067\u3001<a href=\"https:\/\/jbbs.shitaraba.net\/computer\/42917\/\" title=\"\u63b2\u793a\u677f\" target=\"_blank\" rel=\"noopener noreferrer\">\u63b2\u793a\u677f<\/a>\u304b<a href=\"https:\/\/twitter.com\/vstcpp\" title=\"Twitter\" target=\"_blank\" rel=\"noopener noreferrer\">Twitter<\/a>\u3067\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.utsbox.com\/?p=1109\">\u6b21\u56de<\/a>\u306fMIDI\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30c1\u30a7\u30f3\u30b8\u3092\u53d7\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000\u6b21\u56de\u2192<a href=\"https:\/\/www.utsbox.com\/?p=1109\">MIDI\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u53d7\u53d62<\/a><\/p>\n<p>\u3053\u306eVST3\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306f\u3053\u3061\u3089\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3000\u2192\u3000<a href=\"https:\/\/www.utsbox.com\/wp-content\/uploads\/2021\/04\/vst3dev_20210403.zip\">vst3dev_20210403.zip<\/a><br \/>\n\u30b3\u30f3\u30d1\u30a4\u30eb\u30fb\u30d3\u30eb\u30c9\u306e\u65b9\u6cd5\u306f\u7c21\u5358\u306b\u3053\u3061\u3089\u3067\u3054\u8aac\u660e\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u3054\u53c2\u8003\u307e\u3067\u306b\u3002\u2192<a href=\"https:\/\/www.utsbox.com\/?p=1748\">\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u30d3\u30eb\u30c9\u65b9\u6cd5<\/a><\/p>\n<p><a href=\"https:\/\/www.utsbox.com\/?page_id=1316\">VST3\u30d7\u30e9\u30b0\u30a4\u30f3\u4f5c\u308a<\/a>\u306e\u60c5\u5831\u306f\u3053\u3061\u3089\u306b\u3082\u3054\u3056\u3044\u307e\u3059\u3000\u2192\u3000<a href=\"https:\/\/www.utsbox.com\/?page_id=1316\">\u306f\u3058\u3081\u3066\u306eVST3\u30d7\u30e9\u30b0\u30a4\u30f3\u4f5c\u308a<\/a><\/p>\n<p>\u3054\u6307\u6458\u3084\u3054\u8cea\u554f\u306a\u3069\u304c\u3054\u3056\u3044\u307e\u3057\u305f\u3089\u3001\u30b3\u30e1\u30f3\u30c8\u6b04\u304b<a href=\"https:\/\/jbbs.shitaraba.net\/computer\/42917\/\" title=\"\u63b2\u793a\u677f\" target=\"_blank\" rel=\"noopener noreferrer\">\u63b2\u793a\u677f<\/a>\u3001<a href=\"https:\/\/twitter.com\/vstcpp\">Twitter<\/a>\u3067\u3054\u9023\u7d61\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u25a0<a href=\"https:\/\/jbbs.shitaraba.net\/computer\/42917\/\" title=\"\u63b2\u793a\u677f\" target=\"_blank\" rel=\"noopener noreferrer\">\u63b2\u793a\u677f<\/a><br \/>\n\u25a0Twitter\u30a2\u30ab\u30a6\u30f3\u30c8\uff1a@vstcpp\u3000\u3000\u3000URL\uff1a<a href=\"https:\/\/twitter.com\/vstcpp\">https:\/\/twitter.com\/vstcpp<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VST3\u30d7\u30e9\u30b0\u30a4\u30f3\u3067MIDI\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u4fe1\u3059\u308b\u65b9\u6cd51 \u524d\u56de\u307e\u3067\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u5b9f\u88c5\u3084\u4fdd\u5b58\u306a\u3069\u3001\u3072\u3068\u3068\u304a\u308a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u306f\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u3068\u8003\u3048\u3066\u304a\u308a\u307e\u3059\u3002 \u3010\u53c2\u8003\u3011 \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5b9f\u88c5\u65b9\u6cd51 \u306f\u3058\u3081\u3066\u306eVS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-1083","post","type-post","status-publish","format-standard","hentry","category-vst3"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p5fXUX-ht","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.utsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/1083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.utsbox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.utsbox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.utsbox.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.utsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1083"}],"version-history":[{"count":30,"href":"https:\/\/www.utsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/1083\/revisions"}],"predecessor-version":[{"id":3742,"href":"https:\/\/www.utsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/1083\/revisions\/3742"}],"wp:attachment":[{"href":"https:\/\/www.utsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.utsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.utsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}