{"id":17060,"date":"2025-08-29T10:38:00","date_gmt":"2025-08-29T01:38:00","guid":{"rendered":"https:\/\/store.miroc.co.jp\/magazine\/?post_type=paradise&#038;p=17060"},"modified":"2025-09-09T19:30:49","modified_gmt":"2025-09-09T10:30:49","slug":"segawa_shoten_44","status":"publish","type":"paradise","link":"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_44","title":{"rendered":"\u702c\u5ddd\u5546\u5e97 \u7b2c44\u56de\uff1aMIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u2463"},"content":{"rendered":"\n<p>\u3053\u308c\u307e\u3067\u306e\u3010MIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u3011 \u2192 <a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_41\">\u521d\u56de<\/a>\uff5c<a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_42\">\u7b2c2\u56de<\/a>\uff5c<a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_43\">\u7b2c3\u56de<\/a><\/p>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u6700\u7d42\u30cf\u30f3\u30c0\u4ed8\u3051\u524d\u306e\u30c6\u30b9\u30c8\u3092\u3057\u307e\u3057\u3087\u3046\u3002<a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_43\">\u524d\u56de\u306f<\/a>\u30ef\u30cb\u53e3\u30af\u30ea\u30c3\u30d7\u3092\u4f7f\u3063\u305f\u5199\u771f\u3067\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3001\u4eca\u56de\u306f\u4e21\u30b5\u30a4\u30c9\u5171\u306b\u30e1\u30b9\u306e\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4\u3092\u4f7f\u3063\u305f\u914d\u7dda\u306e\u5199\u771f\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002\u3053\u306e\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4\u306e\u30e1\u30b9\u3063\u3066\u8089\u773c\u3067\u306f\u5206\u304b\u308a\u306b\u304f\u3044\u306e\u3067\u3059\u304c\u3001\u30b9\u30e9\u30a4\u30c0\u62b5\u6297\u306e\u7aef\u5b50\u306b\u5bfe\u3057\u3066\u629c\u3051\u306b\u304f\u304f\u30cf\u30de\u308b\u89d2\u5ea6\u304c\u3042\u308a\u307e\u3059\u3002\u30b9\u30dd\u30b9\u30dd\u629c\u3051\u3061\u3083\u3046\u3088\u3046\u3060\u3063\u305f\u308990\u5ea6\u5411\u304d\u3092\u5909\u3048\u3066\u5dee\u3057\u8fbc\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u3042\u305d\u308c\u3067\u3082\u629c\u3051\u3061\u3083\u3053\u3068\u306f\u3042\u308b\u3051\u3069\u306d\uff08\u7b11\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"638\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/\u56f313414w1.png\" alt=\"\" class=\"wp-image-17063\" style=\"width:700px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/\u56f313414w1.png 850w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/\u56f313414w1-768x576.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/figure>\n\n\n\n<p><br>\u307e\u305a\u306f\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/Three_Fader_MIDI_Controller.zip\">Three_Fader_MIDI_Controller\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/p>\n\n\n\n<p>\u203bZIP\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308bThree_Fader_MIDI_Controller.ino\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059<\/p>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092Arduino IDE\u3067\u958b\u3044\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u306e\u306f\u524d\u56de\u3068\u540c\u3058\u3067\u3059\u3002\u307e\u305a\u4eca\u56de\u3084\u3063\u3068Arduino\u3067\u4f7f\u3048\u308bMIDI\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Arduino IDE\u306e\u5de6\u5074\u306e\u672c\u304c\u68da\u306b\u4e26\u3093\u3067\u3044\u308b\u3088\u3046\u306a\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u300d\u3068\u898b\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u3053\u306b\u300cMIDIUSB\u300d\u3068\u5165\u529b\u3059\u308b\u3068Gary Grewal\u6c0f\u304c\u66f8\u3044\u3066\u304f\u308c\u305fMIDI\u30c7\u30fc\u30bf\u3092\u6271\u3046\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u304c\u898b\u3048\u307e\u3059\u306e\u3067\u3001\u305d\u308c\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u50d5\u306e\u74b0\u5883\u3067\u306f\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306a\u306e\u3067\u3001\u3053\u3093\u306a\u611f\u3058\u306e\u753b\u9762\u3068\u306a\u308a\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u5fa1\u4f5c\u6cd5\u3068\u3057\u3066\u4e00\u5ea6Arduino IDE\u3092\u7d42\u4e86\u3057\u3066\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1400\" height=\"952\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-23.png\" alt=\"\" class=\"wp-image-17067\" style=\"width:1000px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-23.png 1400w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-23-1176x800.png 1176w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-23-768x522.png 768w\" sizes=\"auto, (max-width: 1400px) 100vw, 1400px\" \/><\/figure>\n\n\n\n<p>\u518d\u8d77\u52d5\u3057\u305f\u3089\u3001\u5148\u307b\u3069\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Arduino Pro Micro\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5c11\u3057\u30b3\u30fc\u30c9\u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u524d\u56de\u3082\u8aac\u660e\u3057\u307e\u3057\u305f\u304c\u3001\/*<em>\u301c<\/em>\/ \u3084 \/\/\u304c\u5192\u982d\u306b\u3042\u308b\u884c\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3068\u8a00\u3063\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306f\u5f71\u97ff\u304c\u51fa\u306a\u3044\u30e1\u30e2\u66f8\u304d\u306e\u90e8\u5206\u3067\u3059\u3002<\/p>\n\n\n\n<p><br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#cd97c9\" class=\"has-inline-color\">#include<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">&lt;MIDIUSB.h&gt;<\/mark><\/p>\n\n\n\n<p>\u3053\u3053\u3067\u4ee5\u4e0b\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u300cMIDIUSB\u300d\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3044\u307e\u3059\u3088\u301c\u3068\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">const int<\/mark> FADER_1_CC = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">1<\/mark>;<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">const int<\/mark> FADER_2_CC = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">11<\/mark><br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">const int<\/mark> FADER_3_CC = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">21<\/mark><\/p>\n\n\n\n<p>\u3053\u3053\u3067\u305d\u308c\u305e\u308c\u306e\u30d5\u30a7\u30fc\u30c0\u30fc\u3067\u4f55\u756a\u306eCC\u30ca\u30f3\u30d0\u30fc\u3092\u9001\u4fe1\u3059\u308b\u304b\u3092\u6c7a\u3081\u307e\u3059\u3002\u5287\u4f34\u3067\u6bce\u65e5\u4f7f\u3046\u306e\u306f\u52ff\u8ad61\u306811\u3001\u305d\u308c\u304b\u3089\u30d3\u30d6\u30e9\u30fc\u30c8\u306e\u30c7\u30d7\u30b9\u306b\u4f7f\u308f\u308c\u308b\u3053\u3068\u304c\u591a\u304421\u3092\u30a2\u30b5\u30a4\u30f3\u3057\u307e\u3057\u3087\u3046\u304b\u3002\u3053\u3053\u306f\u7686\u3055\u3093\u304c\u4f7f\u3063\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306b\u5408\u308f\u305b\u3066\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002Pan\u306b\u30a2\u30b5\u30a4\u30f3\u3057\u305f\u3051\u308c\u307010\u3001\u30dc\u30ea\u30e5\u30fc\u30e0\u3060\u3063\u305f\u30897\u3001\u30d6\u30ec\u30b9\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u4ee3\u308f\u308a\u306b\u4f7f\u3044\u305f\u3051\u308c\u30702\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">const int<\/mark> FADER_RAW_MIN = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">18<\/mark>; <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">\/\/ \u6e2c\u5b9a\u3057\u305f\u6700\u5c0f\u5024<\/mark><br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">const int<\/mark> FADER_RAW_MAX = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">930<\/mark>; <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">\/\/ \u6e2c\u5b9a\u3057\u305f\u6700\u5927\u5024<\/mark><\/p>\n\n\n\n<p>\u3053\u3053\u3067\u524d\u56de\u8a08\u6e2c\u3057\u305f\u6570\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u3053\u3053\u306f\u6700\u7d42\u7684\u306a\u7d44\u307f\u8fbc\u307f\u304c\u6e08\u3093\u3060\u5f8c\u3067\u518d\u5ea6\u8abf\u6574\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">int<\/mark> lastFaderValue1 = &#8211;<mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">1<\/mark>;<\/p>\n\n\n\n<p>MIDI\u306e\u6570\u5024\u306f1\u301c127\u306a\u306e\u3067\u3001\u3053\u308c\u306f\u3061\u3087\u3063\u3068\u30c8\u30ea\u30c3\u30ad\u30fc\u304c\u611f\u3058\u304c\u3057\u307e\u3059\u304c\u3001\u30d5\u30a7\u30fc\u30c0\u30fc\u306e\u6700\u5f8c\u306b\u9001\u3063\u305f\u6570\u5024\u3092\u30e1\u30e2\u3057\u3066\u304a\u304f\u30e1\u30e2\u5e33\u307f\u305f\u3044\u306a\u3068\u3053\u308d\u306b\u308f\u3056\u3068\u66f8\u3044\u3066\u304a\u3044\u3066\u3001\u524d\u56de\u306e\u6700\u5f8c\u304b\u3089\u6570\u5024\u304c\u52d5\u3044\u305f\u6642\u3060\u3051\u65b0\u3057\u3044\u6570\u5024\u3092\u9001\u4fe1\u3059\u308b\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">const int<\/mark> THRESHOLD = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">2<\/mark>;<\/p>\n\n\n\n<p>\u3053\u308c\u304c\u81ea\u4f5c\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306b\u306f\u91cd\u8981\u306a1\u884c\u3067\u3059\u3002\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u7f6e\u3044\u3066\u3044\u308b\u30c7\u30b9\u30af\u304c\u52d5\u3044\u305f\u308a\u3001\u9375\u76e4\u3092\u5f3e\u3044\u305f\u632f\u52d5\u304c\u4f1d\u308f\u3063\u305f\u308a\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306f\u7d76\u3048\u305a\u5916\u90e8\u304b\u3089\u306e\u632f\u52d5\u306b\u6652\u3055\u308c\u3066\u308b\u3093\u3067\u3059\u306d\u3002\u305d\u308c\u304b\u3089\u7d4c\u5e74\u52a3\u5316\u3067\u30d5\u30a7\u30fc\u30c0\u30fc\u304c\u5c11\u3057\u52d5\u304d\u3084\u3059\u304f\u306a\u3063\u305f\u308a\u3082\u3057\u307e\u3059\u3088\u306d\uff1f90\u5e74\u4ee3\u301c2000\u5e74\u4ee3\u524d\u534a\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3063\u3066\u3053\u3053\u306e\u30b9\u30ec\u30c3\u30b7\u30e7\u30eb\u30c9\u306e\u8a2d\u5b9a\u304c\u3042\u307e\u304f\u3066\u3001\u6545\u969c\u3067\u306f\u306a\u3044\u3051\u3069\u3001\u81ea\u5206\u304c\u6c17\u304c\u4ed8\u304b\u306a\u3044\u3046\u3061\u306b\u4e0d\u5fc5\u8981\u304c\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u66f8\u304b\u308c\u3066\u3044\u305f\u3001\u3001\u3001\u306a\u3093\u3066\u3053\u3068\u3061\u3087\u3044\u3061\u3087\u3044\u3042\u3063\u305f\u3093\u3067\u3059\u3088\u306d\uff08\u6d99\uff09\u6700\u7d42\u7684\u306a\u7d44\u307f\u8fbc\u307f\u304c\u7d42\u308f\u3063\u3066\u3001\u3082\u3057\u8aa4\u52d5\u4f5c\u304c\u591a\u3044\u3088\u3046\u3060\u3063\u305f\u3089\u3053\u306e\u6570\u5024\u3092\u3042\u3052\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306f10\u30d3\u30c3\u30c8\u306e1024\u5206\u306e2\u3068\u304b3\u3067\u3059\u304b\u3089\u3001\u305d\u3053\u304b\u3089\u307e\u305f127\u306b\u843d\u3068\u3057\u8fbc\u3080\u4e8b\u3092\u8003\u3048\u308b\u3068\u5b9f\u4f5c\u696d\u306b\u306f\u5f71\u97ff\u304c\u306a\u3044\u3067\u3059\u3002\u3061\u306a\u307f\u306b\u3001const int\u306eint\u306e\u90e8\u5206\u306f\u6574\u6570\u306e\u82f1\u8a9e\u3001integer\u3067\u3059\u3002\u3067\u3059\u304b\u3089\u3001\u3053\u3046\u3044\u3046\u66f8\u304d\u65b9\u306e\u6570\u5024\u306f\u6574\u6570\u3057\u304b\u5165\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3001YouTube\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u89e3\u8aac\u3092\u3057\u3066\u3044\u308b\u65b9\u306e\u4e2d\u306b\u3001\u3053\u306eint\u3092\u300c\u30a4\u30f3\u30c8\u300d\u3068\u767a\u97f3\u3057\u3066\u308b\u65b9\u304c\u5c11\u306a\u304b\u3089\u305a\u3044\u307e\u3059\u304c\u3001int\u3068\u66f8\u3044\u3066\u3042\u3063\u3066\u3082\u53e3\u8a9e\u3067\u306f\u30a4\u30f3\u30c6\u30b8\u30e3\u30fc\u3068\u767a\u97f3\u3057\u3061\u3083\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">void<\/mark> setup() {<br>\/\/ Pro Micro\u672c\u4f53\u306eTX\/RX LED\u3092\u6d88\u706f\u3055\u305b\u308b\u304a\u307e\u307e\u3058\u306a\u3044<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">pinMode<\/mark>(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">17<\/mark>, INPUT); \/\/ RX LED<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">pinMode<\/mark>(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">30<\/mark>, INPUT); \/\/ TX LED<\/p>\n\n\n\n<p>\u3053\u306e\u884c\u306fMIDI\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068\u3057\u3066\u306e\u52d5\u4f5c\u306b\u306f\u95a2\u4fc2\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u5b9f\u306fArduino Pro Micro\u306b\u8f09\u3063\u3066\u3044\u308b\uff12\u3064\u306eLED\u306f\u30de\u30a4\u30b3\u30f3\u304c\u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u4fbf\u5229\u306a\u306e\u3067\u3059\u304c\u610f\u5916\u3068\u660e\u308b\u3044\u3093\u3067\u3059\u3002\u305d\u308c\u3067\u3069\u3093\u306a\u30b1\u30fc\u30b9\u306b\u5165\u308c\u308b\u304b\u306b\u3082\u3088\u308b\u306e\u3067\u3059\u304c\u3001LED\u306e\u5149\u304c\u6f0f\u308c\u306a\u3044\u3088\u3046\u306b\u3053\u3053\u3067\u6d88\u706f\u3055\u305b\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#cd97c9\" class=\"has-inline-color\">if<\/mark> (DEBUG_MODE) {<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">Serial.print<\/mark>(label);<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">Serial.print<\/mark>(&#8220;: RAW &#8220;);<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">Serial.print<\/mark>(rawValue);<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">Serial.print<\/mark>(&#8220;, CC &#8220;);<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">Serial.print<\/mark>(cc);<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">Serial.print<\/mark>(&#8220;, Val &#8220;);<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">Serial.print<\/mark>(midiValue);<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f29d17\" class=\"has-inline-color\">Serial.print<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">(<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">&#8221; \\t&#8221;<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">);<\/mark> \/\/ \u898b\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u30bf\u30d6\u3067\u30b9\u30da\u30fc\u30b9\u3092\u7a7a\u3051\u308b<br>}<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3053\u306e\u884c\u306f\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3068\u547c\u3070\u308c\u308b\u884c\u3067\u3001\u5148\u9031\u306e\u30ad\u30e3\u30ea\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u7528\u306e\u30b3\u30fc\u30c9\u3067\u4f7f\u3063\u3066\u30b3\u30fc\u30c9\u3068\u540c\u3058\u304f\u3001Arduino Pro Micro\u306e\u52d5\u4f5c\u3092\u6570\u5024\u3068\u3057\u3066\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30d1\u30fc\u30c4\u540c\u58eb\u306e\u63a5\u7d9a\u304c\u6b63\u3057\u304f\u3001\u7121\u4e8b\u306b\u5192\u982d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u304d\u308c\u3070\u3001\u5148\u9031\u3082\u7d39\u4ecb\u3057\u305f\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6570\u5024\u304c\u4e26\u3073\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1298\" height=\"1170\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-24.png\" alt=\"\" class=\"wp-image-17069\" style=\"width:1000px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-24.png 1298w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-24-888x800.png 888w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-24-768x692.png 768w\" sizes=\"auto, (max-width: 1298px) 100vw, 1298px\" \/><\/figure>\n\n\n\n<p>ABC\uff13\u672c\u306e\u30d5\u30a7\u30fc\u30c0\u30fc\u306eRAW\u30c7\u30fc\u30bf\u3064\u307e\u308a10\u30d3\u30c3\u30c8\u306e1024\u3001\u305d\u308c\u3092CC\u3007\u3007\u3067\u9001\u308a\u3001\u305d\u306eMIDI\u306eValue\u304c80\u3068\u304b\u3001127\u3068\u304b0\u3068\u898b\u3048\u307e\u3059\u306d\uff1f<\/p>\n\n\n\n<p>\u3053\u306e\u72b6\u614b\u3067\u65e2\u306bDAW\u5074\u306bMIDI CC\u30c7\u30fc\u30bf\u9001\u4fe1\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u3082\u3001\u5c11\u3057\u30c7\u30fc\u30bf\u304c\u8352\u3044\u3067\u3059\u3088\u306d\uff1f\u3053\u306e\u52d5\u4f5c\u78ba\u8a8d\u306e\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3092\u76ee\u8996\u3057\u3084\u3059\u3044\u3088\u3046\u306b81\u884c\u3081\u306edelay\u306e\u5024\u3092100\u306b\u3057\u3066\u3044\u308b\u3093\u3067\u3059\u3002<\/p>\n\n\n\n<p>\/\/ \u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u304c\u8aad\u307f\u3084\u3059\u3044\u3088\u3046\u306b\u3001\u5c11\u3057\u5f85\u6a5f\u6642\u9593\u3092\u9577\u304f\u3059\u308b<br>delay(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">100<\/mark>);<\/p>\n\n\n\n<p>\u30d5\u30a7\u30fc\u30c0\u30fc\u3092\u4e0a\u4e0b\u3055\u305b\u3066\u3001\u4e0b\u9650\u304c0\u3001\u4e0a\u9650\u304c127\u306b\u306a\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u305f\u3089\u3001\u3053\u306edelay\u306e\u5024\u309210\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u308c\u30671\u79d2\u9593\u306b100\u56de\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u4f4d\u7f6e\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3064\u307e\u308a10ms\u6bce\u306b\u30d5\u30a7\u30fc\u30c0\u30fc\u306e\u5024\u3092\u8aad\u3080\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3002\u305d\u308c\u304b\u3089\u30b1\u30fc\u30b9\u306b\u7d44\u307f\u8fbc\u3093\u3060\u5f8c\u306b\u3001<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#68bdc0\" class=\"has-inline-color\">const int<\/mark> THRESHOLD = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#73c7c9\" class=\"has-inline-color\">2<\/mark>;<\/p>\n\n\n\n<p>\u306e\u5024\u30921\u306b\u3057\u3066\u307f\u308b\u306e\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u30c7\u30b9\u30af\u3092\u53e9\u3044\u305f\u308a\u3001\u30b1\u30fc\u30b9\u3092\u5c11\u3057\u63fa\u3089\u3057\u3066\u3082CC\u3092\u8aa4\u9001\u4fe1\u3057\u306a\u3044\u306e\u304c\u3053\u306e\u30b9\u30ec\u30c3\u30b7\u30e7\u30eb\u30c9\u306e\u9069\u6b63\u5024\u3067\u3059\u30025\u304f\u3089\u3044\u3067\u3082\u5b9f\u4f5c\u696d\u306b\u306f\u554f\u984c\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3088\u3002\u5b9f\u969b\u306bCC\u306e\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u66f8\u3044\u3066\u8033\u3067\u5224\u65ad\u3059\u308b\u306e\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u6570\u5024\u3067\u898b\u3061\u3083\u3046\u3068\u3067\u304d\u308b\u3060\u3051\u6ed1\u3089\u304b\u306b\u3057\u305f\u304f\u306a\u308b\u6c17\u6301\u3061\u306f\u308f\u304b\u308a\u307e\u3059\u304c\u300150\u301c60\u306e\u30a4\u30f3\u30b9\u30c8\u30c8\u30e9\u30c3\u30af\u5168\u3066\u306b2\u301c4\u7a2e\u985e\u306eCC\u306e\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u66f8\u3044\u3066\u3044\u304f\u3068\u3001\u8ca0\u8377\u3082\u305d\u308c\u306a\u308a\u306b\u5897\u3048\u307e\u3059\u304b\u3089\u306d\u3002\u3082\u3063\u3068\u3082\u6700\u8fd1\u306eCPU\u30d1\u30ef\u30fc\u3060\u3063\u305f\u3089\u305d\u308c\u307b\u3069\u795e\u7d4c\u8cea\u306b\u306a\u3089\u306a\u304f\u3082\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3001\u3001\u3053\u306e\u8fba\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u306e\u3082DIY\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306e\u826f\u3044\u3068\u3053\u308d\u3067\u3059\u304b\u3089\u306d\uff01<\/p>\n\n\n\n<p>\u6765\u9031\u306f\u3044\u3088\u3044\u3088DIY\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u89e3\u8aac\u306e\u6700\u7d42\u56de\u3001\uff13D\u30d7\u30ea\u30f3\u30bf\u30fc\u3067\u5236\u4f5c\u3057\u305f\u30b1\u30fc\u30b9\u306b\u53ce\u3081\u308b\u89e3\u8aac\u3067\u3059\uff01\u71b1\u6eb6\u89e3\u7a4d\u5c64\u65b9\u5f0f3D\u30d7\u30ea\u30f3\u30bf\u30fc\u3067\u3001\u3069\u3046\u3044\u3046\u624b\u9806\u3067\u30b1\u30fc\u30b9\u3092\u4f5c\u308b\u304b\u3068\u305d\u306e\u6ce8\u610f\u70b9\u3092\u8aac\u660e\u3057\u307e\u301c\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"722\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/\u56f31adsga.png\" alt=\"\" class=\"wp-image-17070\" style=\"width:700px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/\u56f31adsga.png 850w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/\u56f31adsga-768x652.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u203b\u81ea\u8eab\u306e\u7d4c\u9a13\u306b\u57fa\u3065\u3044\u3066\u8a18\u8f09\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u30d1\u30fc\u30c4\u8cfc\u5165\/\u7d44\u7acb\u3066\u3084\u81ea\u4f5c\u6a5f\u306e\u5229\u7528\u3067\u751f\u3058\u308b\u3044\u304b\u306a\u308b\u30c8\u30e9\u30d6\u30eb\u3082\u8cac\u4efb\u306f\u8ca0\u3044\u304b\u306d\u307e\u3059\u3002\u5b9f\u65bd\u306b\u304a\u3044\u3066\u306f\u81ea\u5df1\u8cac\u4efb\u306e\u3053\u3068\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u30b7\u30ea\u30fc\u30ba\u8a18\u4e8b\u3010MIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u3011<\/p>\n\n\n\n<p><a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_41\">MIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u2460<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_42\">MIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u2461<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_43\">MIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u2462<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_44\">MIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u2463<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_45\">MIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u2464\uff5c\u6700\u7d42\u56de<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u307e\u3067\u306e\u3010MIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u3011 \u2192 \u521d\u56de\uff5c\u7b2c2\u56de\uff5c\u7b2c3\u56de \u305d\u308c\u3067\u306f\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u6700\u7d42\u30cf\u30f3\u30c0\u4ed8\u3051\u524d\u306e\u30c6\u30b9\u30c8\u3092\u3057\u307e\u3057\u3087\u3046\u3002\u524d\u56de\u306f\u30ef\u30cb\u53e3\u30af\u30ea\u30c3\u30d7\u3092\u4f7f\u3063\u305f\u5199\u771f\u3067\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3001\u4eca\u56de\u306f\u4e21\u30b5\u30a4\u30c9\u5171\u306b\u30e1\u30b9\u306e\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4\u3092&#8230;<\/p>\n","protected":false},"author":29,"featured_media":17685,"template":"","categories":[42],"class_list":["post-17060","paradise","type-paradise","status-publish","has-post-thumbnail","hentry","category-cat17"],"acf":[],"publishpress_future_action":{"enabled":false,"date":"2026-04-20 09:39:27","action":"change-status","newStatus":"private","terms":[],"taxonomy":"category"},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/paradise\/17060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/paradise"}],"about":[{"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/types\/paradise"}],"author":[{"embeddable":true,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/users\/29"}],"version-history":[{"count":19,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/paradise\/17060\/revisions"}],"predecessor-version":[{"id":17967,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/paradise\/17060\/revisions\/17967"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/media\/17685"}],"wp:attachment":[{"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/media?parent=17060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/categories?post=17060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}