{"id":2016,"date":"2019-05-07T13:44:18","date_gmt":"2019-05-07T04:44:18","guid":{"rendered":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/?p=2016"},"modified":"2021-03-23T18:38:55","modified_gmt":"2021-03-23T09:38:55","slug":"ble-midi-01","status":"publish","type":"post","link":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/2019\/05\/ble-midi-01\/","title":{"rendered":"BLE MIDI\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\uff08\uff11\uff09"},"content":{"rendered":"<p><!--:ja--><span style=\"font-size: small;\">\u3054\u3076\u3055\u305f\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u4e00\u5e74\u3076\u308a\u306eblog\u66f4\u65b0\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">BLE-MIDI\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u4f5c\u6210\u7de8\u3001\u7b2c\u4e00\u56de\u3067\u3059\u3002<\/span><\/p>\n<h2>1. \u306f\u3058\u3081\u306b<\/h2>\n<p><span style=\"font-size: small;\">ESP-32\u3067\u306fWiFi\u306b\u52a0\u3048\u3001Bluetooth\u3092\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u6628\u5e74\u306fWiFi\u7d4c\u7531\u3067OSC\u3067\u901a\u4fe1\u3092\u884c\u3044\u307e\u3057\u305f\u304c\u3001BLE-MIDI\u3092\u4f7f\u3046\u3068\u3088\u308a\u30b7\u30f3\u30d7\u30eb\u306a\u69cb\u6210\u306eMIDI\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u304c\u4f5c\u6210\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/ble-midi-ms.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-2024\" title=\"ble-midi-ms\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/ble-midi-ms-400x300.jpg\" alt=\"ble-midi-ms\" width=\"400\" height=\"300\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/ble-midi-ms-400x300.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/ble-midi-ms.jpg 1000w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: small;\">BLE-MIDI\u30c7\u30d0\u30a4\u30b9\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u8a66\u3057\u305f\u7d50\u679c\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/span><!--more--><\/p>\n<h2>2. \u958b\u767a\u74b0\u5883<\/h2>\n<p><span style=\"font-size: small;\">ESP-32\u306e\u958b\u767a\u74b0\u5883\u3068\u3057\u3066\u306f\u3001ESP-IDF\u3068Arduino ESP-32\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/espressif\/esp-idf\"><span style=\"font-size: small;\">ESP-IDF<\/span><\/a><\/li>\n<li><span style=\"font-size: small;\"><a href=\"https:\/\/github.com\/espressif\/arduino-esp32\">Arduino\u00a0 core for ESP32 WiFi Chip<\/a><br \/>\n<\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: small;\">BLE\u95a2\u4fc2\u306e\u30c9\u30e9\u30a4\u30d0\u306f\u5171\u901a\u306a\u306e\u3067\u3069\u3061\u3089\u3082\u4f7f\u3048\u307e\u3059\u3002Arduino\u306e\u65b9\u304c\u8a2d\u5b9a\u304c\u697d\u306a\u306e\u3067\u3067\u304d\u308c\u3070Arduino\u3092\u512a\u5148\u3057\u3066\u4f7f\u3044\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u305f\u3060\u3057\u3001\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u983b\u7e41\u306a\u305f\u3081\u53e4\u3044\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3060\u3068\u52d5\u304b\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u958b\u767a\u74b0\u5883\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u3069\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">BLE\u306e\u958b\u767a\u5143\u306f\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/nkolban\/esp32-snippets\"><span style=\"font-size: small;\">https:\/\/github.com\/nkolban\/esp32-snippets<\/span><\/a><\/p>\n<p><span style=\"font-size: small;\">\u3053\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u306f\u3044\u308d\u3044\u308d\u5165\u3063\u3066\u3044\u3066\u5206\u304b\u308a\u3065\u3089\u3044\u306e\u3067\u3059\u304c\u3001BLE\u95a2\u4fc2\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/nkolban\/esp32-snippets\/tree\/master\/cpp_utils\"><span style=\"font-size: small;\">https:\/\/github.com\/nkolban\/esp32-snippets\/tree\/master\/cpp_utils<\/span><\/a><\/p>\n<p><span style=\"font-size: small;\">\u203bArduino ESP32\u3084ESP-IDF\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u3053\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5165\u308c\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u5834\u5408\u306b\u306f\u3001Issue\u3092\u53c2\u7167\u3057\u3066\u307f\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/nkolban\/esp32-snippets\/issues\"><span style=\"font-size: small;\">https:\/\/github.com\/nkolban\/esp32-snippets\/issues<\/span><\/a><\/p>\n<h2>3.BLE-MIDI\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/h2>\n<p><span style=\"font-size: small;\">BLE-MIDI\u3092\u4f7f\u3046\u305f\u3081\u306b\u306f\u3001BLE\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u3001\u30c7\u30d0\u30a4\u30b9\u5074\u3067\u6b21\u306e\u5024\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">MIDI_SERVICE_UUID\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;03b80e5a-ede8-4b33-a751-6ce34ec4c700&#8221;<br \/>\nMIDI_CHARACTERISTIC_UUID &#8220;7772e5db-3868-4112-a1a9-f2669d106bf3&#8221;<\/span><\/p>\n<p><span style=\"font-size: small;\">macOSX\u306e\u5834\u5408\u3001\u30c7\u30d0\u30a4\u30b9\u3068\u306e\u30da\u30a2\u30ea\u30f3\u30b0\u306b\u306fMIDI studio\u3092\u4f7f\u3044\u6b21\u306e\u3088\u3046\u306a\u624b\u9806\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><a href=\"https:\/\/developer.apple.com\/library\/archive\/qa\/qa1831\/_index.html\"><span style=\"font-size: small;\">https:\/\/developer.apple.com\/library\/archive\/qa\/qa1831\/_index.html<\/span><\/a><\/p>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/midi-studio-macOSX.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-2034\" title=\"midi-studio-macOSX\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/midi-studio-macOSX-400x181.jpg\" alt=\"midi-studio-macOSX\" width=\"400\" height=\"181\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/midi-studio-macOSX-400x181.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/midi-studio-macOSX.jpg 963w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p><span style=\"font-size: small;\">\u307e\u305f\u3001iOS\u3067\u3082\u300c\u8a2d\u5b9a\u300d\u300cBluetooth\u300d\u304b\u3089\u30da\u30a2\u30ea\u30f3\u30b0\u304c\u5fc5\u8981\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">macOSX, iOS\u5171\u306b\u3001\u4e00\u5ea6\u63a5\u7d9a\u304c\u5207\u308c\u308b\u3068\u81ea\u52d5\u3067\u518d\u63a5\u7d9a\u3055\u308c\u306a\u3044\u4ed5\u69d8\u306e\u3088\u3046\u3067\u3059\u3002\u518d\u5ea6\u540c\u3058\u624b\u9806\u3067\u63a5\u7d9a\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<h2>4. Examples<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u53c2\u8003\u306b\u3057\u3066\u3001\u30dc\u30bf\u30f3\u62bc\u4e0b\u3067Note On\/Off\u3092\u9001\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u3044\u52d5\u4f5c\u306e\u78ba\u8a8d\u3092\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/neilbags\/arduino-esp32-BLE-MIDI\">https:\/\/github.com\/neilbags\/arduino-esp32-BLE-MIDI<\/a><\/p>\n<p>\u62d9\u4f5c<a href=\"https:\/\/github.com\/kuwatay\/ESP32-BB\">ESP32\u57fa\u677f<\/a>\u306b\uff15\u30dc\u30bf\u30f3\u306e\u30b7\u30fc\u30eb\u30c9\u3092\u4f7f\u3044\u3001Arduino 1.8.8 + ESP32 1.0.1\u3067\u52d5\u4f5c\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>macOSX\u306eGarageBand, iOS\u306eMusic Studio, bs-16i, TouchOSC\u3067\u52d5\u4f5c\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/ble-midi-gb02.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-2023\" title=\"ble-midi-gb02\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/ble-midi-gb02-400x300.jpg\" alt=\"ble-midi-gb02\" width=\"400\" height=\"300\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/ble-midi-gb02-400x300.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2019\/05\/ble-midi-gb02.jpg 1000w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u78ba\u8a8d\u306b\u4f7f\u3063\u305f\u30b3\u30fc\u30c9\u306f\u3001\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u7f6e\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/kuwatay\/ble-midi\">https:\/\/github.com\/kuwatay\/ble-midi<\/a><\/p>\n<h2>5. \u4eca\u5f8c\u306e\u4e88\u5b9a<\/h2>\n<p>BLE-MIDI\u3067ESP32\u304b\u3089\u4fe1\u53f7\u304c\u9001\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u4ee5\u4e0b\u306e\u9805\u76ee\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>BLE-MIDI\u7d4c\u7531\u306e\u4fe1\u53f7\u53d7\u4fe1<\/li>\n<li>\u30b9\u30c6\u30c3\u30d7\u30b7\u30fc\u30b1\u30f3\u30b5\u306e\u79fb\u690d<\/li>\n<li>\u30d0\u30c3\u30c6\u30ea\u30fc\u99c6\u52d5\u5316\uff08\u57fa\u677f\u4f5c\u6210\uff1f\uff09<\/li>\n<li>Windows 10\u306a\u3069\u4ed6\u306e\u74b0\u5883\u3067\u306e\u52d5\u4f5c\u78ba\u8a8d<\/li>\n<li>\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u30c7\u30d0\u30a4\u30b9\u5316(WiFi + BLE)<\/li>\n<\/ul>\n<p>\u307e\u305f\u3001@tadfmac\u3055\u3093\u4f5c\u6210\u4e2d\u306e\u300c\u30b3\u30cd\u30af\u30bf\u30d6\u30eb\u30fb\u30df\u30e9\u30fc\u300d\u3068\u63a5\u7d9a\u3059\u308b\u4e88\u5b9a\u3067\u3059\u306e\u3067\u3001\u63a5\u7d9a\u65b9\u6cd5\u3092\u691c\u8a0e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>(To Be Continued)<!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3054\u3076\u3055\u305f\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u4e00\u5e74\u3076\u308a\u306eblog\u66f4\u65b0\u3067\u3059\u3002 BLE-MIDI\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u4f5c\u6210\u7de8\u3001\u7b2c\u4e00\u56de\u3067\u3059\u3002 1. \u306f\u3058\u3081\u306b ESP-32\u3067\u306fWiFi\u306b\u52a0\u3048\u3001Bluetooth\u3092\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002 \u6628\u5e74\u306fWiFi\u7d4c\u7531\u3067OSC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,21],"tags":[],"_links":{"self":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/2016"}],"collection":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/comments?post=2016"}],"version-history":[{"count":23,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/2016\/revisions"}],"predecessor-version":[{"id":2056,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/2016\/revisions\/2056"}],"wp:attachment":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/media?parent=2016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/categories?post=2016"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/tags?post=2016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}