{"id":17025,"date":"2025-08-22T11:08:00","date_gmt":"2025-08-22T02:08:00","guid":{"rendered":"https:\/\/store.miroc.co.jp\/magazine\/?post_type=paradise&#038;p=17025"},"modified":"2025-09-09T19:30:25","modified_gmt":"2025-09-09T10:30:25","slug":"segawa_shoten_43","status":"publish","type":"paradise","link":"https:\/\/store.miroc.co.jp\/magazine\/paradise\/segawa_shoten_43","title":{"rendered":"\u702c\u5ddd\u5546\u5e97 \u7b2c43\u56de\uff1aMIDI\u30b3\u30f3\u30fb\u30d0\u30ab\u4e00\u4ee3\u2462"},"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><\/p>\n\n\n\n<p>Arduino IDE\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7d42\u308f\u308a\u307e\u3057\u305f\u304b\uff1fArduino Pro Micro\u3082\u30b2\u30c3\u30c8\u3067\u304d\u305f\u3067\u3057\u3087\u3046\u304b\u3089\u3001Arduino IDE\u3068Arduino Pro Micro\u306e\u63a5\u7d9a\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u4e16\u754c\u3067\u306f\u3001\u3069\u3093\u306a\u8a00\u8a9e\u7fd2\u5f97\u3059\u308b\u306b\u3057\u3066\u3082\u307e\u305a\u201dHello World\u201d\u3068\u30d7\u30ea\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u305b\u308b\u306e\u306f\u805e\u3044\u305f\u3053\u3068\u3042\u308a\u307e\u3059\u304b\uff1fArduino\u306e\u4e16\u754c\u3067\u307e\u305a\u521d\u5fc3\u8005\u304c\u4e00\u756a\u6700\u521d\u306b\u8a66\u3059\u306e\u306f\u901a\u79f0\u300c\u30a8\u30eb\u30c1\u30ab\uff08L\u30c1\u30ab\uff09\u300d\u3068\u547c\u3070\u308c\u308b\u3001Arduino\u306b\u642d\u8f09\u3055\u308c\u3066\u3044\u308bLED\u3092\u30c1\u30ab\u30c1\u30ab\u3055\u305b\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/L_Chika.zip\">L_Chika\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><br>\u203bZIP\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308bL_Chika.ino\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059<\/p>\n\n\n\n<p>\u3053\u306eL-Chika\u306e\u30d5\u30a1\u30a4\u30eb\u3092Arduino IDE\u3067\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u3057\u3066\u3001Arduino Pro Micro\u3092USB\u3067Mac\u3084PC\u306b\u63a5\u7d9a\u3057\u307e\u3059\uff08Mac\u306e\u5834\u5408\u306fUSB\u30c7\u30d0\u30a4\u30b9\u3068\u8a8d\u8b58\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u304b\u3089\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u306e\u8a31\u53ef\u3092\u6c42\u3081\u3066\u304f\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u8a31\u53ef\u3057\u3066\u304f\u3060\u3055\u3044\uff09\u3002\u305d\u3057\u3066Arduino IDE\u306eTools\u304b\u3089\u3001Board\/Arduino AVR Boards\/Arduino Micro\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2000\" height=\"1681\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-16-2000x1681.png\" alt=\"\" class=\"wp-image-17033\" style=\"width:700px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-16-2000x1681.png 2000w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-16-952x800.png 952w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-16-768x646.png 768w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-16-1536x1291.png 1536w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-16-2048x1722.png 2048w\" sizes=\"auto, (max-width: 2000px) 100vw, 2000px\" \/><\/figure>\n\n\n\n<p>\u6b21\u306bBoard\u306e\u4e0b\u306ePort\u304b\u3089\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30c7\u30d0\u30a4\u30b9\u3092\u9078\u629e\u3057\u307e\u3059\u3002\/dev\/cu.usbmodem341301(Arduino Micro\uff09\u7684\u306a\u30c7\u30d0\u30a4\u30b9\u304c\u898b\u3048\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1762\" height=\"782\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-17.png\" alt=\"\" class=\"wp-image-17034\" style=\"width:700px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-17.png 1762w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-17-1244x552.png 1244w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-17-768x341.png 768w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-17-1536x682.png 1536w\" sizes=\"auto, (max-width: 1762px) 100vw, 1762px\" \/><\/figure>\n\n\n\n<p>\u305d\u308c\u3067\u306fFile\/Open\u304b\u3089L-Chika\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u304b\u306a\u308a\u8a73\u3057\u304f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\uff08\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u306e\u6ce8\u91c8\u3002\u5b9f\u884c\u3055\u308c\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306f\u5f71\u97ff\u304c\u51fa\u306a\u3044\u306e\u3067\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u7d30\u304b\u304f\u66f8\u3044\u3066\u884c\u3063\u305f\u65b9\u304c\u5c06\u6765\u7684\u306b\u306f\u601d\u3044\u51fa\u3057\u3084\u3059\u3044\u306f\u305a\uff09\u3092\u66f8\u3044\u305f\u306e\u3067\u3001\u305d\u308c\u3092\u8aad\u3081\u3070\u3060\u3044\u305f\u3044\u628a\u63e1\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3056\u3063\u3068\u8aac\u660e\u3059\u308b\u3068\u3001const int LED_PIN = 17; \u3068\u306fconst\uff08\u30b3\u30f3\u30b9\u30bf\u30f3\u30c8\u3001\u65e5\u5e38\u4f1a\u8a71\u306e\u30b3\u30f3\u30b9\u30bf\u30f3\u30c8\u3068\u610f\u5473\u306f\u540c\u3058\u3001\u5f7c\u306f\u30b3\u30f3\u30b9\u30bf\u30f3\u30c8\u306b\u6253\u73873\u5272\u3060\u306d\u3001\u7684\u306a\u610f\u5473\u306e\u30b3\u30f3\u30b9\u30bf\u30f3\u30c8\u3067\u3059\u3002\u3088\u304f\u300c\u5ba3\u8a00\u300d\u3068\u3082\u547c\u3073\u307e\u3059\uff09\u3068int\uff08\u30a4\u30f3\u30c6\u30b8\u30e3\u30fc\u3001\u65e5\u672c\u8a9e\u3067\u6574\u6570\u306e\u610f\u5473\u3067\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u4e2d\u3067\u306f\u5c0f\u6570\u70b9\u306e\u306a\u3044\u6570\u5b57\u3067\u3059\u3088\u3001\u306e\u610f\u5473\u3067\u3059\uff09\u3092\u4f7f\u3063\u3066\u300c\u4ee5\u4e0b\u201dLED_PIN\u201d\u3068\u66f8\u3044\u3066\u3042\u3063\u305f\u3089\u305d\u308c\u306f\u30d4\u30f317\u756a\u306b\u63a5\u7d9a\u3055\u308c\u305f\u3082\u306e\u3067\u3059\u3088\u300d\u3068\u3044\u3046\u5185\u5bb9\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p><br>\u305d\u306e\u4e0b\u306e\u5148\u9031\u3082\u89e3\u8aac\u3057\u305fvoid setup() {\u304b\u3089\u301c}\u307e\u3067\u306e\u4e2d\u306b\u51fa\u529b\u3084\u5165\u529b\u306e\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u3042\u308b\u308f\u3051\u3067\u3059\u3002\u3053\u306e\u5834\u5408\u306fLED_PIN, OUTPUT\u3068\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3001\u5148\u307b\u306917\u756a\u306b\u51fa\u529b\u306e\u547d\u4ee4\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3001\u306e\u610f\u5473\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u4e0b\u306evoid loop() {\u304b\u3089\u301c}\u307e\u3067\u306e\u4e2d\u306b\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u66f8\u304d\u8fbc\u3093\u3067\u3001\u305d\u308c\u3092\u96fb\u6e90\u304c\u5207\u308c\u308b\u307e\u3067\u305a\u3063\u3068Loop\u3055\u305b\u308b\u301c\u3068\u3044\u3046\u3053\u3068\u304c\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306f\u66f8\u3044\u3066\u3042\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u300eHigh\u3067\u51fa\u529b\u30aa\u30f3 \u2192 delay(1000)\u30d7\u30ed\u30b0\u30e9\u30e0\u30921\u79d2\u505c\u6b62\u3055\u305b\u3066 \u2192 LOW\u3067\u51fa\u529b\u30aa\u30d5 \u2192 delay(1000)\u3067\u307e\u305f1\u79d2\u505c\u6b62\u300f<\/p>\n\n\n\n<p>\u3053\u3046\u3057\u3066\u9806\u756a\u306b\u307f\u308b\u3068\u610f\u5916\u3068\u7c21\u5358\u305d\u3046\u3067\u3057\u3087\uff1f<\/p>\n\n\n\n<p>\u6b21\u306b\u3001\u30d1\u30fc\u30c4\u306e\u30ad\u30e3\u30ea\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7686\u3093\u306a\u3082\u77e5\u3063\u3066\u308b\u901a\u308a\u3001MIDI\u306e\u30c7\u30fc\u30bf\u3067\u97f3\u7a0b\u3082CC\u5024\u3082\u30d9\u30ed\u30b7\u30c6\u30a3\u30fc\u30820\u301c127\u306e128\u6bb5\u968e\u3060\u3088\u306d\uff1f\u3067\u3082\u826f\u304f\u3088\u304f\u8003\u3048\u308b\u3068\u30018\u30d3\u30c3\u30c8\u3060\u3063\u305f\u30892\u306e8\u4e57\u3067256\u3060\u3057\u30014\u30d3\u30c3\u30c8\u3060\u306816\u3067\u3001\u3053\u306e128\u3063\u3066\u3069\u3063\u304b\u3089\u6765\u3066\u3093\u3060\u3088\uff1f\u3063\u3066\u8a71\u306a\u3093\u3060\u3051\u3069\u3001MIDI\u3082\u5b9f\u969b\u306f8\u30d3\u30c3\u30c8\u3067\u30c7\u30fc\u30bf\u306e\u3084\u308a\u53d6\u308a\u3057\u3066\u308b\u3093\u3060\u3051\u3069\u3001\u6700\u521d\u306e1\u30d3\u30c3\u30c8\uff08\uff18\u30d3\u30c3\u30c8\u5185\u306e\u5148\u982d\uff09\u304c\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30a4\u30c8\u3068\u304b\u30c7\u30fc\u30bf\u30d0\u30a4\u30c8\u3063\u3066\u8a00\u3046\u3061\u3087\u3063\u3068\u30ab\u30c3\u30c1\u30e7\u30a4\u30a4\u540d\u524d\u304c\u3064\u3044\u3066\u3044\u3066\u3001\u305d\u308c\u304c\u30ce\u30fc\u30c8\u3092\u9cf4\u3089\u3059\u3068\u304bCC\u3092\u9001\u308b\u3068\u304b\u30d9\u30ed\u30b7\u30c6\u30a3\u3092\u9001\u308b\u301c\u7b49\u306e\u5408\u56f3\u306b\u306a\u3063\u3066\u308b\u306e\u3067\u3001\u305d\u308c\u3067\u6b8b\u308a\u306e7\u30d3\u30c3\u30c8\u3092CC\u5024\u3084\u97f3\u7a0b\u306e\u5024\u306b\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u30012\u306e7\u4e57\uff1d128\u6bb5\u968e\u306b\u306a\u3063\u3066\u308b\u3063\u3066\u308f\u3051\u3002\u3061\u306a\u307f\u306b\u4f55\u30672\u306eX\u4e57\u304b\u3063\u3066\u8a00\u3046\u3068\u30c7\u30b8\u30bf\u30eb\u306e\u4e16\u754c\u306f\u91cf\u5b50\u306e\u4e16\u754c\u3092\u5225\u306b\u3059\u308b\u3068\u30010\u30681\u3057\u304b\u306a\u3044\u304b\u3089\u201d2\u201d\u306b\u306a\u3063\u3066\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u4eca\u56de\u4f7f\u3063\u3066\u3044\u308bArduino\u306e\u30a2\u30ca\u30ed\u30b0\u30ea\u30fc\u30c9\u3068\u3044\u3046\u7aef\u5b50\uff08A0\u3068\u304bA1\u3068\u66f8\u3044\u3066\u3042\u308b\u7aef\u5b50\u306d\uff09\u306f10\u30d3\u30c3\u30c8\u3001\uff12\u306e10\u4e57\u3067\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u306e\u30671024\u6bb5\u968e\u3067\u30a2\u30ca\u30ed\u30b0\u5024\u3092\u30c7\u30b8\u30bf\u30eb\u5024\u306b\u5909\u63db\u3067\u304d\u307e\u3059\u3002<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">\u305f\u30601\u500b\u6570\u767e\u5186\u306e\u30d1\u30fc\u30c4\u306a\u306e\u3067\u30d5\u30c4\u30fc\u306b\u500b\u4f53\u5dee\u304c\u3042\u308b\u3093\u3067\u3059\u3002<\/mark>\u3067\u3059\u304b\u3089\u3001\u4e00\u5fdc\u5ff5\u306e\u305f\u3081\u306b\u30ad\u30e3\u30ea\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u8a00\u3063\u3066\u3001\u5b9f\u969b\u306b\u4f7f\u3046\u30b9\u30e9\u30a4\u30c0\u62b5\u6297\u306e\u5024\u3092Arduino\u304c\u5e7e\u3064\u3067\u8aad\u307f\u53d6\u308c\u308b\u306e\u304b\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3093\u3067\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/Callibration_single.zip\">Calibration_Test\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\u308bCallibration_single.ino\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2000\" height=\"772\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-18-2000x772.png\" alt=\"\" class=\"wp-image-17037\" style=\"width:700px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-18-2000x772.png 2000w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-18-1244x480.png 1244w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-18-768x297.png 768w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-18-1536x593.png 1536w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-18-2048x791.png 2048w\" sizes=\"auto, (max-width: 2000px) 100vw, 2000px\" \/><\/figure>\n\n\n\n<p>\u8cb7\u3063\u3066\u304d\u305f\u30b9\u30e9\u30a4\u30c0\u62b5\u6297\u3092\u3072\u3063\u304f\u308a\u8fd4\u3059\u3068\u3053\u3093\u306a\u98a8\u306b\u898b\u3048\u307e\u3059\u306d\u3002\u5de6\u306e\uff11\u306e\u5de6\u306e\u7aef\u5b50\u3092\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306e+\u3078\u63a5\u7d9a\u30012\u306e\u5de6\u306e\u7aef\u5b50\u304c\u62b5\u6297\u5024\u3092\u9001\u4fe1\u3059\u308b\u305f\u3081\u306e\u7aef\u5b50\u3067\u3059\u3002\u305d\u3057\u3066\u53f3\u306e3\u306e\u7aef\u5b50\u3092\u30fc\uff08\u30de\u30a4\u30ca\u30b9\uff09\u3068\u304bGND\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"364\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/081500.png\" alt=\"\" class=\"wp-image-17041\" style=\"width:1000px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/081500.png 850w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/081500-768x329.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"652\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-19.png\" alt=\"\" class=\"wp-image-17044\" style=\"width:700px\"\/><\/figure>\n\n\n\n<p>\u4e0a\u306eArduino Pro Micro\u306e\u30d4\u30f3\u914d\u7f6e\u3092\u78ba\u8a8d\u3057\u3066\u3082\u3089\u3063\u3066\u3001\u53f3\u306eA0\u3068\u304bA1\u3068\u7dd1\u306e\u30de\u30fc\u30af\u304c\u30a2\u30ca\u30ed\u30b0\u30ea\u30fc\u30c9\u7528\u306e\u7aef\u5b50\u3002VCC\u304c\u96fb\u6e90\u306e\u4f9b\u7d66\u7528\u3001GND\u306f\u30b0\u30e9\u30a6\u30f3\u30c9\u3001\u3064\u307e\u308a\u30de\u30a4\u30ca\u30b9\u5074\u306e\u7aef\u5b50\u306d\u3002\u4eca\u56de\u306f3\u3064\u306e\u30d5\u30a7\u30fc\u30c0\u30fc\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u5236\u4f5c\u3092\u76ee\u6307\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4f7f\u7528\u3059\u308b\u306e\u306fA0\u3001A1\u3001A2\u3068VCC\u3068GND\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3068\u30b9\u30e9\u30a4\u30c0\u62b5\u6297\u306e\u63a5\u7d9a\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\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=\"1452\" height=\"1206\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-20.png\" alt=\"\" class=\"wp-image-17046\" style=\"width:700px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-20.png 1452w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-20-963x800.png 963w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-20-768x638.png 768w\" sizes=\"auto, (max-width: 1452px) 100vw, 1452px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u56f3\u306e\u7dd1\u306e\u30ea\u30fc\u30c9\u7dda\u304c\u30b9\u30e9\u30a4\u30c0\u62b5\u6297\u306e2\u756a\u304b\u3089Arduino\u306eA0\u3078\u63a5\u7d9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5b9f\u969b\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3001\u6c17\u304c\u3064\u304f\u3068\u30af\u30ea\u30c3\u30d7\u304c\u5916\u308c\u3066\u305f\u308a\u3068\u304b\u826f\u304f\u3042\u308a\u307e\u3059\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=\"606\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/08151W124.png\" alt=\"\" class=\"wp-image-17048\" style=\"width:700px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/08151W124.png 850w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/08151W124-768x548.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/figure>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u914d\u7dda\u3067\u304d\u305f\u3089\u5148\u307b\u3069\u306e\u300cCalibration_Test\u300d\u3092Arduino\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u306b<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">Serial.println<\/mark>(rawValue);<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u884c\u304c\u3042\u308b\u3093\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u30a2\u30ca\u30ed\u30b0\u3067\u8aad\u307f\u51fa\u3057\u305f\u5024\u3092\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3068\u3057\u3066USB\u7d4c\u7531\u3067Arduino IDE\u3078\u8ee2\u9001\u3057\u3066\u3044\u307e\u3059\u3002IDE\u306e\u4e0b\u306e\u65b9\u306b\u51fa\u529b\u3068\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3068\u66f8\u3044\u3066\u3042\u308b\u90e8\u5206\u304c\u898b\u3048\u308b\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u3082\u3057\u898b\u3048\u306a\u3051\u308c\u3070IDE\u306e\u53f3\u4e0a\u306b\u866b\u773c\u93e1\u306e\u3088\u3046\u306a\u30dc\u30bf\u30f3\u304c\u3042\u308b\u306e\u3067\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u898b\u3048\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"238\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-21.png\" alt=\"\" class=\"wp-image-17049\" style=\"width:700px\"\/><\/figure>\n\n\n\n<p>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u7d42\u308f\u308b\u3068\u76f4\u3050\u306b\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u73fe\u5728\u306e\u62b5\u6297\u5024\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u4e0a\u4e0b\u3059\u308b\u3068\u591a\u52060\u304b1\u304b\u30891014\u301c1017\u306e\u9593\u306e\u6570\u5b57\u304c\u52d5\u304f\u306e\u304c\u898b\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3060\u3044\u305f\u3044\u3053\u306e\u5024\u6bb5\u306e\u30d1\u30fc\u30c4\u304b\u3089\u306e\u5024\u306f\u3053\u308c\u3050\u3089\u3044\u3067\u3059\u3002\u3053\u306e\u6570\u5b57\u306f\u3069\u3053\u304b\u306b\u30e1\u30e2\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u3057\u3066\u4eca\u56de\u4f7f\u3046\uff13\u3064\u306e\u30b9\u30e9\u30a4\u30c0\u62b5\u6297\u306b\u95a2\u3057\u3066\u5168\u3066\u30c6\u30b9\u30c8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u540c\u3058\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u8cb7\u3063\u305f\u30d1\u30fc\u30c4\u306a\u3089\u3070\u30e0\u30e9\u304c\u3042\u3063\u3066\u3082\uff13\u3068\u304b\uff14\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"974\" height=\"546\" src=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-22.png\" alt=\"\" class=\"wp-image-17050\" style=\"width:700px\" srcset=\"https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-22.png 974w, https:\/\/store.miroc.co.jp\/magazine\/wp-content\/uploads\/2025\/08\/image-22-768x431.png 768w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/figure>\n\n\n\n<p>MIDI\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3068\u3057\u3066\u4f7f\u3046\u5834\u5408\u306f\u3053\u306e0\u304b\u30891014\u306e\u5024\u3092MIDI\u306eCC\u5024\u3067\u4f7f\u30460\u304b\u3089127\u306b\u843d\u3068\u3057\u8fbc\u3093\u3067\u4f7f\u3046\u306e\u3067\u3001\u3053\u306e\u4e0a\u9650\u306e\u30e0\u30e9\uff081024\u307e\u3067\u5c4a\u304b\u306a\u3044\uff09\u3084\u30d1\u30fc\u30c4\u306e\u500b\u4f53\u5dee\u306f\u3042\u307e\u308a\u6c17\u306b\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3067\u3059\u3088\u3002\u6765\u9031\u7d39\u4ecb\u3059\u308b\u6700\u7d42\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u3067\u305d\u306e\u8fba\u306e\u30e0\u30e9\u306f\u88dc\u6b63\u3057\u307e\u3059\u304b\u3089\u3002<\/p>\n\n\n\n<p>\u3053\u306e10\u30d3\u30c3\u30c8\u306e\u30a2\u30ca\u30ed\u30b0\u30ea\u30fc\u30c9\u3067\u8aad\u307f\u53d6\u3063\u305f1024\u6bb5\u968e\u3092MIDI\u3067\u4f7f\u3046128\u6bb5\u968e\u306b\u843d\u3068\u3057\u8fbc\u3080\u969b\u306e\u4e00\u756a\u30b7\u30f3\u30d7\u30eb\u306a\u8003\u3048\u65b9\u306f\u3056\u3063\u304f\u308a8\u3067\u5272\u3063\u3066MIDI\u7528\u306e\u5024\u306b\u3059\u308b\u3001\u306a\u3093\u3067\u3059\u3002\u3042\u307e\u308a\u8208\u5473\u304c\u306a\u3051\u308c\u3070\u305d\u3046\u3044\u3046\u8a8d\u8b58\u3067\u3082\u65e5\u5e38\u751f\u6d3b\u306b\u306f\u652f\u969c\u306f\u306a\u3044\u3067\u3059\uff08\u7b11\uff09\u3082\u3046\u5c11\u3057\u8a73\u3057\u304f\u89e3\u8aac\u3059\u308b\u3068\u3001\u6765\u9031<br>\u4f7f\u3046\u30b3\u30fc\u30c9\u306b\u51fa\u3066\u304f\u308b\u4ee5\u4e0b\u306e\u90e8\u5206\u3067\u30ad\u30e3\u30ea\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u5f97\u305f\u4e0b\u9650\u3068\u4e0a\u9650\u306e\u5024\u30920\u301c127\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3066\u308b\u3093\u3067\u3059\u3002<\/p>\n\n\n\n<p>int midiValue = map(rawValue, FADER_RAW_MIN, FADER_RAW_MAX, 0, 127);<\/p>\n\n\n\n<p>\u3053\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u5fdc\u7528\u3057\u305f\u4f8b\u304cMIDI\u30ad\u30fc\u30dc\u30fc\u30c9\u306b\u4ed8\u3044\u3066\u3044\u308b\u30e2\u30b8\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30db\u30a4\u30fc\u30eb\u3084\u30d4\u30c3\u30c1\u30d9\u30f3\u30c9\u306e\u30db\u30a4\u30fc\u30eb\u3067\u3059\u3002\u305d\u308c\u3089\u306b\u4f7f\u3063\u3066\u3044\u308b\u90e8\u54c1\u306f\u3088\u304f\u3042\u308b\u30dc\u30ea\u30e5\u30fc\u30e0\u30ce\u30d6\u3067\uff08\u30b7\u30f3\u30bb\u306e\u30ce\u30d6\u7b49\u3068\u540c\u3058\uff09\u53ef\u52d5\u57df\u306f280\u5ea6\u304b\u3089300\u5ea6\u304f\u3089\u3044\u3067\u3059\u304c\u3001\u30e2\u30b8\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30db\u30a4\u30fc\u30eb\u306f\u3060\u3044\u305f\u304490\u5ea6\u306a\u306e\u3067\u3001<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">\u5b9f\u969b\u306e\u53ef\u52d5\u57df\u306e\u4e00\u90e8\uff081024\u6bb5\u968e\u306e\u3046\u3061\u306e300\u304b\u3089800\u3068\u304b\uff09\u306e\u5024\u30920\u304b\u3089127\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3066\u50d5\u3089\u306f\u6bce\u65e5\u4f7f\u3063\u3066\u308b\u3063\u3066\u308f\u3051\u3067\u3059\u3002<\/mark>\u3053\u306e\u8fba\u306f\u30b7\u30f3\u30bb\u306e\u30ce\u30d6\u985e\u305d\u308c\u305e\u308c\u306e\u5f79\u5272\u306b\u5408\u308f\u305b\u3066\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3066\u3042\u308b\u3093\u3067\u3059\u306d\u3002\u305d\u308c\u3092\u77e5\u3063\u305f\u4e0a\u3067\u30b7\u30f3\u30bb\u3092\u4f7f\u3046\u3068\u3001\u3042\u301c\u305d\u3046\u304b\u306a\u308b\u307b\u3069\u3068\u611f\u3058\u308b\u6a5f\u4f1a\u3082\u5897\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3088\uff01<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3053\u306e\u201dmap\u201d\u3068\u3044\u3046\u95a2\u6570\u306f\u306a\u304b\u306a\u304b\u4fbf\u5229\u3067\u5148\u307b\u3069\u306e\u6700\u5f8c\u306e\u884c\u3092127, 0\u3068\u5165\u308c\u66ff\u3048\u308b\u3068<\/p>\n\n\n\n<p>int midiValue = map(rawValue, FADER_RAW_MIN, FADER_RAW_MAX, 127, 0);<\/p>\n\n\n\n<p>\u9006\u5411\u304d\u306e127\u301c0\u3068\u3044\u3046\u5909\u5316\u3067CC\u5024\u3092\u751f\u6210\u3067\u304d\u308b\u3093\u3067\u3059\u3002DJ\u306e\u30af\u30ed\u30b9\u30d5\u30a7\u30fc\u30c0\u30fc\u306e\u3088\u3046\u306b\u3001\u7247\u65b9\u3092\u4e0a\u3052\u308b\u3068\u3082\u3046\u7247\u65b9\u304c\u4e0b\u304c\u308b\u307f\u305f\u3044\u306a\u52d5\u304d\u304c\u5fc5\u8981\u306a\u6642\u306f\u3053\u308c\u3092\u4f7f\u3063\u3066\u308b\u3093\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u95a2\u6570\u306b\u3064\u3044\u3066\u3001\u30b8\u30e5\u30fc\u30b9\u306e\u81ea\u52d5\u8ca9\u58f2\u6a5f\u306b\u5165\u308c\u308b\u304a\u91d1\u304c\u30b9\u30e9\u30a4\u30c0\u62b5\u6297\u304b\u3089\u306e\u300c\u5f15\u6570\u300d\u3067\u3001\u51fa\u3066\u304d\u305f\u30b8\u30e5\u30fc\u30b9\u304c\u95a2\u6570\u306e\u300c\u623b\u308a\u5024\u300d\u3068\u3044\u3046\u8aac\u660e\u304c\u3069\u3053\u304b\u306b\u3042\u308a\u307e\u3057\u305f\u3051\u3069\u3001\u30b9\u30e9\u30a4\u30c0\u62b5\u6297\u304b\u3089\u30b2\u30c3\u30c8\u3057\u305f\u300c\u5f15\u6570\u300d\u3092MIDI CC\u306e\u300c\u623b\u308a\u5024\u300d\u3068\u3057\u3066\u8fd4\u3059\u306e\u304c\u201dmap\u201d\u3068\u3044\u3046\u95a2\u6570\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u3055\u3066\u6765\u9031\u3044\u3088\u3044\u3088\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u3067\u6700\u7d42\u7684\u306a\u7d44\u307f\u8fbc\u307f\u304b\u3089\u301c\u306e\u3001\u534a\u7530\u4ed8\u3051\u304b\u3089\u301c\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u3059\uff01<\/p>\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 Arduino IDE\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7d42\u308f\u308a\u307e\u3057\u305f\u304b\uff1fArduino Pro Micro\u3082\u30b2\u30c3\u30c8\u3067\u304d\u305f\u3067\u3057\u3087\u3046\u304b\u3089\u3001Arduino IDE\u3068Arduino Pro &#8230;<\/p>\n","protected":false},"author":29,"featured_media":17334,"template":"","categories":[42],"class_list":["post-17025","paradise","type-paradise","status-publish","has-post-thumbnail","hentry","category-cat17"],"acf":[],"publishpress_future_action":{"enabled":false,"date":"2026-04-20 10:58:21","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\/17025","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":25,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/paradise\/17025\/revisions"}],"predecessor-version":[{"id":17968,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/paradise\/17025\/revisions\/17968"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/media\/17334"}],"wp:attachment":[{"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/media?parent=17025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/store.miroc.co.jp\/magazine\/wp-json\/wp\/v2\/categories?post=17025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}